diff options
author | Kenneth Graunke <[email protected]> | 2013-05-16 19:25:14 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-05-20 13:03:18 -0700 |
commit | d1e4e9960cbdfce6078cdc377809ea76c2eb7078 (patch) | |
tree | 4ffcfe498c3fdaf3f33f06aac166960cc80a12e5 /src/mesa/drivers/dri/i965/brw_wm_iz.cpp | |
parent | 5ebe9523f970991ef67e58392040e3fc996aada7 (diff) |
i965: Handle rasterizer discard in the clipper rather than SOL on Gen7.
In order to implement the GL_PRIMITIVES_GENERATED query in a sane
fashion on our hardware, we can't discard primitives until the clipper.
The patch after next explains the rationale.
By setting the clipper to REJECT_ALL mode, all primitives get thrown away,
so rendering is still appropriately disabled.
This may negatively impact performance in the rasterizer discard case,
but it's unclear how much and this hasn't been observed to be a
bottleneck in any application we've looked at. The clipper is the very
next stage in the pipeline, so I don't think it will be terrible.
v2: Add a perf_debug; resolve rebase conflicts on the brw dirty flags.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm_iz.cpp')
0 files changed, 0 insertions, 0 deletions