Lines Matching refs:programs
100 const bool isSeparable = !spec.programs.empty() && spec.programs[0].sources.separable; in isValid()
102 if (spec.programs.empty()) in isValid()
157 for (size_t progNdx = 0; progNdx < spec.programs.size(); ++progNdx) in isValid()
165 const bool hasShader = !spec.programs[progNdx].sources.sources[shaderStageNdx].empty(); in isValid()
166 const bool isEnabled = (spec.programs[progNdx].activeStages & curStageMask) != 0; in isValid()
183 else if (!spec.programs[progNdx].sources.sources[shaderStageNdx].empty()) in isValid()
205 const bool hasVertex = !spec.programs[0].sources.sources[SHADERTYPE_VERTEX].empty(); in isValid()
206 const bool hasFragment = !spec.programs[0].sources.sources[SHADERTYPE_FRAGMENT].empty(); in isValid()
208 if (spec.programs.size() != 1) in isValid()
1467 spec.programs.resize(1); in parseShaderCase()
1468 spec.programs[0].sources << VertexSource(bothSource); in parseShaderCase()
1469 spec.programs[0].requiredExtensions = requiredExts; in parseShaderCase()
1483 spec.programs.resize(1); in parseShaderCase()
1484 spec.programs[0].sources << FragmentSource(bothSource); in parseShaderCase()
1485 spec.programs[0].requiredExtensions = requiredExts; in parseShaderCase()
1501 spec.programs.resize(1); in parseShaderCase()
1502 spec.programs[0].sources.sources[SHADERTYPE_VERTEX].swap(vertexSources); in parseShaderCase()
1503 spec.programs[0].sources.sources[SHADERTYPE_FRAGMENT].swap(fragmentSources); in parseShaderCase()
1504 spec.programs[0].sources.sources[SHADERTYPE_TESSELLATION_CONTROL].swap(tessellationCtrlSources); in parseShaderCase()
1505 …spec.programs[0].sources.sources[SHADERTYPE_TESSELLATION_EVALUATION].swap(tessellationEvalSources); in parseShaderCase()
1506 spec.programs[0].sources.sources[SHADERTYPE_GEOMETRY].swap(geometrySources); in parseShaderCase()
1507 spec.programs[0].requiredExtensions.swap(requiredExts); in parseShaderCase()
1534 spec.programs.swap(pipelinePrograms); in parseShaderCase()