Module: Mesa
Branch: main
Commit: 46a14390d8bcb7e91620f94f9d7bde2dc449190d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=46a14390d8bcb7e91620f94f9d7bde2dc449190d

Author: Timur Kristóf <[email protected]>
Date:   Tue Apr 18 12:56:04 2023 +0200

radv: Remove IB2 workaround from mesh shader draws.

The GPUs which need the workaround do not support mesh shaders.

Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Tatsuyuki Ishi <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22533>

---

 src/amd/vulkan/radv_cmd_buffer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 6de52df3ef7..e85e1fd9544 100644
--- a/src/amd/vulkan/radv_cmd_buffer.c
+++ b/src/amd/vulkan/radv_cmd_buffer.c
@@ -8115,8 +8115,6 @@ radv_cs_emit_indirect_mesh_draw_packet(struct 
radv_cmd_buffer *cmd_buffer, uint3
    radeon_emit(cs, count_va >> 32);
    radeon_emit(cs, stride);
    radeon_emit(cs, V_0287F0_DI_SRC_SEL_AUTO_INDEX);
-
-   cmd_buffer->state.uses_draw_indirect_multi = true;
 }
 
 ALWAYS_INLINE static void

Reply via email to