vkd3d-shader/spirv: Support zero-initialisation for workgroup memory.

This commit is contained in:
Conor McCarthy
2023-12-01 12:54:08 +10:00
committed by Alexandre Julliard
parent 374c5fcbdd
commit 6dd54eeb09
Notes: Alexandre Julliard 2024-03-14 23:23:27 +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/681
3 changed files with 10 additions and 5 deletions

View File

@@ -1089,6 +1089,7 @@ struct vkd3d_shader_tgsm_raw
{
struct vkd3d_shader_dst_param reg;
unsigned int byte_count;
bool zero_init;
};
struct vkd3d_shader_tgsm_structured
@@ -1096,6 +1097,7 @@ struct vkd3d_shader_tgsm_structured
struct vkd3d_shader_dst_param reg;
unsigned int byte_stride;
unsigned int structure_count;
bool zero_init;
};
struct vkd3d_shader_thread_group_size