diff options
author | Ian Romanick <[email protected]> | 2013-03-22 18:55:49 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-03-29 12:01:14 -0700 |
commit | e0131196caad52a33e460775fa537fd57a8b29e5 (patch) | |
tree | 942a197136491badb2902113a912eebe473bee20 /include/GLES/egl.h | |
parent | 65cc68f4305a675e27feb7aae0d8a66b2710f3e4 (diff) |
glsl: Generated masked write instead of vector array index for UBO lowering
When reading a column from a row-major matrix, we would slot the single
value read into the vector using an ir_dereference_array of the vector
with a constant index. This will (eventually) get optimized to a
masked-write, so just generate the masked write in the first place.
v2: Remove unused variable 'chan'. Suggested by Ken.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Cc: Eric Anholt <[email protected]>
Diffstat (limited to 'include/GLES/egl.h')
0 files changed, 0 insertions, 0 deletions