From 74a27a6ccb32b4c81eff4bcc808401bdb0adba0b Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 28 Apr 2022 11:35:35 +0300 Subject: anv: don't emit 3DSTATE_VF_TOPOLOGY in pipeline batch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2: drop primitive_topology = 0xffffffff (Tapani) Signed-off-by: Lionel Landwerlin Reviewed-by: Tapani Pälli Part-of: --- src/intel/vulkan/genX_pipeline.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/intel/vulkan/genX_pipeline.c') diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 65fec6ad007..3dcd47c8913 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -2458,14 +2458,6 @@ emit_3dstate_ps_extra(struct anv_graphics_pipeline *pipeline, #endif } } - -static void -emit_3dstate_vf_topology(struct anv_graphics_pipeline *pipeline) -{ - anv_batch_emit(&pipeline->base.batch, GENX(3DSTATE_VF_TOPOLOGY), vft) { - vft.PrimitiveTopologyType = pipeline->topology; - } -} #endif static void @@ -2802,11 +2794,6 @@ genX(graphics_pipeline_create)( emit_3dstate_hs_te_ds(pipeline, pCreateInfo->pTessellationState); emit_3dstate_gs(pipeline); -#if GFX_VER >= 8 - if (!(dynamic_states & ANV_CMD_DIRTY_DYNAMIC_PRIMITIVE_TOPOLOGY)) - emit_3dstate_vf_topology(pipeline); -#endif - emit_3dstate_vf_statistics(pipeline); emit_3dstate_streamout(pipeline, pCreateInfo->pRasterizationState, -- cgit v1.2.3