mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 06:10:23 +01:00
anv: fix setting emitted_flush_bits
Fixes a crash with:
dEQP-VK.api.external.semaphore.opaque_fd.signal_export_import_wait_temporary
when driver calls genX(CmdSetEvent2) -> emit_apply_pipe_flushes with
having NULL in emitted_flush_bits.
Fixes: 8834ef8bcd ("anv: use flushing PIPE_CONTROL for event signaling")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39343>
This commit is contained in:
parent
b9908bb165
commit
fcbe987e10
1 changed files with 2 additions and 1 deletions
|
|
@ -2128,7 +2128,8 @@ genX(emit_apply_pipe_flushes)(struct anv_batch *batch,
|
|||
emit_resource_barrier(batch, device->info,
|
||||
src_stages, dst_stages, bits,
|
||||
signal_addr, wait_addr);
|
||||
*emitted_flush_bits = 0;
|
||||
if (emitted_flush_bits)
|
||||
*emitted_flush_bits = 0;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue