public bool Match(ProjectIssue issue) { if (!m_MainFilter.Match(issue)) { return(false); } if (m_HideCompiledVariants) { return(!issue.GetCustomPropertyAsBool((int)ShaderVariantProperty.Compiled)); } return(true); }
public bool Match(ProjectIssue issue) { if (!m_MainFilter.Match(issue)) { return(false); } var compiled = issue.GetCustomPropertyAsBool(ShaderVariantProperty.Compiled); if (compiled && m_ShowCompiledVariants) { return(true); } if (!compiled && m_ShowUncompiledVariants) { return(true); } return(false); }