summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-03-16 12:32:16 -0700
committerJason Ekstrand <[email protected]>2017-03-17 12:12:50 -0700
commit9576cea519d5f6a834a7b4e666aa781836ca0855 (patch)
tree23f494f2075fa73e58cbde1acaa02b1743c2a574
parent2a616242cd58da93de457966483be7fd7bb2d729 (diff)
anv/pipeline: Enable clipper statistics
Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r--src/intel/vulkan/genX_pipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c
index 70a8dee0267..9d884a05d16 100644
--- a/src/intel/vulkan/genX_pipeline.c
+++ b/src/intel/vulkan/genX_pipeline.c
@@ -1001,6 +1001,7 @@ emit_3dstate_clip(struct anv_pipeline *pipeline,
(void) wm_prog_data;
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_CLIP), clip) {
clip.ClipEnable = true;
+ clip.StatisticsEnable = true;
clip.EarlyCullEnable = true;
clip.APIMode = APIMODE_D3D,
clip.ViewportXYClipTestEnable = true;