summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_discard.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-12-15 14:30:26 -0700
committerBrian Paul <[email protected]>2017-12-20 11:23:16 -0700
commit76fc24ba8d71cdbb76a354d6fd7b893139222d70 (patch)
tree44dcaf031212a10771c6eb379a0b3c5ff3b8ca10 /src/compiler/glsl/lower_discard.cpp
parentcd7705de443d34aeddb3a68cc8d6b762a2808261 (diff)
glsl: use bitwise operators in varying_matches::compute_packing_class()
The mix of bitwise operators with * and + to compute the packing_class values was a little weird. Just use bitwise ops instead. v2: add assertion to make sure interpolation bits fit without collision, per Timothy. Basically, rewrite function to be simpler. Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/glsl/lower_discard.cpp')
0 files changed, 0 insertions, 0 deletions