summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/UberShaderPixel.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2022-07-13 03:56:14 -0400
committerGitHub <noreply@github.com>2022-07-13 03:56:14 -0400
commitcb350aed5342be3b9b893a97e254bf626b4886c4 (patch)
tree1828b3fba2022ae38b134a4ff04774c4a7ea7f97 /Source/Core/VideoCommon/UberShaderPixel.cpp
parentaa294337547c067452954c8d1dd002130a23cb14 (diff)
parent6bd0fc86ba228195315d823d822a04174bc8982b (diff)
Merge pull request #10841 from tellowkrinkle/FBFetchLogicOpMasking
VideoCommon: Properly mask fbfetch logic op emulation
Diffstat (limited to 'Source/Core/VideoCommon/UberShaderPixel.cpp')
-rw-r--r--Source/Core/VideoCommon/UberShaderPixel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/UberShaderPixel.cpp b/Source/Core/VideoCommon/UberShaderPixel.cpp
index 024b49ddfa..a5d997eb20 100644
--- a/Source/Core/VideoCommon/UberShaderPixel.cpp
+++ b/Source/Core/VideoCommon/UberShaderPixel.cpp
@@ -1086,6 +1086,7 @@ ShaderCode GenPixelShader(APIType api_type, const ShaderHostConfig& host_config,
}
out.Write(" }}\n"
+ " TevResult &= 0xff;\n"
" }}\n");
}