From: Jason Ekstrand Date: Fri, 26 Jun 2015 00:32:10 +0000 (-0700) Subject: nir/spirv: Set the interface type on uniform blocks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=333b8ddd6bf189bb6398edd602bdda40d7914a34;p=mesa.git nir/spirv: Set the interface type on uniform blocks --- 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;