anv: Perform rasterizer discard in the SOL stage instead of the clipper.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 18 Jul 2016 23:02:02 +0000 (16:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 30 Jul 2016 19:06:37 +0000 (12:06 -0700)
commitb5661c1d70f9ffaea3c1c14c4bc3f20f7fd4530c
treecf460993ebb9a0d0f63708011b0f3c4c511dd373
parent99a47391e430d27fb745450e450bf180ec48c8a6
anv: Perform rasterizer discard in the SOL stage instead of the clipper.

See commit b0629e6894513a2c49a018bc3342a4e55435a236, 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>
src/intel/vulkan/gen7_pipeline.c
src/intel/vulkan/gen8_pipeline.c
src/intel/vulkan/genX_pipeline_util.h
src/intel/vulkan/genX_state.c