projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a10d59c
)
nir/spirv: Give both block and buffer_block types an interface type
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 7 Nov 2015 16:03:25 +0000
(08:03 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 7 Nov 2015 16:03:25 +0000
(08:03 -0800)
src/glsl/nir/spirv_to_nir.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/spirv_to_nir.c
b/src/glsl/nir/spirv_to_nir.c
index a06cffcefdc6144801abfa807d42944ca2cf1912..3f89bb2e779ddb8190a8c3e8bbdd78df5f784150 100644
(file)
--- 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 ||