summaryrefslogtreecommitdiff
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2017-03-16 12:32:16 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2017-03-17 12:12:50 -0700
commit9576cea519d5f6a834a7b4e666aa781836ca0855 (patch)
tree23f494f2075fa73e58cbde1acaa02b1743c2a574 /src/intel
parent2a616242cd58da93de457966483be7fd7bb2d729 (diff)
anv/pipeline: Enable clipper statistics
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'src/intel')
-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 70a8dee026..9d884a05d1 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;