Lines Matching defs:routine

2788 		"// Sub routine type declaration\n"
2791 "// Sub routine definitions\n"
2812 "// Sub routine uniforms\n"
3640 for (GLint routine = 0; routine < n_active_subroutines; ++routine)
3642 GLuint routine_index = getSubroutineIndex(program_id, subroutine_names[routine], use_program_query);
3657 << ", location: " << uniform_location << ". Subroutine: " << routine
3658 << ", name: " << subroutine_names[routine] << ", index: " << routine_index
3772 << "Error. Invalid result. First routine: " << first_routine_name
3773 << ". Second routine: " << second_routine_name << tcu::TestLog::EndMessage;
3873 "// Sub routine uniforms\n"
3986 for (GLuint routine = 0; routine < n_subroutines_per_type; ++routine)
3988 m_subroutine_indices[type][routine] =
3989 program.getSubroutineIndex(subroutine_names[type][routine], GL_VERTEX_SHADER);
3999 /* Draw with each routine combination */
4045 * @param first_routine_result Result of first routine
4046 * @param second_routine_result Result of second routine
4047 * @param third_routine_result Result of third routine
4048 * @param fourth_routine_result Result of fourth routine
4049 * @param first_routine_expected_result Expected result of first routine
4050 * @param second_routine_expected_result Expected result of second routine
4051 * @param third_routine_expected_result Expected result of third routine
4052 * @param fourth_routine_expected_result Expected result of fourth routine
4126 * @param out_first_routine_result Result of first routine
4127 * @param out_second_routine_result Result of second routine
4128 * @param out_third_routine_result Result of third routine
4129 * @param out_fourth_routine_result Result of fourth routine
4210 * @param first_routine_result Result of first routine
4211 * @param second_routine_result Result of second routine
4212 * @param third_routine_result Result of third routine
4213 * @param fourth_routine_result Result of fourth routine
4214 * @param first_routine_expected_result Expected result of first routine
4215 * @param second_routine_expected_result Expected result of second routine
4216 * @param third_routine_expected_result Expected result of third routine
4217 * @param fourth_routine_expected_result Expected result of fourth routine
4267 "// Sub routine uniform\n"
4268 "subroutine uniform routine_type routine;\n"
4415 "// Sub routine uniform\n"
4416 "subroutine uniform routine_type routine[4];\n"
4435 " out_combined = routine[3](routine[2](routine[1](routine[0](uni_left, uni_right), uni_right), "
4437 " out_combined_inverted = routine[0](routine[1](routine[2](routine[3](uni_left, uni_right), uni_right), "
4440 " out_constant = routine[3](routine[2](routine[1](routine[0](vec4(1, 2, 3, 4), vec4(-5, -6, -7, "
4442 " out_constant_inverted = routine[0](routine[1](routine[2](routine[3](vec4(1, 2, 3, 4), vec4(-5, -6, -7, "
4446 "routine[uni_indices.w](routine[uni_indices.z](routine[uni_indices.y](routine[uni_indices.x](uni_left, "
4449 "routine[uni_indices.x](routine[uni_indices.y](routine[uni_indices.z](routine[uni_indices.w](uni_left, "
4453 " for (uint i = 0u; i < routine.length(); ++i)\n"
4455 " out_loop = routine[i](out_loop, uni_right);\n"
4458 " out_array_length = routine.length() + 6 - (uni_indices.x + uni_indices.y + uni_indices.z + "
4468 static const GLchar* subroutine_uniform_names[] = { "routine[0]", "routine[1]", "routine[2]", "routine[3]" };
4536 for (GLuint routine = 0; routine < n_subroutine_names; ++routine)
4538 m_subroutine_indices[routine] = program.getSubroutineIndex(subroutine_names[routine], GL_VERTEX_SHADER);
5183 "// Sub routine uniform\n"
5184 "subroutine uniform routine_type routine[4][4];\n"
5193 " for (uint j = 0; j < routine.length(); ++j)\n"
5195 " for (uint i = 0; i < routine[j].length(); ++i)\n"
5197 " result = routine[j][i](result);\n"
5211 "routine[0][0]", "routine[1][0]", "routine[2][0]", "routine[3][0]", "routine[0][1]", "routine[1][1]",
5212 "routine[2][1]", "routine[3][1]", "routine[0][2]", "routine[1][2]", "routine[2][2]", "routine[3][2]",
5213 "routine[0][3]", "routine[1][3]", "routine[2][3]", "routine[3][3]"
5261 for (GLuint routine = 0; routine < n_subroutine_names; ++routine)
5263 m_subroutine_indices[routine] = program.getSubroutineIndex(subroutine_names[routine], GL_VERTEX_SHADER);
5797 const GLuint routine = routine_configuration[i];
5799 subroutine_indices[location] = m_subroutine_indices[i][routine];
5977 "subroutine uniform atomic_routine routine;\n"
5981 " routine();\n"
6168 "subroutine uniform image_routine routine;\n"
6172 " routine();\n"
6390 "subroutine uniform ssbo_routine routine;\n"
6394 " routine();\n"
6712 /* Sub-routine */
6769 /* Sub-routine */
6845 /* Sub-routine */
6912 /* Sub-routine */
6972 /* Sub-routine */
8374 TEST_CASE_SWITCH_TO_DIFFERENT_PROGRAM_OBJECT, /* makes the verification routine use program object descriptor */
8386 TEST_CASE_SWITCH_TO_DIFFERENT_PROGRAM_PIPELINE_OBJECT, /* makes the verification routine use pipeline object descriptor */
12162 "subroutine uniform routine_type routine;\n"
12171 " out_result = routine(uni_value, uni_control);\n"
12184 "subroutine uniform routine_type routine;\n"
12193 " return routine(data) / 2;\n"
12202 " out_result = routine(uni_value);\n"
12215 "subroutine uniform routine_type routine;\n"
12219 " return routine(data) + vec4(0.5, 0.5, 0.5, 0.5);\n"
12238 " out_result = routine(uni_value);\n"