mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/ir: Store instruction flags as a uint32_t.
This commit is contained in:
parent
bd9118cac4
commit
9f4ca3bc9c
Notes:
Alexandre Julliard
2024-01-04 23:09:57 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/539
@ -9420,9 +9420,9 @@ static void spirv_compiler_emit_sync(struct spirv_compiler *compiler,
|
||||
const struct vkd3d_shader_instruction *instruction)
|
||||
{
|
||||
unsigned int memory_semantics = SpvMemorySemanticsAcquireReleaseMask;
|
||||
unsigned int flags = instruction->flags;
|
||||
SpvScope execution_scope = SpvScopeMax;
|
||||
SpvScope memory_scope = SpvScopeDevice;
|
||||
uint32_t flags = instruction->flags;
|
||||
|
||||
if (flags & VKD3DSSF_GROUP_SHARED_MEMORY)
|
||||
{
|
||||
|
@ -1123,7 +1123,7 @@ struct vkd3d_shader_instruction
|
||||
{
|
||||
struct vkd3d_shader_location location;
|
||||
enum vkd3d_shader_opcode handler_idx;
|
||||
DWORD flags;
|
||||
uint32_t flags;
|
||||
unsigned int dst_count;
|
||||
unsigned int src_count;
|
||||
const struct vkd3d_shader_dst_param *dst;
|
||||
|
Loading…
x
Reference in New Issue
Block a user