mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
Add runtime checks to make sure we aren't overoptimizing the pixel shader cache.
This commit is contained in:
parent
4702de591e
commit
3939f9595a
5 changed files with 68 additions and 26 deletions
|
@ -119,6 +119,8 @@ enum DSTALPHA_MODE
|
|||
};
|
||||
|
||||
const char *GeneratePixelShaderCode(DSTALPHA_MODE dstAlphaMode, API_TYPE ApiType, u32 components);
|
||||
|
||||
// TODO: Wtf, those need components as well! -.-
|
||||
void GetPixelShaderId(PIXELSHADERUID *uid, DSTALPHA_MODE dstAlphaMode);
|
||||
void GetSafePixelShaderId(PIXELSHADERUIDSAFE *uid, DSTALPHA_MODE dstAlphaMode);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue