summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_dead_functions.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-03-22 17:42:38 -0700
committerIan Romanick <[email protected]>2013-05-13 12:05:19 -0700
commitc3bb07f875075b08a0b13f47be95e0c49edb6555 (patch)
tree21016f3a5465e4bbd1c2701ed0d683981d18e38f /src/glsl/opt_dead_functions.cpp
parentd13fbeea9634b5e3cae0213cc61706ffc316b64f (diff)
glsl: Use vector-insert and vector-extract on elements of gl_ClipDistanceMESA
Variable indexing into vectors using ir_dereference_array is being removed, so this lowering pass has to generate something different. v2: Convert tabs to spaces. Suggested by Eric. v3: Simplify code slightly by assuming that elements of gl_ClipDistanceMESA will always be vec4. Suggested by Paul. v4: Fairly substantial rewrite based on the rewrite of "glsl: Convert lower_clip_distance_visitor to be an ir_rvalue_visitor" Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/opt_dead_functions.cpp')
0 files changed, 0 insertions, 0 deletions