mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
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:
parent
ce6557cc04
commit
bd95512e0a
1 changed files with 3 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue