From 36a76b7192707edce540a7db8809df00e8643514 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Wed, 16 Jan 2019 00:12:38 +0100 Subject: nir: rename nir_var_shared to nir_var_mem_shared Signed-off-by: Karol Herbst Acked-by: Jason Ekstrand Reviewed-by: Eric Anholt Reviewed-by: Kenneth Graunke Reviewed-by: Bas Nieuwenhuizen --- src/compiler/spirv/vtn_variables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/spirv/vtn_variables.c') diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index d634adbd877..d0c73f7530e 100644 --- a/src/compiler/spirv/vtn_variables.c +++ b/src/compiler/spirv/vtn_variables.c @@ -1702,7 +1702,7 @@ vtn_storage_class_to_mode(struct vtn_builder *b, break; case SpvStorageClassWorkgroup: mode = vtn_variable_mode_workgroup; - nir_mode = nir_var_shared; + nir_mode = nir_var_mem_shared; break; case SpvStorageClassAtomicCounter: mode = vtn_variable_mode_uniform; @@ -1974,7 +1974,7 @@ vtn_create_variable(struct vtn_builder *b, struct vtn_value *val, * SPIR-V. */ var->var->type = glsl_get_bare_type(var->type->type); - var->var->data.mode = nir_var_shared; + var->var->data.mode = nir_var_mem_shared; } break; -- cgit v1.2.3