Module: Mesa
Branch: staging/23.1
Commit: e514375ab350da37122f61437f55d4cc65ab2271
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e514375ab350da37122f61437f55d4cc65ab2271

Author: Lionel Landwerlin <[email protected]>
Date:   Mon Jul 31 12:09:13 2023 +0300

anv: fix 3DSTATE_RASTER::APIMode field setting

The APIMode field is set in the dynamic part in gfx8_cmd_buffer.c

Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 55951ac28e ("anv: fix emitting dynamic primitive topology")
Reviewed-by: Tapani Pälli <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24395>
(cherry picked from commit a0179c32b6ea4110265943cc4352c23d86425454)

---

 .pick_status.json                | 2 +-
 src/intel/vulkan/genX_pipeline.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.pick_status.json b/.pick_status.json
index 2af1876f9c1..08fb1c5e37b 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -1192,7 +1192,7 @@
         "description": "anv: fix 3DSTATE_RASTER::APIMode field setting",
         "nominated": true,
         "nomination_type": 1,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": "55951ac28e7a30c2fae762990962a4410669c989"
     },
diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c
index eae7026f79a..fefd39022bd 100644
--- a/src/intel/vulkan/genX_pipeline.c
+++ b/src/intel/vulkan/genX_pipeline.c
@@ -787,7 +787,6 @@ emit_rs_state(struct anv_graphics_pipeline *pipeline,
 
    raster.ConservativeRasterizationEnable =
       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);

Reply via email to