wined3d PS 2.0/TexMem/Config Window Patch

Brian Hill dcatz at nc.rr.com
Sat Feb 4 18:23:18 CST 2006


It's possible to do a rough auto-detect.

General rule of thumb :

ARB_FRAGMENT_PROGRAM = ~1.4
ARB_SHADER_LANGUAGE_100/GLSL = >= 2.0

This does not, however, take into account vendor specific shader extensions.

H. Verbeet wrote:

>On 04/02/06, Vitaliy Margolen <wine-devel at kievinfo.com> wrote:
>  
>
>>>+          default      :
>>>+             WARN("Invalid Pixel Shader version %d",wined3d_settings.ps_mode);
>>>+             break;
>>>      
>>>
>>Default should be NONE.
>>
>>    
>>
>>>+               if (!strcmp(buffer,"default"))
>>>+               {
>>>+                   TRACE("Allow pixel shaders version 1.4\n");
>>>+                   wined3d_settings.ps_mode = PS_14;
>>>+               }
>>>      
>>>
>>I would drop default and make it "auto-detect" and make it default
>>instead.
>>    
>>
>Although that would be nice, I don't think we can autodetect the
>supported PS version yet.
>
>
>  
>




More information about the wine-devel mailing list