summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.c
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/nir/nir.c
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/nir/nir.c')
-rw-r--r--src/compiler/nir/nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c
index 2b9b1f7f981..446e256ecdd 100644
--- a/src/compiler/nir/nir.c
+++ b/src/compiler/nir/nir.c
@@ -147,7 +147,7 @@ nir_shader_add_variable(nir_shader *shader, nir_variable *var)
exec_list_push_tail(&shader->uniforms, &var->node);
break;
- case nir_var_shared:
+ case nir_var_mem_shared:
assert(shader->info.stage == MESA_SHADER_COMPUTE);
exec_list_push_tail(&shader->shared, &var->node);
break;