diff options
author | Kenneth Graunke <[email protected]> | 2015-08-05 09:16:59 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-09-23 11:00:00 -0700 |
commit | df31c1850d14729e27513ae733110a668f6b6e95 (patch) | |
tree | 06d123e528dae4a2cb26e8e31dc4603658f3cf18 /src/glsl/opt_conditional_discard.cpp | |
parent | 542d40d698a698dc656c7a64ddcea07060707555 (diff) |
i965/gs: Use new NIR intrinsics.
By performing the vertex counting in NIR, we're able to elide a ton of
useless safety checks around every EmitVertex() call:
total instructions in shared programs: 3952 -> 3720 (-5.87%)
instructions in affected programs: 3491 -> 3259 (-6.65%)
helped: 11
HURT: 0
Improves performance in Gl32GSCloth by 0.671742% +/- 0.142202% (n=621)
on Haswell GT3e at 1024x768.
This should also make it easier to implement Broadwell's "Static Vertex
Count" feature someday.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/opt_conditional_discard.cpp')
0 files changed, 0 insertions, 0 deletions