From: Jason Ekstrand Date: Mon, 8 Aug 2016 18:08:09 +0000 (-0700) Subject: anv/pipeline/gen8: Set 3DSTATE_SF::StatisticsEnable X-Git-Tag: upstream/17.1.0~7513 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=960e8a1260b34e8e34d2f39b91b11ea85ec483b1;p=platform%2Fupstream%2Fmesa.git 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 --- diff --git a/src/intel/vulkan/gen8_pipeline.c b/src/intel/vulkan/gen8_pipeline.c index 4d198dc..65339b9 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;