summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLevi Behunin <l3ehunin@gmail.com>2020-09-25 05:58:51 +0200
committerLevi Behunin <l3ehunin@gmail.com>2020-09-25 05:58:51 +0200
commit24c1bb3842324c681f2a718b7a004c7c6afe52a8 (patch)
treed81f21e1b670042b9ae615e982af6adf668e0126
parentAddress Comments (diff)
downloadyuzu-24c1bb3842324c681f2a718b7a004c7c6afe52a8.tar
yuzu-24c1bb3842324c681f2a718b7a004c7c6afe52a8.tar.gz
yuzu-24c1bb3842324c681f2a718b7a004c7c6afe52a8.tar.bz2
yuzu-24c1bb3842324c681f2a718b7a004c7c6afe52a8.tar.lz
yuzu-24c1bb3842324c681f2a718b7a004c7c6afe52a8.tar.xz
yuzu-24c1bb3842324c681f2a718b7a004c7c6afe52a8.tar.zst
yuzu-24c1bb3842324c681f2a718b7a004c7c6afe52a8.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/shader_ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_ir.cpp b/src/video_core/shader/shader_ir.cpp
index 521d0e47d..7d144b9cf 100644
--- a/src/video_core/shader/shader_ir.cpp
+++ b/src/video_core/shader/shader_ir.cpp
@@ -392,7 +392,7 @@ void ShaderIR::SetInternalFlagsFromInteger(NodeBlock& bb, Node value, bool sets_
Iterop(bb, value);
break;
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());
Node zerop = Operation(OperationCode::LogicalIEqual, std::move(value),
Immediate(gpr->GetIndex()));