VideoCommon: Make IsPassthrough() a function of the ShaderUid.
This commit is contained in:
1 parent
c9e469f832
commit
1b9fe70d7c
4 files changed
+4
-10
No files matched your search
@@ -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