mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/spirv: Handle thread group UAV barriers.
This commit is contained in:
committed by
Alexandre Julliard
parent
18e9148f58
commit
8ae69c745b
Notes:
Alexandre Julliard
2024-01-25 23:07:09 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/599
@@ -445,6 +445,11 @@ static void shader_dump_sync_flags(struct vkd3d_d3d_asm_compiler *compiler, uint
|
||||
vkd3d_string_buffer_printf(&compiler->buffer, "_uglobal");
|
||||
sync_flags &= ~VKD3DSSF_GLOBAL_UAV;
|
||||
}
|
||||
if (sync_flags & VKD3DSSF_THREAD_GROUP_UAV)
|
||||
{
|
||||
vkd3d_string_buffer_printf(&compiler->buffer, "_ugroup");
|
||||
sync_flags &= ~VKD3DSSF_THREAD_GROUP_UAV;
|
||||
}
|
||||
if (sync_flags & VKD3DSSF_GROUP_SHARED_MEMORY)
|
||||
{
|
||||
vkd3d_string_buffer_printf(&compiler->buffer, "_g");
|
||||
|
||||
Reference in New Issue
Block a user