diff options
author | Jason Ekstrand <[email protected]> | 2015-11-07 08:03:25 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-11-07 08:03:25 -0800 |
commit | 17fa3d3572d7cafa95cfe31c365bbc15b3c789e3 (patch) | |
tree | 7822167da7f280e5c95bc36edde78beb9a66dc61 | |
parent | a10d59c09abdaad19e2d6bbf70d9b2d4b36925db (diff) |
nir/spirv: Give both block and buffer_block types an interface type
-rw-r--r-- | src/glsl/nir/spirv_to_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/spirv_to_nir.c b/src/glsl/nir/spirv_to_nir.c index a06cffcefdc..3f89bb2e779 100644 --- a/src/glsl/nir/spirv_to_nir.c +++ b/src/glsl/nir/spirv_to_nir.c @@ -1346,7 +1346,7 @@ vtn_handle_variables(struct vtn_builder *b, SpvOp opcode, var->name = ralloc_strdup(var, val->name); struct vtn_type *interface_type; - if (type->block) { + if (type->block || type->buffer_block) { interface_type = type; } else if (glsl_type_is_array(type->type) && (type->array_element->block || |