From 333b8ddd6bf189bb6398edd602bdda40d7914a34 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 25 Jun 2015 17:32:10 -0700 Subject: [PATCH] nir/spirv: Set the interface type on uniform blocks --- src/glsl/nir/spirv_to_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/nir/spirv_to_nir.c b/src/glsl/nir/spirv_to_nir.c index 7632ca2bf18..2dd3c42db03 100644 --- 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; -- 2.30.2