summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-01-16 00:12:38 +0100
committerKarol Herbst <[email protected]>2019-01-19 20:01:41 +0100
commit36a76b7192707edce540a7db8809df00e8643514 (patch)
treeb50a34b3befbf7b42d1b38d5d98cf00792b2415b /src/compiler/spirv
parent6fefd6972438054e3fb45666b6714a5c9c4859b9 (diff)
nir: rename nir_var_shared to nir_var_mem_shared
Signed-off-by: Karol Herbst <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r--src/compiler/spirv/vtn_variables.c4
1 files changed, 2 insertions, 2 deletions
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;