Searched refs:hasFragment (Results 1 – 2 of 2) sorted by relevance
206 const bool hasFragment = !spec.programs[0].sources.sources[SHADERTYPE_FRAGMENT].empty(); in isValid() local214 if (spec.caseType == CASETYPE_VERTEX_ONLY && (!hasVertex || hasFragment)) in isValid()220 if (spec.caseType == CASETYPE_FRAGMENT_ONLY && (hasVertex || !hasFragment)) in isValid()226 if (spec.caseType == CASETYPE_COMPLETE && (!hasVertex || !hasFragment)) in isValid()
3307 bool hasFragment = shaders[ShaderType::Fragment] != nullptr; in linkValidateShaders() local3308 if (!isSeparable() && (!hasVertex || !hasFragment)) in linkValidateShaders()