From a0179c32b6ea4110265943cc4352c23d86425454 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 31 Jul 2023 12:09:13 +0300 Subject: [PATCH] anv: fix 3DSTATE_RASTER::APIMode field setting MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The APIMode field is set in the dynamic part in gfx8_cmd_buffer.c Signed-off-by: Lionel Landwerlin Fixes: 55951ac28e ("anv: fix emitting dynamic primitive topology") Reviewed-by: Tapani Pälli Part-of: --- src/intel/vulkan/genX_pipeline.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 4532757..a737204 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -797,7 +797,6 @@ emit_rs_state(struct anv_graphics_pipeline *pipeline, raster.ConservativeRasterizationEnable = rs && rs->conservative_mode != VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT; - raster.APIMode = DX101; GENX(3DSTATE_SF_pack)(NULL, pipeline->gfx8.sf, &sf); GENX(3DSTATE_RASTER_pack)(NULL, pipeline->gfx8.raster, &raster); -- 2.7.4