mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
tu: Fix condition for re-emitting FDM-related state
Even when FDM isn't enabled, we can still emit patchpoints and duplicate the viewport per-view or per-layer because the pipeline may include VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT. Before25202d3e47("tu: Remove fdm argument from tu6_emit_tile_select") we just silently skipped applying those patchpoints, but now we actually apply them which means we need to re-emit viewport and scissor for subsequent render passes. Fixes:25202d3e47("tu: Remove fdm argument from tu6_emit_tile_select") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39965>
This commit is contained in:
parent
f69c26fb06
commit
8628523f0f
1 changed files with 1 additions and 1 deletions
|
|
@ -4213,7 +4213,7 @@ tu_cmd_render_tiles(struct tu_cmd_buffer *cmd,
|
|||
* via the patchpoints, so we need to re-emit them if they are reused for a
|
||||
* later render pass.
|
||||
*/
|
||||
if (cmd->state.pass->has_fdm)
|
||||
if (cmd->fdm_bin_patchpoints.size != 0)
|
||||
cmd->state.dirty |= TU_CMD_DIRTY_FDM;
|
||||
|
||||
/* Reset the gmem store CS entry lists so that the next render pass
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue