diff options
author | Francisco Jerez <[email protected]> | 2020-01-04 16:16:24 -0800 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2020-02-14 14:31:49 -0800 |
commit | 8d3b86e34a7b0f77613c7f5669891e54d76f0cbf (patch) | |
tree | 9be8a8bc1d12f5084df7c66b51660eda136a599a /src/mesa/main/varray.c | |
parent | 04c7d3d4b19610cae8250102fefd0012b7233d9e (diff) |
intel/fs/gen7+: Implement discard/demote for SIMD32 programs.
At this point this simply involves fixing the initialization of the
sample mask flag register to take the right dispatch mask from the
thread payload, and fixing sample_mask_reg() to return f1.1 for the
second half of a SIMD32 thread. This improves Manhattan 3.1
performance by 2.4%±0.31% (N>40) on my ICL with SIMD32 enabled
relative to falling back to SIMD16 for the shaders that use discard.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
0 files changed, 0 insertions, 0 deletions