summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-05-14 11:37:48 +1000
committerDave Airlie <[email protected]>2016-05-14 11:39:34 +1000
commit7a6d55826e94e6c18471c671736f706bddfdb582 (patch)
treeb599a854fd3e8b4497f0de6ae20e3c53a46db26e /src/compiler/glsl/ir_optimization.h
parenta608e946b5ffefb1eb56803a18452c356ceaf592 (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/ir_optimization.h')
-rw-r--r--src/compiler/glsl/ir_optimization.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/glsl/ir_optimization.h b/src/compiler/glsl/ir_optimization.h
index 2a1b709443e..f9599a39ff5 100644
--- a/src/compiler/glsl/ir_optimization.h
+++ b/src/compiler/glsl/ir_optimization.h
@@ -117,9 +117,7 @@ bool lower_variable_index_to_cond_assign(gl_shader_stage stage,
bool lower_temp, bool lower_uniform);
bool lower_quadop_vector(exec_list *instructions, bool dont_lower_swz);
bool lower_const_arrays_to_uniforms(exec_list *instructions);
-bool lower_combined_clip_cull_distance(gl_shader *shader,
- uint8_t clipDistanceArraySize,
- uint8_t cullDistanceArraySize);
+bool lower_clip_distance(gl_shader *shader);
void lower_output_reads(unsigned stage, exec_list *instructions);
bool lower_packing_builtins(exec_list *instructions, int op_mask);
void lower_shared_reference(struct gl_shader *shader, unsigned *shared_size);