mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
ShaderCache: Remove unused UID bits before inserting into shader map
This commit is contained in:
parent
640bfb8135
commit
9a5c2119e5
5 changed files with 29 additions and 12 deletions
|
@ -29,7 +29,8 @@ PixelShaderUid GetPixelShaderUid()
|
|||
return out;
|
||||
}
|
||||
|
||||
void ClearUnusedPixelShaderUidBits(APIType ApiType, PixelShaderUid* uid)
|
||||
void ClearUnusedPixelShaderUidBits(APIType ApiType, const ShaderHostConfig& host_config,
|
||||
PixelShaderUid* uid)
|
||||
{
|
||||
pixel_ubershader_uid_data* uid_data = uid->GetUidData<pixel_ubershader_uid_data>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue