projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freedreno/a6xx: Silence compiler warnings
[mesa.git]
/
src
/
gallium
/
drivers
/
vc4
/
vc4_program.c
diff --git
a/src/gallium/drivers/vc4/vc4_program.c
b/src/gallium/drivers/vc4/vc4_program.c
index a0c009f424cce393d114184cd8bccfaec1a75f40..2d0a52bb5fb88a515f3081b1299b0e936d75c86a 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_program.c
+++ b/
src/gallium/drivers/vc4/vc4_program.c
@@
-1598,7
+1598,7
@@
vc4_optimize_nir(struct nir_shader *s)
NIR_PASS(progress, s, nir_opt_loop_unroll,
nir_var_shader_in |
nir_var_shader_out |
NIR_PASS(progress, s, nir_opt_loop_unroll,
nir_var_shader_in |
nir_var_shader_out |
- nir_var_function);
+ nir_var_function
_temp
);
} while (progress);
}
} while (progress);
}
@@
-2517,7
+2517,7
@@
vc4_shader_state_create(struct pipe_context *pctx,
vc4_optimize_nir(s);
vc4_optimize_nir(s);
- NIR_PASS_V(s, nir_remove_dead_variables, nir_var_function);
+ NIR_PASS_V(s, nir_remove_dead_variables, nir_var_function
_temp
);
/* Garbage collect dead instructions */
nir_sweep(s);
/* Garbage collect dead instructions */
nir_sweep(s);