diff options
author | Ian Romanick <[email protected]> | 2013-03-22 17:42:38 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-05-13 12:05:19 -0700 |
commit | c3bb07f875075b08a0b13f47be95e0c49edb6555 (patch) | |
tree | 21016f3a5465e4bbd1c2701ed0d683981d18e38f /src/glsl/ir.h | |
parent | d13fbeea9634b5e3cae0213cc61706ffc316b64f (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/ir.h')
0 files changed, 0 insertions, 0 deletions