mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
radv: fix the late scissor workaround for GFX9 since a recent refactoring
This was a typo.
Fixes: 92337aff03 ("radv: split cmdbuf dirty flags into dirty/dirty_dynamic")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11142
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29156>
This commit is contained in:
parent
01608de875
commit
2097bec163
1 changed files with 1 additions and 1 deletions
|
|
@ -9241,7 +9241,7 @@ radv_need_late_scissor_emission(struct radv_cmd_buffer *cmd_buffer, const struct
|
|||
/* Index, vertex and streamout buffers don't change context regs.
|
||||
* We assume that any other dirty flag causes context rolls.
|
||||
*/
|
||||
uint64_t used_states = ~RADV_CMD_DIRTY_ALL;
|
||||
uint64_t used_states = RADV_CMD_DIRTY_ALL;
|
||||
used_states &= ~(RADV_CMD_DIRTY_INDEX_BUFFER | RADV_CMD_DIRTY_VERTEX_BUFFER | RADV_CMD_DIRTY_STREAMOUT_BUFFER);
|
||||
|
||||
return cmd_buffer->state.dirty & used_states;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue