Use of ARB_fragment_program_100
James Trotter
james.trotter at gmail.com
Sun Apr 23 15:19:58 CDT 2006
On 4/23/06, Phil Costin <philcostin at hotmail.com> wrote:
>
> Hi,
>
> This is marked as a TODO at line 1698 of dlls/wined3d/directx.c:
>
> 1691 if ((wined3d_settings.ps_mode == PS_HW) &&
> GL_SUPPORT(ARB_FRAGMENT_PROGRAM) && (DeviceType != WINED3DDEVTYPE_REF)) {
> 1692 *pCaps->PixelShaderVersion = D3DPS_VERSION(1,4);
> 1693 *pCaps->PixelShader1xMaxValue = 1.0;
> 1694 } else {
> 1695 *pCaps->PixelShaderVersion = 0;
> 1696 *pCaps->PixelShader1xMaxValue = 0.0;
> 1697 }
> 1698 /* TODO: ARB_FRAGMENT_PROGRAM_100 */
> 1699
> 1700 /* ------------------------------------------------
> 1701 The following fields apply to d3d9 only
> 1702 ------------------------------------------------ */
> 1703 if (This->dxVersion > 8) {
>
>
> Despite remembering seeing this extension somewhere in the past, I can not
> actually find any information relating to it by searching the web. I
> assume
> that this is likely to need replacing with a
> GL_SUPPORT(ARB_FRAGMENT_SHADER) as per line 1691 for pixel shaders > 1.4
>
> There is probably a good reason for this line and I don't want to jump the
> gun and mess with anyone's plans by submitting patches yet.
>
> Are there definite plans to use this extension here? If so, is there any
> documentation for it because I certainly can't find any...
>
> Regards,
> Phil Costin
>
>
>
> On 4/23/06, Phil Costin <philcostin at hotmail.com> wrote:
>
> Hi,
>
> This is marked as a TODO at line 1698 of dlls/wined3d/directx.c:
>
> 1691 if ((wined3d_settings.ps_mode == PS_HW) &&
> GL_SUPPORT(ARB_FRAGMENT_PROGRAM) && (DeviceType != WINED3DDEVTYPE_REF)) {
> 1692 *pCaps->PixelShaderVersion = D3DPS_VERSION(1,4);
> 1693 *pCaps->PixelShader1xMaxValue = 1.0;
> 1694 } else {
> 1695 *pCaps->PixelShaderVersion = 0;
> 1696 *pCaps->PixelShader1xMaxValue = 0.0;
> 1697 }
> 1698 /* TODO: ARB_FRAGMENT_PROGRAM_100 */
> 1699
> 1700 /* ------------------------------------------------
> 1701 The following fields apply to d3d9 only
> 1702 ------------------------------------------------ */
> 1703 if (This->dxVersion > 8) {
>
>
> Despite remembering seeing this extension somewhere in the past, I can not
> actually find any information relating to it by searching the web. I
> assume
> that this is likely to need replacing with a
> GL_SUPPORT(ARB_FRAGMENT_SHADER) as per line 1691 for pixel shaders > 1.4
>
> There is probably a good reason for this line and I don't want to jump the
> gun and mess with anyone's plans by submitting patches yet.
>
> Are there definite plans to use this extension here? If so, is there any
> documentation for it because I certainly can't find any...
>
> Regards,
> Phil Costin
>
>
>
>
Hi.
I haven't looked at the code, but maybe it's the ARB_shading_language_100
extension that was intended?
(http://oss.sgi.com/projects/ogl-sample/registry/ARB/shading_language_100.txt
)
James D. Trotter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20060423/848223be/attachment.htm
More information about the wine-devel
mailing list