diff options
author | Kenneth Graunke <[email protected]> | 2019-03-11 19:00:21 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-03-12 20:11:55 -0700 |
commit | 3570d15b6d88bdcd353b31ffe5460d04a88b7b6f (patch) | |
tree | a7ecd65b44d285de26b89d372b99e57427fe83cd /bin | |
parent | bd17bdc56b34a08c421172df27fe07294c7a7024 (diff) |
intel/fs: Fix opt_peephole_csel to not throw away saturates.
We were not copying the saturate bit from the original instruction
to the new replacement instruction. This caused major misrendering
in DiRT Rally on iris, where comparisons leading to discards failed
due to the missing saturate, causing lots of extra garbage pixels to
be drawn in text rendering, trees, and so on.
This did not show up on i965 because st/nir performs a more aggressive
version of nir_opt_peephole_select, yielding more b32csel operations.
Fixes: 52c7df1643e i965/fs: Merge CMP and SEL into CSEL on Gen8+
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions