Searched refs:hasVertex (Results 1 – 2 of 2) sorted by relevance
205 const bool hasVertex = !spec.programs[0].sources.sources[SHADERTYPE_VERTEX].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()
3306 bool hasVertex = shaders[ShaderType::Vertex] != nullptr; in linkValidateShaders() local3308 if (!isSeparable() && (!hasVertex || !hasFragment)) in linkValidateShaders()