Lines Matching refs:subroutineUniform
1084 …void streamSubroutineValidator(std::ostringstream& ret, const SubroutineUniform& subroutineUniform, in streamSubroutineValidator() argument
1087 if (subroutineUniform.defOccurence.occurs(shader) && subroutineUniform.used) in streamSubroutineValidator()
1089 for (int arrayElem = 0; arrayElem < subroutineUniform.arraySize; arrayElem++) in streamSubroutineValidator()
1091 ret << NL " if (any(greaterThan(abs(" << subroutineUniform.getName(); in streamSubroutineValidator()
1092 subroutineUniform.streamArrayStr(ret, arrayElem); in streamSubroutineValidator()
1094 subroutineUniform.getSelectedFunction(arrayElem).getRetVal().streamValue(ret); in streamSubroutineValidator()
1512 …void setSubroutineUniform(const SubroutineUniform& subroutineUniform, const CompiledProgram& progr… in setSubroutineUniform() argument
1515 bool used = subroutineUniform.defOccurence.occurs(stage) && subroutineUniform.used; in setSubroutineUniform()
1519 for (int arrayElem = 0; arrayElem < subroutineUniform.arraySize; arrayElem++) in setSubroutineUniform()
1522 if (subroutineUniform.location.isImplicit(program.stages)) in setSubroutineUniform()
1525 name << subroutineUniform.getName(); in setSubroutineUniform()
1526 subroutineUniform.streamArrayStr(name, arrayElem); in setSubroutineUniform()
1531 loc = subroutineUniform.location.val + arrayElem; in setSubroutineUniform()
1536 const SubroutineFunction& selectedFunction = subroutineUniform.getSelectedFunction(arrayElem); in setSubroutineUniform()
1769 const SubroutineUniform& subroutineUniform, std::set<GLuint>& usedLocations, in runQueryUniformSubroutine() argument
1785 for (int arrayElem = 0; arrayElem < subroutineUniform.arraySize; arrayElem++) in runQueryUniformSubroutine()
1788 name << subroutineUniform.getName(); in runQueryUniformSubroutine()
1790 subroutineUniform.streamArrayStr(name, arrayElem); in runQueryUniformSubroutine()
1820 bool used = subroutineUniform.defOccurence.occurs(stage) && subroutineUniform.used; in runQueryUniformSubroutine()
1824 if (!subroutineUniform.location.isImplicit(std::vector<glw::GLenum>(1, stage))) in runQueryUniformSubroutine()
1827 GLint expected = subroutineUniform.location.val + arrayElem; in runQueryUniformSubroutine()