aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_print.c
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-01-15 23:56:29 +0100
committerKarol Herbst <[email protected]>2019-01-19 20:01:41 +0100
commite5daef95877047d6c820953666dc570237c988db (patch)
tree6a7458af4895f41f5fc1fe3647e5e50e42ec62ae /src/compiler/nir/nir_print.c
parentad99c1670abef58da5184361b7e51d08c65f8a86 (diff)
nir: rename nir_var_private to nir_var_shader_temp
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_print.c')
-rw-r--r--src/compiler/nir/nir_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index 88a82b1ef17..f0142ab3b92 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -421,8 +421,8 @@ get_variable_mode_str(nir_variable_mode mode, bool want_local_global_mode)
return "ssbo";
case nir_var_shared:
return "shared";
- case nir_var_private:
- return want_local_global_mode ? "private" : "";
+ case nir_var_shader_temp:
+ return want_local_global_mode ? "shader_temp" : "";
case nir_var_function:
return want_local_global_mode ? "function" : "";
default: