mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 20:30:12 +01:00
anv/cmd_buffer: Apply flush operations prior to executing secondaries
This fixes rendering issues in the Vulkan port of skia on some hardware. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
9319ef96fd
commit
01a65dc43b
1 changed files with 5 additions and 0 deletions
|
|
@ -654,6 +654,11 @@ genX(CmdExecuteCommands)(
|
|||
*/
|
||||
genX(cmd_buffer_enable_pma_fix)(primary, false);
|
||||
|
||||
/* The secondary command buffer doesn't know which textures etc. have been
|
||||
* flushed prior to their execution. Apply those flushes now.
|
||||
*/
|
||||
genX(cmd_buffer_apply_pipe_flushes)(primary);
|
||||
|
||||
for (uint32_t i = 0; i < commandBufferCount; i++) {
|
||||
ANV_FROM_HANDLE(anv_cmd_buffer, secondary, pCmdBuffers[i]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue