projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freedreno/ir3: small cleanup and comments
[mesa.git]
/
src
/
freedreno
/
ir3
/
ir3_cp.c
diff --git
a/src/freedreno/ir3/ir3_cp.c
b/src/freedreno/ir3/ir3_cp.c
index 03bb8cbe091171372f820233f6e846eebc43ae26..14a5ae8d06c4f521b10029afb84ec8bd3eca84aa 100644
(file)
--- a/
src/freedreno/ir3/ir3_cp.c
+++ b/
src/freedreno/ir3/ir3_cp.c
@@
-643,7
+643,7
@@
instr_cp(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr)
bool progress;
do {
progress = false;
bool progress;
do {
progress = false;
- foreach_src_n(reg, n, instr) {
+ foreach_src_n
(reg, n, instr) {
struct ir3_instruction *src = ssa(reg);
if (!src)
struct ir3_instruction *src = ssa(reg);
if (!src)
@@
-767,7
+767,7
@@
ir3_cp(struct ir3 *ir, struct ir3_shader_variant *so)
*/
debug_assert(instr->deps_count == 0);
*/
debug_assert(instr->deps_count == 0);
- foreach_ssa_src(src, instr) {
+ foreach_ssa_src
(src, instr) {
src->use_count++;
}
}
src->use_count++;
}
}
@@
-776,7
+776,7
@@
ir3_cp(struct ir3 *ir, struct ir3_shader_variant *so)
ir3_clear_mark(ir);
struct ir3_instruction *out;
ir3_clear_mark(ir);
struct ir3_instruction *out;
- foreach_output_n(out, n, ir) {
+ foreach_output_n
(out, n, ir) {
instr_cp(&ctx, out);
ir->outputs[n] = eliminate_output_mov(out);
}
instr_cp(&ctx, out);
ir->outputs[n] = eliminate_output_mov(out);
}