mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
VideoCommon: Make dst_alpha state implicit.
This commit is contained in:
parent
b7d8bd13a6
commit
41b0c74e30
33 changed files with 79 additions and 149 deletions
|
@ -33,9 +33,9 @@ void ShaderCache<Uid>::Clear()
|
|||
}
|
||||
|
||||
template <typename Uid>
|
||||
bool ShaderCache<Uid>::SetShader(DSTALPHA_MODE dst_alpha_mode, u32 primitive_type)
|
||||
bool ShaderCache<Uid>::SetShader(u32 primitive_type)
|
||||
{
|
||||
Uid uid = GetUid(dst_alpha_mode, primitive_type, APIType::OpenGL);
|
||||
Uid uid = GetUid(primitive_type, APIType::OpenGL);
|
||||
|
||||
// Check if the shader is already set
|
||||
if (m_last_entry)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue