Revert "glsl: Extend lowering pass for gl_ClipDistance to support other arrays (v4)"

This reverts commit ad355652c2.

This broke a bunch of clip tests.
This commit is contained in:
Dave Airlie
2016-05-14 11:37:48 +10:00
parent a608e946b5
commit 7a6d55826e
3 changed files with 95 additions and 160 deletions

View File

@@ -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);