summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_constant_propagation.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-12-16 12:26:38 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:20:22 -0800
commite2a8f9e5ccb136f1e9460255054e34c11a41a422 (patch)
tree9c2bb82419ccb15ed519aaa67ca8f958b089e05c /src/glsl/opt_constant_propagation.cpp
parent46f3e1ab504f016ab900c045f165a8376cf3fc0c (diff)
nir/search: Use nir_op_infos to determine if an operation is commutative
Prior to this commit, we had a big switch statement for this. Now it's baked into the opcode metadata so we can just use that. Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/opt_constant_propagation.cpp')
0 files changed, 0 insertions, 0 deletions