diff options
author | Eric Anholt <[email protected]> | 2012-12-06 10:15:08 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-12-11 10:13:15 -0800 |
commit | beafced21c3c11315a8b94f20508562729453175 (patch) | |
tree | 72e4c1b18972ac7f05310eab9a0515cf7e1f61d4 /configs | |
parent | d5016495cc1b50b1673d0d3ab8e6af8249b071d5 (diff) |
i965/fs: Improve performance of shaders that start out with a discard.
I had tried this in the past, but ran into trouble with applications
that sample from undiscarded pixels in the same subspan. To fix that
issue, only jump to the end for an entire subspan at a time.
Improves GLbenchmark 2.7 (1024x768) performance by 7.9 +/- 1.5% (n=8).
v2: Drop the br variable in the jump instruction -- if I ever do jumps
pre-gen6, it'll be a different code block anyway since we don't have
HALT until gen6.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions