aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_clip.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_lower_clip.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_lower_clip.c')
-rw-r--r--src/compiler/nir/nir_lower_clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_clip.c b/src/compiler/nir/nir_lower_clip.c
index 6fdf1a9b008..474854d047b 100644
--- a/src/compiler/nir/nir_lower_clip.c
+++ b/src/compiler/nir/nir_lower_clip.c
@@ -212,7 +212,7 @@ nir_lower_clip_vs(nir_shader *shader, unsigned ucp_enables, bool use_vars)
if (clipvertex) {
exec_node_remove(&clipvertex->node);
- clipvertex->data.mode = nir_var_private;
+ clipvertex->data.mode = nir_var_shader_temp;
exec_list_push_tail(&shader->globals, &clipvertex->node);
}
} else {