Example #1
0
 public bool Match(ProjectIssue issue)
 {
     if (!m_MainFilter.Match(issue))
     {
         return(false);
     }
     if (m_HideCompiledVariants)
     {
         return(!issue.GetCustomPropertyAsBool((int)ShaderVariantProperty.Compiled));
     }
     return(true);
 }
Example #2
0
        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);
        }