Skip to content

Commit

Permalink
glgsg: change ultimate profile from vp40/fp40 to glslv/glslv
Browse files Browse the repository at this point in the history
vp40 is just not "ultimate" enough.  We can alternatively pick gp5vp/gp5fp if glslv/glslf is inadequate.
  • Loading branch information
rdb committed Jan 31, 2020
1 parent 1baef39 commit edc31ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions panda/src/glstuff/glGraphicsStateGuardian_src.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1776,9 +1776,9 @@ reset() {
_shader_caps._active_gprofile = (int)CG_PROFILE_GLSLG;
}
}
_shader_caps._ultimate_vprofile = (int)CG_PROFILE_VP40;
_shader_caps._ultimate_fprofile = (int)CG_PROFILE_FP40;
_shader_caps._ultimate_gprofile = (int)CG_PROFILE_GPU_GP;
_shader_caps._ultimate_vprofile = (int)CG_PROFILE_GLSLV;
_shader_caps._ultimate_fprofile = (int)CG_PROFILE_GLSLF;
_shader_caps._ultimate_gprofile = (int)CG_PROFILE_GLSLG;

// Bug workaround for radeons.
if (_shader_caps._active_fprofile == CG_PROFILE_ARBFP1) {
Expand Down

0 comments on commit edc31ce

Please sign in to comment.