mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-13 01:10:15 +01:00
radv: dirty the rast samples state when VRS is forced to 1x1
Only these two states use force_sample_iter_shading_rate. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36912>
This commit is contained in:
parent
8120d14ee0
commit
5dec043cee
1 changed files with 1 additions and 2 deletions
|
|
@ -7501,8 +7501,7 @@ radv_bind_fragment_shader(struct radv_cmd_buffer *cmd_buffer, const struct radv_
|
|||
|
||||
if (gfx_level >= GFX10_3 && (!previous_ps || previous_ps->info.ps.force_sample_iter_shading_rate !=
|
||||
ps->info.ps.force_sample_iter_shading_rate)) {
|
||||
cmd_buffer->state.dirty_dynamic |= RADV_DYNAMIC_RASTERIZATION_SAMPLES;
|
||||
cmd_buffer->state.dirty |= RADV_CMD_DIRTY_FSR_STATE;
|
||||
cmd_buffer->state.dirty |= RADV_CMD_DIRTY_FSR_STATE | RADV_CMD_DIRTY_RAST_SAMPLES_STATE;
|
||||
}
|
||||
|
||||
if (cmd_buffer->state.ms.sample_shading_enable != ps->info.ps.uses_sample_shading) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue