mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-16 09:50:04 +00:00
More forgetting... duh
This commit is contained in:
parent
24c1bb3842
commit
bc69cc1511
@ -389,7 +389,7 @@ void ShaderIR::SetInternalFlagsFromInteger(NodeBlock& bb, Node value, bool sets_
|
|||||||
}
|
}
|
||||||
switch (value->index()) {
|
switch (value->index()) {
|
||||||
case 0: // Operation Node
|
case 0: // Operation Node
|
||||||
Iterop(bb, value);
|
SearchOperands(bb, value);
|
||||||
break;
|
break;
|
||||||
case 2: // Genral Purpose Node
|
case 2: // Genral Purpose Node
|
||||||
if (const auto* gpr = std::get_if<GprNode>(value.get())) {
|
if (const auto* gpr = std::get_if<GprNode>(value.get())) {
|
||||||
@ -421,7 +421,7 @@ void ShaderIR::SearchOperands(NodeBlock& nb, Node var) {
|
|||||||
for (auto& operand : op->GetOperands()) {
|
for (auto& operand : op->GetOperands()) {
|
||||||
switch (operand->index()) {
|
switch (operand->index()) {
|
||||||
case 0: // Operation Node
|
case 0: // Operation Node
|
||||||
return Iterop(nb, operand);
|
return SearchOperands(nb, operand);
|
||||||
case 2: // General Purpose Node
|
case 2: // General Purpose Node
|
||||||
if (const auto* gpr = std::get_if<GprNode>(operand.get())) {
|
if (const auto* gpr = std::get_if<GprNode>(operand.get())) {
|
||||||
LOG_DEBUG(HW_GPU, "Child GprNode: index={}", gpr->GetIndex());
|
LOG_DEBUG(HW_GPU, "Child GprNode: index={}", gpr->GetIndex());
|
||||||
|
Loading…
Reference in New Issue
Block a user