This created really mysterious bugs on gfx10.
Fixes flickering in a bunch of DXVK games, most visibly Overwatch 2.
Fixes:
eb07a11b8f4 ("radv: add support for compiling PS epilogs on-demand")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8258
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21189>
if (cmd_buffer->state.graphics_pipeline->need_null_export_workaround &&
!cmd_buffer->state.col_format_non_compacted)
cmd_buffer->state.col_format_non_compacted = V_028714_SPI_SHADER_32_R;
- cmd_buffer->state.dirty |= RADV_CMD_DIRTY_RBPLUS;
+ if (device->physical_device->rad_info.rbplus_allowed)
+ cmd_buffer->state.dirty |= RADV_CMD_DIRTY_RBPLUS;
}
if (ps_epilog)