diff options
Diffstat (limited to 'src/compiler/glsl/linker.cpp')
-rw-r--r-- | src/compiler/glsl/linker.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp index eae1065572c..f208d19dcf9 100644 --- a/src/compiler/glsl/linker.cpp +++ b/src/compiler/glsl/linker.cpp @@ -4621,9 +4621,7 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog) goto done; if (ctx->Const.ShaderCompilerOptions[i].LowerCombinedClipCullDistance) { - lower_combined_clip_cull_distance(prog->_LinkedShaders[i], - (uint8_t)prog->LastClipDistanceArraySize, - (uint8_t)prog->LastCullDistanceArraySize); + lower_clip_distance(prog->_LinkedShaders[i]); } if (ctx->Const.LowerTessLevel) { |