mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 00:30:13 +01:00
anv: Fix geometry flickering issue when compute and 3D passes are combined
Call flush_pipeline_select_3d in CmdBeginRendering() to emit a dummy MEDIA_VFE_STATE before switching from GPGPU to 3D. Original commit with the fix:bc612536("anv: Emit a dummy MEDIA_VFE_STATE before switching from GPGPU to 3D") Fixes:3501a3f9ed("anv: Convert to 100% dynamic rendering") Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com> Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6201 Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15954>
This commit is contained in:
parent
f854e6ec9b
commit
785b6579ae
1 changed files with 2 additions and 0 deletions
|
|
@ -6530,6 +6530,8 @@ void genX(CmdBeginRendering)(
|
|||
if (result != VK_SUCCESS)
|
||||
return;
|
||||
|
||||
genX(flush_pipeline_select_3d)(cmd_buffer);
|
||||
|
||||
for (uint32_t i = 0; i < gfx->color_att_count; i++) {
|
||||
if (!(color_att_valid & BITFIELD_BIT(i)))
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue