diff options
author | Jason Ekstrand <[email protected]> | 2014-12-16 12:26:38 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:20:22 -0800 |
commit | e2a8f9e5ccb136f1e9460255054e34c11a41a422 (patch) | |
tree | 9c2bb82419ccb15ed519aaa67ca8f958b089e05c /src/glsl/ir.cpp | |
parent | 46f3e1ab504f016ab900c045f165a8376cf3fc0c (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/ir.cpp')
0 files changed, 0 insertions, 0 deletions