summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_flip_matrices.cpp
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2015-04-14 15:44:24 -0400
committerConnor Abbott <[email protected]>2015-04-14 19:07:44 -0400
commit47a1b4841d39fc358fc5ab67dc129a02419fba8d (patch)
tree14a187054f604b1163d9247ae27c007036cbe3d1 /src/glsl/opt_flip_matrices.cpp
parentb069f9eafd945a86be633d8fff4e715fc6d7ec2d (diff)
nir/cse: fix bug with comparing non-per-component sources
We weren't comparing the right number of components when checking swizzles. Use nir_ssa_alu_instr_num_src_components() to do the right thing. No piglit regressions, and no fixes either. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/opt_flip_matrices.cpp')
0 files changed, 0 insertions, 0 deletions