projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1792b
)
nir/spirv: Set the interface type on uniform blocks
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 26 Jun 2015 00:32:10 +0000
(17:32 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 26 Jun 2015 00:36:34 +0000
(17:36 -0700)
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 7632ca2bf1879fa7c005d747a85c51e9772de977..2dd3c42db036cf0d4138cf3eef0bf2f8ace38878 100644
(file)
--- a/
src/glsl/nir/spirv_to_nir.c
+++ b/
src/glsl/nir/spirv_to_nir.c
@@
-537,6
+537,7
@@
vtn_handle_variables(struct vtn_builder *b, SpvOp opcode,
case SpvStorageClassUniformConstant:
var->data.mode = nir_var_uniform;
var->data.read_only = true;
+ var->interface_type = type;
break;
case SpvStorageClassInput:
var->data.mode = nir_var_shader_in;