mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
r600/sfn: remove debug output leftovers
Fixes:ae7d904a73r600/sfn: Implement source mod optimization in backend Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24239> (cherry picked from commit59087003c4)
This commit is contained in:
parent
6fea9af930
commit
40d613fc51
2 changed files with 2 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
"description": "r600/sfn: remove debug output leftovers",
|
"description": "r600/sfn: remove debug output leftovers",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "ae7d904a73b57f6f019346b3926cde5263bff787",
|
"because_sha": "ae7d904a73b57f6f019346b3926cde5263bff787",
|
||||||
"notes": null
|
"notes": null
|
||||||
|
|
|
||||||
|
|
@ -474,10 +474,8 @@ bool AluInstr::replace_src(int i, PVirtualValue new_src, uint32_t to_set,
|
||||||
auto old_src = m_src[i]->as_register();
|
auto old_src = m_src[i]->as_register();
|
||||||
assert(old_src);
|
assert(old_src);
|
||||||
|
|
||||||
if (!can_replace_source(old_src, new_src)) {
|
if (!can_replace_source(old_src, new_src))
|
||||||
std::cerr << "Can't replace src " << *old_src << " with " << *new_src << "\n";
|
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
|
|
||||||
assert(old_src);
|
assert(old_src);
|
||||||
old_src->del_use(this);
|
old_src->del_use(this);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue