diff options
| author | Léo Lam <leo@leolam.fr> | 2021-06-24 01:05:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-24 01:05:17 +0200 |
| commit | a632a6a404dc0d6ba8ae3ada1728f6a0c55ede3e (patch) | |
| tree | 898779fc2d2dbcce7b5d1baeab330589a4e4e28b /Source/Core/VideoCommon/UberShaderPixel.cpp | |
| parent | b66e88e4b93e57c97dd5859fcc2ae281a83977c0 (diff) | |
| parent | 2f1726e3f32d7bdb85cf827b98b6d47ab1a06912 (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.cpp | 2 |
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" |
