diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2017-11-21 20:17:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-21 20:17:18 -0800 |
| commit | 066471be076994ea8538d13e8d6979609193a2de (patch) | |
| tree | 6be0e38fd495292ee5f5d63471732164254cccac /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | f2f50d4fe5e0f97d36d6d132f40516ad6174601f (diff) | |
| parent | efb97598629b96378edd783af82936185d8a99ce (diff) | |
Merge pull request #4601 from stenzek/celdamage-lighting
ShaderGen: Always calculate lighting for both color channels
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index b217e6f176..0ccfb09679 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -643,7 +643,7 @@ ShaderCode GeneratePixelShaderCode(APIType ApiType, const ShaderHostConfig& host // out.SetConstantsUsed(C_PLIGHTS, C_PLIGHTS+31); // TODO: Can be optimized further // out.SetConstantsUsed(C_PMATERIALS, C_PMATERIALS+3); GenerateLightingShaderCode(out, uid_data->lighting, uid_data->components << VB_COL_SHIFT, - uid_data->numColorChans, "colors_", "col"); + "colors_", "col"); } // HACK to handle cases where the tex gen is not enabled |
