1
0
Fork 0
forked from suyu/suyu

Forgot to apply suggestion here as well

This commit is contained in:
Levi Behunin 2020-09-24 21:58:51 -06:00
parent a19dc3bf00
commit 24c1bb3842

View file

@ -392,7 +392,7 @@ void ShaderIR::SetInternalFlagsFromInteger(NodeBlock& bb, Node value, bool sets_
Iterop(bb, value); Iterop(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())) {
LOG_DEBUG(HW_GPU, "GprNode: index={}", gpr->GetIndex()); LOG_DEBUG(HW_GPU, "GprNode: index={}", gpr->GetIndex());
Node zerop = Operation(OperationCode::LogicalIEqual, std::move(value), Node zerop = Operation(OperationCode::LogicalIEqual, std::move(value),
Immediate(gpr->GetIndex())); Immediate(gpr->GetIndex()));