summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/UberShaderPixel.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-04-17 09:57:16 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-05-07 16:28:08 -0700
commit002ff4e4dd594c75898df9ba5ee4a14bc8fb7f77 (patch)
tree70eae9bf8e69979dc1d0662bfd59e8439e36e32e /Source/Core/VideoCommon/UberShaderPixel.cpp
parentc3668e179c28dbe769f8a128e780a2269044f962 (diff)
PixelShaderGen: Remove unused num_texgens argument
It became unused in f039149198657c1891e1c6462ed30c31ed4b8486.
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 996d3c1d55..f3a1fe2a4b 100644
--- a/Source/Core/VideoCommon/UberShaderPixel.cpp
+++ b/Source/Core/VideoCommon/UberShaderPixel.cpp
@@ -64,7 +64,7 @@ ShaderCode GenPixelShader(APIType ApiType, const ShaderHostConfig& host_config,
out.Write("// Pixel UberShader for {} texgens{}{}\n", numTexgen,
early_depth ? ", early-depth" : "", per_pixel_depth ? ", per-pixel depth" : "");
- WritePixelShaderCommonHeader(out, ApiType, numTexgen, host_config, bounding_box);
+ WritePixelShaderCommonHeader(out, ApiType, host_config, bounding_box);
WriteUberShaderCommonHeader(out, ApiType, host_config);
if (per_pixel_lighting)
WriteLightingFunction(out);