mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/spirv: Emit a warning if the atomic instruction volatile flag is unhandled.
This commit is contained in:
parent
9e0b9c3a7a
commit
a8dd788f41
Notes:
Alexandre Julliard
2024-03-27 23:07:08 +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/707
@ -9248,6 +9248,9 @@ static void spirv_compiler_emit_atomic_instruction(struct spirv_compiler *compil
|
||||
|
||||
val_id = spirv_compiler_emit_load_src_with_type(compiler, &src[1], VKD3DSP_WRITEMASK_0, component_type);
|
||||
|
||||
if (instruction->flags & VKD3DARF_VOLATILE)
|
||||
WARN("Ignoring 'volatile' attribute.\n");
|
||||
|
||||
operands[i++] = pointer_id;
|
||||
operands[i++] = spirv_compiler_get_constant_uint(compiler, scope);
|
||||
operands[i++] = spirv_compiler_get_constant_uint(compiler, SpvMemorySemanticsMaskNone);
|
||||
|
Loading…
x
Reference in New Issue
Block a user