radv: Don't reset cmd_buffer->state.dirty.
Otherwise for non-indexed draws we set and immediately unset
RADV_CMD_DIRTY_INDEX_BUFFER. As all the set functions should
clear their own bit, this is unnecessary.
Fixes: 341529dbee
'radv: use optimal packet order for draws'
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
fb55477990
commit
20fb15bfe4
|
@ -3151,8 +3151,6 @@ radv_emit_all_graphics_states(struct radv_cmd_buffer *cmd_buffer,
|
|||
radv_emit_draw_registers(cmd_buffer, info->indexed,
|
||||
info->instance_count > 1, info->indirect,
|
||||
info->indirect ? 0 : info->count);
|
||||
|
||||
cmd_buffer->state.dirty = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue