Home
last modified time | relevance | path

Searched refs:subroutineUniforms (Results 1 – 1 of 1) sorted by relevance

/external/deqp/external/openglcts/modules/gles31/
Des31cExplicitUniformLocationTest.cpp974 …static void streamSubroutineDefinitions(const std::vector<SubroutineUniform>& subroutineUniforms, … in streamSubroutineDefinitions() argument
977 if (subroutineUniforms.size()) in streamSubroutineDefinitions()
983 for (size_t i = 0; i < subroutineUniforms.size(); i++) in streamSubroutineDefinitions()
985 if (subroutineUniforms[i].defOccurence.occurs(shader)) in streamSubroutineDefinitions()
989 ret << "subroutine vec4 " << subroutineUniforms[i].functions.getTypeName() << "(float param);" in streamSubroutineDefinitions()
992 for (size_t fn = 0; fn < subroutineUniforms[i].functions.fn.size(); fn++) in streamSubroutineDefinitions()
995 subroutineUniforms[i].functions.fn[fn].index.streamDefinition(ret, shader); in streamSubroutineDefinitions()
996 ret << "subroutine(" << subroutineUniforms[i].functions.getTypeName() << ") vec4 " in streamSubroutineDefinitions()
997 << subroutineUniforms[i].functions.fn[fn].getName() << "(float param) { return zero + "; in streamSubroutineDefinitions()
998 subroutineUniforms[i].functions.fn[fn].getRetVal().streamValue(ret); in streamSubroutineDefinitions()
[all …]