Mesa (master): anv/pipeline: Enable clipper statistics

Jason Ekstrand jekstrand at kemper.freedesktop.org
Fri Mar 17 20:02:07 UTC 2017


Module: Mesa
Branch: master
Commit: 9576cea519d5f6a834a7b4e666aa781836ca0855
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9576cea519d5f6a834a7b4e666aa781836ca0855

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Mar 16 12:32:16 2017 -0700

anv/pipeline: Enable clipper statistics

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 src/intel/vulkan/genX_pipeline.c | 1 +
 1 file changed, 1 insertion(+)

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;




More information about the mesa-commit mailing list