From 960e8a1260b34e8e34d2f39b91b11ea85ec483b1 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 8 Aug 2016 11:08:09 -0700 Subject: [PATCH] anv/pipeline/gen8: Set 3DSTATE_SF::StatisticsEnable We've been setting it in gen7 forever but never in gen8; best to make it consistent. This hasn't caused any problems yet because we don't advertise support for statistics queries yet. Signed-off-by: Jason Ekstrand Reviewed-by: Kenneth Graunke --- src/intel/vulkan/gen8_pipeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/gen8_pipeline.c b/src/intel/vulkan/gen8_pipeline.c index 4d198dc3972..65339b992f2 100644 --- a/src/intel/vulkan/gen8_pipeline.c +++ b/src/intel/vulkan/gen8_pipeline.c @@ -54,6 +54,7 @@ emit_rs_state(struct anv_pipeline *pipeline, }; sf.ViewportTransformEnable = !(extra && extra->use_rectlist); + sf.StatisticsEnable = true; sf.TriangleStripListProvokingVertexSelect = 0; sf.LineStripListProvokingVertexSelect = 0; sf.TriangleFanProvokingVertexSelect = 1; -- 2.30.2