diff options
| author | Stenzek <stenzek@gmail.com> | 2018-05-26 00:09:10 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-05-26 00:09:10 +1000 |
| commit | 9a5c2119e51c27667ec857075b7cdcae737f05dc (patch) | |
| tree | acf968691d430f3a7f2a0822425cfabe36898294 /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | 640bfb813511d9cf1da38ce22835ec850146acd9 (diff) | |
ShaderCache: Remove unused UID bits before inserting into shader map
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index aae881a0f1..e34251e110 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -338,7 +338,8 @@ PixelShaderUid GetPixelShaderUid() return out; } -void ClearUnusedPixelShaderUidBits(APIType ApiType, PixelShaderUid* uid) +void ClearUnusedPixelShaderUidBits(APIType ApiType, const ShaderHostConfig& host_config, + PixelShaderUid* uid) { pixel_shader_uid_data* uid_data = uid->GetUidData<pixel_shader_uid_data>(); |
