projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nir: rename lower_outputs_to_temporaries -> lower_io_to_temporaries
[mesa.git]
/
src
/
compiler
/
nir
/
nir_from_ssa.c
diff --git
a/src/compiler/nir/nir_from_ssa.c
b/src/compiler/nir/nir_from_ssa.c
index d333752b3715f3e9fb4602ecebddd9725f8bb2b8..15e89a3e45f646cbaee8b567cd6a570b4a6bad5c 100644
(file)
--- a/
src/compiler/nir/nir_from_ssa.c
+++ b/
src/compiler/nir/nir_from_ssa.c
@@
-395,7
+395,7
@@
static void
aggressive_coalesce_parallel_copy(nir_parallel_copy_instr *pcopy,
struct from_ssa_state *state)
{
aggressive_coalesce_parallel_copy(nir_parallel_copy_instr *pcopy,
struct from_ssa_state *state)
{
- nir_foreach_parallel_copy_entry(
pcopy, entr
y) {
+ nir_foreach_parallel_copy_entry(
entry, pcop
y) {
if (!entry->src.is_ssa)
continue;
if (!entry->src.is_ssa)
continue;
@@
-582,7
+582,7
@@
resolve_parallel_copy(nir_parallel_copy_instr *pcopy,
struct from_ssa_state *state)
{
unsigned num_copies = 0;
struct from_ssa_state *state)
{
unsigned num_copies = 0;
- nir_foreach_parallel_copy_entry(
pcopy, entr
y) {
+ nir_foreach_parallel_copy_entry(
entry, pcop
y) {
/* Sources may be SSA */
if (!entry->src.is_ssa && entry->src.reg.reg == entry->dest.reg.reg)
continue;
/* Sources may be SSA */
if (!entry->src.is_ssa && entry->src.reg.reg == entry->dest.reg.reg)
continue;
@@
-615,7
+615,7
@@
resolve_parallel_copy(nir_parallel_copy_instr *pcopy,
* - Predicessors are recorded from sources and destinations
*/
int num_vals = 0;
* - Predicessors are recorded from sources and destinations
*/
int num_vals = 0;
- nir_foreach_parallel_copy_entry(
pcopy, entr
y) {
+ nir_foreach_parallel_copy_entry(
entry, pcop
y) {
/* Sources may be SSA */
if (!entry->src.is_ssa && entry->src.reg.reg == entry->dest.reg.reg)
continue;
/* Sources may be SSA */
if (!entry->src.is_ssa && entry->src.reg.reg == entry->dest.reg.reg)
continue;
@@
-805,7
+805,7
@@
nir_convert_from_ssa_impl(nir_function_impl *impl, bool phi_webs_only)
void
nir_convert_from_ssa(nir_shader *shader, bool phi_webs_only)
{
void
nir_convert_from_ssa(nir_shader *shader, bool phi_webs_only)
{
- nir_foreach_function(
shader, function
) {
+ nir_foreach_function(
function, shader
) {
if (function->impl)
nir_convert_from_ssa_impl(function->impl, phi_webs_only);
}
if (function->impl)
nir_convert_from_ssa_impl(function->impl, phi_webs_only);
}