summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/UberShaderPixel.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-06-24 01:05:17 +0200
committerGitHub <noreply@github.com>2021-06-24 01:05:17 +0200
commita632a6a404dc0d6ba8ae3ada1728f6a0c55ede3e (patch)
tree898779fc2d2dbcce7b5d1baeab330589a4e4e28b /Source/Core/VideoCommon/UberShaderPixel.cpp
parentb66e88e4b93e57c97dd5859fcc2ae281a83977c0 (diff)
parent2f1726e3f32d7bdb85cf827b98b6d47ab1a06912 (diff)
Merge pull request #9833 from Pokechu22/ubershaders-tevcoord
UberShaderPixel: always set tevcoord, even if the stage has no texture
Diffstat (limited to 'Source/Core/VideoCommon/UberShaderPixel.cpp')
-rw-r--r--Source/Core/VideoCommon/UberShaderPixel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/UberShaderPixel.cpp b/Source/Core/VideoCommon/UberShaderPixel.cpp
index a9735667fc..fd22d1d278 100644
--- a/Source/Core/VideoCommon/UberShaderPixel.cpp
+++ b/Source/Core/VideoCommon/UberShaderPixel.cpp
@@ -893,7 +893,7 @@ ShaderCode GenPixelShader(APIType ApiType, const ShaderHostConfig& host_config,
" // Emulate s24 overflows\n"
" tevcoord.xy = (tevcoord.xy << 8) >> 8;\n"
" }}\n"
- " else if (texture_enabled)\n"
+ " else\n"
" {{\n"
" tevcoord.xy = fixedPoint_uv;\n"
" }}\n"