mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-30 16:01:09 -04:00
VideoCommon: Make IsPassthrough() a function of the ShaderUid.
This commit is contained in:
@@ -211,7 +211,7 @@ bool GeometryShaderCache::SetShader(u32 primitive_type)
|
||||
last_uid = uid;
|
||||
|
||||
// Check if the shader is a pass-through shader
|
||||
if (IsPassthroughGeometryShader(uid))
|
||||
if (uid.GetUidData()->IsPassthrough())
|
||||
{
|
||||
// Return the default pass-through shader
|
||||
last_entry = &pass_entry;
|
||||
|
||||
Reference in New Issue
Block a user