summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-08-17 15:03:01 -0700
committerKenneth Graunke <[email protected]>2016-08-19 02:05:23 -0700
commit7d0554f3419f693b7a43a47c1ed3b454dc5dc5f7 (patch)
tree87626b20d3d80fcb589d5cd8a23bf05c9ffb865a /src/mesa/main
parent7ceb42ccc5f7943fc839ed19e06b9b7be38dacb0 (diff)
nir: Rely on the fact that bcsel takes a well formed boolean.
According to Connor, it's safe to assume that the first operand of bcsel, as well as the operand of b2f and b2i, must be well formed booleans. https://lists.freedesktop.org/archives/mesa-dev/2016-August/125658.html With the previous improvements to a@bool handling, this now has no change in shader-db instruction counts on Broadwell. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions