diff options
author | Dave Airlie <[email protected]> | 2016-05-14 11:37:48 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-05-14 11:39:34 +1000 |
commit | 7a6d55826e94e6c18471c671736f706bddfdb582 (patch) | |
tree | b599a854fd3e8b4497f0de6ae20e3c53a46db26e /src/compiler/glsl/linker.cpp | |
parent | a608e946b5ffefb1eb56803a18452c356ceaf592 (diff) |
Revert "glsl: Extend lowering pass for gl_ClipDistance to support other arrays (v4)"
This reverts commit ad355652c20b245f5f2faa8622e71461e3121a7f.
This broke a bunch of clip tests.
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) { |