Use of ARB_fragment_program_100

Phil Costin philcostin at hotmail.com
Sun Apr 23 10:47:58 CDT 2006


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




More information about the wine-devel mailing list