radv: do not emulate clear state for shadowed regs on GFX12
There is no CLEAR_STATE on GFX12. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29417>
This commit is contained in:

committed by
Marge Bot

parent
ce6557cc04
commit
bd95512e0a
@@ -123,7 +123,9 @@ radv_init_shadowed_regs_buffer_state(const struct radv_device *device, struct ra
|
||||
radeon_check_space(ws, cs, 768);
|
||||
|
||||
radv_emit_shadow_regs_preamble(cs, device, &queue->state);
|
||||
ac_emulate_clear_state(gpu_info, cs, radv_set_context_reg_array);
|
||||
|
||||
if (pdev->info.gfx_level < GFX12)
|
||||
ac_emulate_clear_state(gpu_info, cs, radv_set_context_reg_array);
|
||||
|
||||
result = ws->cs_finalize(cs);
|
||||
if (result == VK_SUCCESS) {
|
||||
|
Reference in New Issue
Block a user