glgsg: change ultimate profile from vp40/fp40 to glslv/glslv

vp40 is just not "ultimate" enough.  We can alternatively pick gp5vp/gp5fp if glslv/glslf is inadequate.
This commit is contained in:
rdb 2020-01-31 11:12:28 +01:00
parent 1baef394b6
commit edc31ce9ca

View File

@ -1776,9 +1776,9 @@ reset() {
_shader_caps._active_gprofile = (int)CG_PROFILE_GLSLG; _shader_caps._active_gprofile = (int)CG_PROFILE_GLSLG;
} }
} }
_shader_caps._ultimate_vprofile = (int)CG_PROFILE_VP40; _shader_caps._ultimate_vprofile = (int)CG_PROFILE_GLSLV;
_shader_caps._ultimate_fprofile = (int)CG_PROFILE_FP40; _shader_caps._ultimate_fprofile = (int)CG_PROFILE_GLSLF;
_shader_caps._ultimate_gprofile = (int)CG_PROFILE_GPU_GP; _shader_caps._ultimate_gprofile = (int)CG_PROFILE_GLSLG;
// Bug workaround for radeons. // Bug workaround for radeons.
if (_shader_caps._active_fprofile == CG_PROFILE_ARBFP1) { if (_shader_caps._active_fprofile == CG_PROFILE_ARBFP1) {