mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
PixelShaderGen: Drop dstAlphaMode constant in shader generation.
It is already stored within the UID.
This commit is contained in:
parent
7b29b3c571
commit
829fc8f0ad
10 changed files with 26 additions and 33 deletions
|
@ -60,7 +60,7 @@ bool ShaderCache<Uid>::SetShader(DSTALPHA_MODE dst_alpha_mode, u32 primitive_typ
|
|||
}
|
||||
|
||||
// Need to compile a new shader
|
||||
ShaderCode code = GenerateCode(dst_alpha_mode, APIType::OpenGL, uid);
|
||||
ShaderCode code = GenerateCode(APIType::OpenGL, uid);
|
||||
m_shaders.emplace(uid, code.GetBuffer());
|
||||
|
||||
GFX_DEBUGGER_PAUSE_AT(NEXT_PIXEL_SHADER_CHANGE, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue