diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 5013a9c30ae..6b01ad35a71 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -1236,6 +1236,7 @@ vtn_handle_type(struct vtn_builder *b, SpvOp opcode, .type = val->type->members[i]->type, .name = ralloc_asprintf(b, "field%d", i), .location = -1, + .offset = -1, }; } |