diff options
author | Kenneth Graunke <[email protected]> | 2016-07-18 16:02:02 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-07-30 12:06:37 -0700 |
commit | b5661c1d70f9ffaea3c1c14c4bc3f20f7fd4530c (patch) | |
tree | cf460993ebb9a0d0f63708011b0f3c4c511dd373 /src/intel/vulkan/gen7_pipeline.c | |
parent | 99a47391e430d27fb745450e450bf180ec48c8a6 (diff) |
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 <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/gen7_pipeline.c')
-rw-r--r-- | src/intel/vulkan/gen7_pipeline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c index 8ce50be7717..6acdd8562ab 100644 --- a/src/intel/vulkan/gen7_pipeline.c +++ b/src/intel/vulkan/gen7_pipeline.c @@ -119,6 +119,7 @@ genX(graphics_pipeline_create)( emit_3dstate_clip(pipeline, pCreateInfo->pViewportState, pCreateInfo->pRasterizationState, extra); + emit_3dstate_streamout(pipeline, pCreateInfo->pRasterizationState); if (pCreateInfo->pMultisampleState && pCreateInfo->pMultisampleState->rasterizationSamples > 1) |