diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-01-26 12:21:47 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-01-26 12:21:47 +0300 |
commit | 3ffd662586e017668f6c0a1c2f1c754f4db0bf4e (patch) | |
tree | 35cb9af1c2656d39be3a3b5db16edcf2bf37df02 /source/blender/gpu/opengl/gl_shader.cc | |
parent | be4f593758c5913705b43fa092ee0294b4e1bb0a (diff) | |
parent | 0cb5eae9d0617abedf745753c23061ddfcfd1416 (diff) |
Merge branch 'master' into tmp-workbench-shader-create-infostmp-workbench-shader-create-infos
Diffstat (limited to 'source/blender/gpu/opengl/gl_shader.cc')
-rw-r--r-- | source/blender/gpu/opengl/gl_shader.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc index 0d4f1d15f39..1e6e2475665 100644 --- a/source/blender/gpu/opengl/gl_shader.cc +++ b/source/blender/gpu/opengl/gl_shader.cc @@ -601,11 +601,6 @@ static char *glsl_patch_default_get() STR_CONCAT(patch, slen, "#extension GL_ARB_shading_language_420pack: enable\n"); } - if (!GLContext::shader_draw_parameters_support) { - /* Fallback: Emulate base instance using a uniform. */ - STR_CONCAT(patch, slen, "uniform int gpu_BaseInstance;\n"); - } - /* Fallbacks. */ if (!GLContext::shader_draw_parameters_support) { STR_CONCAT(patch, slen, "uniform int gpu_BaseInstance;\n"); |