turnip: fix alignment of non-32b types in workgroup memory
Fixes tests: dEQP-VK.spirv_assembly.instruction.compute.workgroup_memory.float16 Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10039>
This commit is contained in:
parent
8b80e8f832
commit
0709a6b363
|
@ -732,7 +732,7 @@ shared_type_info(const struct glsl_type *type, unsigned *size, unsigned *align)
|
|||
glsl_type_is_boolean(type) ? 4 : glsl_get_bit_size(type) / 8;
|
||||
unsigned length = glsl_get_vector_elements(type);
|
||||
*size = comp_size * length;
|
||||
*align = 4;
|
||||
*align = comp_size;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue