anv: Perform rasterizer discard in the SOL stage instead of the clipper.
See commit b0629e6894
, where we discovered
that the SOL stage's "Rendering Disable" feature is a lot faster at
throwing away all geometry than the clipper's "reject all" mode.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -58,7 +58,6 @@ genX(init_device_state)(struct anv_device *device)
|
||||
anv_batch_emit(&batch, GENX(3DSTATE_TE), ts);
|
||||
anv_batch_emit(&batch, GENX(3DSTATE_DS), ds);
|
||||
|
||||
anv_batch_emit(&batch, GENX(3DSTATE_STREAMOUT), so);
|
||||
anv_batch_emit(&batch, GENX(3DSTATE_AA_LINE_PARAMETERS), aa);
|
||||
|
||||
anv_batch_emit(&batch, GENX(3DSTATE_DRAWING_RECTANGLE), rect) {
|
||||
|
Reference in New Issue
Block a user