summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/opt_algebraic.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-04-29 18:05:26 -0700
committerKenneth Graunke <[email protected]>2016-06-23 11:58:50 -0700
commitef78df8d3b0cf540e5f08c8c2f6caa338b64a6c7 (patch)
treeb5e6e76636e75b0faf75357991405f555656fc64 /src/compiler/glsl/opt_algebraic.cpp
parentf7741c521119ce147215d94a4c238e84fc8b1130 (diff)
glsl: Make lower_const_arrays_to_uniforms work directly on constants.
There's really no point in looking at ir_dereference_array of a constant. It also misses cases like: (assign () (var_ref tmp) (constant (array ...) ...)) No changes in shader-db, but keeps it working after the next commit. Cc: [email protected] Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/glsl/opt_algebraic.cpp')
0 files changed, 0 insertions, 0 deletions