În ziua de Mar 18 Noi 2014, la 17:22:35, Matteo Bruni a scris:
Modifying that SM4 check is fine but we'd still require GLSL 1.50 and that means the check is still going to fail with those drivers. In theory we could also tone it down and e.g. only look for the SM4-level features supported by all the drivers but I'm not sure the end result would make a lot of sense.
I'm not saying t modify the SM4 check in the glsl backend, that one needs to make sure the driver exposes everything needed for converting all features of DX10. I was thinking of adding another extra check to d3d_level_from_caps similar to the one that checks for GLSL 1.30 for the mesa drivers.
But since now that function no longer has access to gl_info and it would be very ugly to add it back just for this extension how about setting a new lets call it WINED3D_SHADER_CAP_GEOMETRY_SHADER4 to wined3d_caps in case this extension is found but not everything that is required for true SM4 support?