anv/pipeline: Enable clipper statistics
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 16 Mar 2017 19:32:16 +0000 (12:32 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Mar 2017 19:12:50 +0000 (12:12 -0700)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/genX_pipeline.c

index 70a8dee0267238e99c970f9574214f4c19fa99f6..9d884a05d162ef533bacfa911d7c3e6b5600e382 100644 (file)
@@ -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;