mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
nir/spirv: Fix handling of OpGroupMemberDecorate
We were pulling the member index from the wrong dword
This commit is contained in:
parent
ac04c6de2c
commit
9be5a4bc29
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ vtn_handle_decoration(struct vtn_builder *b, SpvOp opcode,
|
|||
if (opcode == SpvOpGroupDecorate) {
|
||||
dec->scope = VTN_DEC_DECORATION;
|
||||
} else {
|
||||
dec->scope = VTN_DEC_STRUCT_MEMBER0 + *(w++);
|
||||
dec->scope = VTN_DEC_STRUCT_MEMBER0 + *(++w);
|
||||
}
|
||||
|
||||
/* Link into the list */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue