mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/spirv: Set the register index count in spirv_compiler_get_invocation_id().
This commit is contained in:
parent
ea7d8c65bd
commit
7e58511b76
Notes:
Alexandre Julliard
2023-05-26 22:16:37 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/213
@ -4272,6 +4272,7 @@ static uint32_t spirv_compiler_get_invocation_id(struct spirv_compiler *compiler
|
||||
r.type = VKD3DSPR_OUTPOINTID;
|
||||
r.idx[0].offset = ~0u;
|
||||
r.idx[1].offset = ~0u;
|
||||
r.idx_count = 0;
|
||||
return spirv_compiler_get_register_id(compiler, &r);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user