aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_copy_prop_vars.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_opt_copy_prop_vars.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_opt_copy_prop_vars.c')
-rw-r--r--src/compiler/nir/nir_opt_copy_prop_vars.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_opt_copy_prop_vars.c b/src/compiler/nir/nir_opt_copy_prop_vars.c
index 8a5e1155082..21e58b578f4 100644
--- a/src/compiler/nir/nir_opt_copy_prop_vars.c
+++ b/src/compiler/nir/nir_opt_copy_prop_vars.c
@@ -133,7 +133,7 @@ gather_vars_written(struct copy_prop_var_state *state,
nir_foreach_instr(instr, block) {
if (instr->type == nir_instr_type_call) {
written->modes |= nir_var_shader_out |
- nir_var_private |
+ nir_var_shader_temp |
nir_var_function |
nir_var_ssbo |
nir_var_shared;
@@ -624,7 +624,7 @@ copy_prop_vars_block(struct copy_prop_var_state *state,
nir_foreach_instr_safe(instr, block) {
if (instr->type == nir_instr_type_call) {
apply_barrier_for_modes(copies, nir_var_shader_out |
- nir_var_private |
+ nir_var_shader_temp |
nir_var_function |
nir_var_ssbo |
nir_var_shared);