summaryrefslogtreecommitdiffstats
path: root/src/mesa
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/mesa
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/mesa')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_nir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp
index 3ab7af7c20c..31cc9faf0e6 100644
--- a/src/mesa/state_tracker/st_glsl_to_nir.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp
@@ -103,7 +103,7 @@ st_nir_assign_vs_in_locations(nir_shader *nir)
* set.
*/
exec_node_remove(&var->node);
- var->data.mode = nir_var_private;
+ var->data.mode = nir_var_shader_temp;
exec_list_push_tail(&nir->globals, &var->node);
}
}