Lines Matching refs:test_case
5577 GLuint test_case = DEBUG_REPEATED_TEST_CASE; in test() local
5581 for (GLuint test_case = 0; test_case < n_test_cases; ++test_case) in test()
5586 if (!testCase(test_case)) in test()
5588 const std::string& test_case_name = getTestCaseName(test_case); in test()
5597 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Test case (" << test_case in test()
8295 testCase& test_case = m_test_cases[test_case_index]; in test() local
8297 if (Utils::Shader::COMPUTE == test_case.m_stage) in test()
8303 Utils::replaceToken("CONSTANT", position, getConstantName(test_case.m_constant), source); in test()
8331 if (test_case.m_stage == stage) in test()
8333 Utils::replaceToken("CONSTANT", position, getConstantName(test_case.m_constant), assignment); in test()
8389 testCase test_case = { (CONSTANTS)constant, (Utils::Shader::STAGES)stage }; in test() local
8391 m_test_cases.push_back(test_case); in test()
8984 testCase& test_case = m_test_cases[test_case_index]; in test() local
8985 const GLchar* qualifier = getQualifierName(test_case.m_qualifier); in test()
9021 if (test_case.m_stage == stage) in test()
9086 testCase test_case = { (QUALIFIERS)qualifier, (Utils::Shader::STAGES)stage }; in test() local
9088 m_test_cases.push_back(test_case); in test()
9390 testCase& test_case = m_test_cases[test_case_index]; in test() local
9392 if (test_case.m_stage == stage) in test()
9395 const GLuint offset = test_case.m_offset; in test()
9397 const Utils::Type& type = test_case.m_type; in test()
9466 testCase& test_case = m_test_cases[test_case_index]; in test() local
9468 stream << "Type: " << test_case.m_type.GetGLSLTypeName() << ", offset: " << test_case.m_offset; in test()
9563 testCase test_case = { offset, should_fail, (Utils::Shader::STAGES)stage, type }; in test() local
9565 m_test_cases.push_back(test_case); in test()
9574 testCase test_case = { offset, should_fail, (Utils::Shader::STAGES)stage, type }; in test() local
9576 m_test_cases.push_back(test_case); in test()
9861 testCase& test_case = m_test_cases[test_case_index]; in test() local
9863 if (test_case.m_stage == stage) in test()
9866 const GLuint boy_offset = test_case.m_boy_offset; in test()
9867 const Utils::Type& boy_type = test_case.m_boy_type; in test()
9869 const GLuint man_offset = test_case.m_man_offset; in test()
9870 const Utils::Type& man_type = test_case.m_man_type; in test()
9943 testCase& test_case = m_test_cases[test_case_index]; in test() local
9945 …stream << "Type: " << test_case.m_boy_type.GetGLSLTypeName() << ", offset: " << test_case.m_boy_of… in test()
9946 … << ". Type: " << test_case.m_man_type.GetGLSLTypeName() << ", offset: " << test_case.m_man_offset; in test()
10021 testCase test_case = { boy_offset, boy_type, man_before_off, man_type, in test() local
10024 m_test_cases.push_back(test_case); in test()
10029 testCase test_case = { boy_offset, boy_type, man_after_off, man_type, in test() local
10032 m_test_cases.push_back(test_case); in test()
10036 … testCase test_case = { boy_offset, boy_type, boy_offset, man_type, (Utils::Shader::STAGES)stage }; in test() local
10038 m_test_cases.push_back(test_case); in test()
10350 testCase& test_case = m_test_cases[test_case_index]; in test() local
10352 if (test_case.m_stage == stage) in test()
10355 const GLuint alignment = test_case.m_alignment; in test()
10356 const Utils::Type& type = test_case.m_type; in test()
10425 testCase& test_case = m_test_cases[test_case_index]; in test() local
10427 stream << "Type: " << test_case.m_type.GetGLSLTypeName() << ", align: " << test_case.m_alignment; in test()
10512 testCase test_case = { align, type, should_fail, (Utils::Shader::STAGES)stage }; in test() local
10514 m_test_cases.push_back(test_case); in test()
10982 testCase& test_case = m_test_cases[test_case_index]; in test() local
10983 std::string qualifier = getQualifierName(test_case.m_qualifier); in test()
11016 if (test_case.m_stage == stage) in test()
11139 testCase test_case = { (QUALIFIERS)qualifier, (Utils::Shader::STAGES)stage }; in test() local
11141 m_test_cases.push_back(test_case); in test()
11448 testCase& test_case = m_test_cases[test_case_index]; in test() local
11450 if (test_case.m_stage == stage) in test()
11453 const GLuint offset = test_case.m_offset; in test()
11455 const Utils::Type& type = test_case.m_type; in test()
11822 testCase& test_case = m_test_cases[test_case_index]; in test() local
11824 if (test_case.m_stage == stage) in test()
11827 const GLuint boy_offset = test_case.m_boy_offset; in test()
11828 const Utils::Type& boy_type = test_case.m_boy_type; in test()
11830 const GLuint man_offset = test_case.m_man_offset; in test()
11831 const Utils::Type& man_type = test_case.m_man_type; in test()
12195 testCase& test_case = m_test_cases[test_case_index]; in test() local
12197 if (test_case.m_stage == stage) in test()
12200 const GLuint alignment = test_case.m_alignment; in test()
12201 const Utils::Type& type = test_case.m_type; in test()
13338 testCase& test_case = m_test_cases[test_case_index]; in test() local
13340 const GLchar* var_use = Utils::Shader::VERTEX == test_case.m_stage ? input_use : "\n"; in test()
13344 if (!test_case.m_is_input) in test()
13350 if (test_case.m_stage == stage) in test()
13362 array = test_case.m_is_input ? "[]" : ""; in test()
13363 index = test_case.m_is_input ? "[0]" : ""; in test()
13372 array = test_case.m_is_input ? "[]" : ""; in test()
13373 index = test_case.m_is_input ? "[0]" : ""; in test()
13427 testCase& test_case = m_test_cases[test_case_index]; in test() local
13429 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", direction: "; in test()
13431 if (true == test_case.m_is_input) in test()
13844 testCase& test_case = m_test_cases[test_case_index]; in test() local
13845 const GLchar* var_use = Utils::Shader::VERTEX == test_case.m_stage ? input_use : "\n"; in test()
13846 const GLchar* definition = test_case.m_qualify_all ? block_definition_all : block_definition_one; in test()
13848 if (!test_case.m_is_input) in test()
13854 if (test_case.m_stage == stage) in test()
13866 array = test_case.m_is_input ? "[]" : ""; in test()
13867 index = test_case.m_is_input ? "[0]" : ""; in test()
13876 array = test_case.m_is_input ? "[]" : ""; in test()
13877 index = test_case.m_is_input ? "[0]" : ""; in test()
13931 testCase& test_case = m_test_cases[test_case_index]; in test() local
13933 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", direction: "; in test()
13935 if (true == test_case.m_is_input) in test()
13944 if (true == test_case.m_qualify_all) in test()
14258 testCase& test_case = m_test_cases[test_case_index]; in test() local
14259 const GLchar* var_use = Utils::Shader::VERTEX == test_case.m_stage ? input_use : "\n"; in test()
14261 if (!test_case.m_is_input) in test()
14267 if (test_case.m_stage == stage) in test()
14278 array = test_case.m_is_input ? "[]" : ""; in test()
14279 index = test_case.m_is_input ? "[0]" : ""; in test()
14288 array = test_case.m_is_input ? "[]" : ""; in test()
14289 index = test_case.m_is_input ? "[0]" : ""; in test()
14342 testCase& test_case = m_test_cases[test_case_index]; in test() local
14344 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", direction: "; in test()
14346 if (true == test_case.m_is_input) in test()
14633 testCase& test_case = m_test_cases[test_case_index]; in test() local
14640 if (test_case.m_stage == stage) in test()
14647 GLuint last = getLastInputLocation(stage, test_case.m_type, 0, true); in test()
14648 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
14652 if (false == test_case.m_is_input) in test()
14655 last = getLastOutputLocation(stage, test_case.m_type, 0, true); in test()
14660 if (isFlatRequired(stage, test_case.m_type, storage)) in test()
14674 array = test_case.m_is_input ? "[]" : ""; in test()
14675 index = test_case.m_is_input ? "[0]" : ""; in test()
14685 array = test_case.m_is_input ? "[]" : ""; in test()
14686 index = test_case.m_is_input ? "[0]" : ""; in test()
14743 testCase& test_case = m_test_cases[test_case_index]; in test() local
14745 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
14746 << " type: " << test_case.m_type.GetGLSLTypeName() << ", direction: "; in test()
14748 if (true == test_case.m_is_input) in test()
14788 const testCase& test_case = m_test_cases[test_case_index]; in test() local
14790 return test_case.m_is_input && test_case.m_stage != Utils::Shader::VERTEX; in test()
14856 const testCase& test_case = m_test_cases[test_case_index]; in test() local
14857 const Utils::Type vector_type = Utils::Type::GetType(test_case.m_type, 1, 4); in test()
14882 …prepareShaderStage(Utils::Shader::FRAGMENT, vector_type, program_interface, test_case, varying_pas… in test()
14883 …prepareShaderStage(Utils::Shader::GEOMETRY, vector_type, program_interface, test_case, varying_pas… in test()
14884 …prepareShaderStage(Utils::Shader::TESS_CTRL, vector_type, program_interface, test_case, varying_pa… in test()
14885 …prepareShaderStage(Utils::Shader::TESS_EVAL, vector_type, program_interface, test_case, varying_pa… in test()
14886 …prepareShaderStage(Utils::Shader::VERTEX, vector_type, program_interface, test_case, varying_passt… in test()
14899 const testCase& test_case = m_test_cases[test_case_index]; in test() local
14903 switch (test_case.m_type) in test()
14921 switch (test_case.m_layout) in test()
15073 Utils::ProgramInterface& program_interface, const testCase& test_case, in test() argument
15099 switch (test_case.m_layout) in test()
15569 testCase& test_case = m_test_cases[test_case_index]; in test() local
15571 if (test_case.m_stage == stage) in test()
15579 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
15584 if (false == test_case.m_is_input) in test()
15589 if (false == test_case.m_is_array) in test()
15602 if (false == test_case.m_is_array) in test()
15614 if (isFlatRequired(stage, test_case.m_type, storage, true)) in test()
15619 sprintf(buffer, "%d", test_case.m_component); in test()
15628 array = test_case.m_is_input ? "[]" : ""; in test()
15629 index = test_case.m_is_input ? "[0]" : ""; in test()
15638 array = test_case.m_is_input ? "[]" : ""; in test()
15639 index = test_case.m_is_input ? "[0]" : ""; in test()
15695 testCase& test_case = m_test_cases[test_case_index]; in test() local
15697 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
15698 << " type: " << test_case.m_type.GetGLSLTypeName(); in test()
15700 if (true == test_case.m_is_array) in test()
15707 if (true == test_case.m_is_input) in test()
15716 stream << ", component: " << test_case.m_component; in test()
16037 testCase& test_case = m_test_cases[test_case_index]; in test() local
16039 if (test_case.m_stage == stage) in test()
16046 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
16051 if (false == test_case.m_is_input) in test()
16056 if (false == test_case.m_is_array) in test()
16069 if (false == test_case.m_is_array) in test()
16081 if (isFlatRequired(stage, test_case.m_type, storage, true)) in test()
16093 array = test_case.m_is_input ? "[]" : ""; in test()
16094 index = test_case.m_is_input ? "[0]" : ""; in test()
16103 array = test_case.m_is_input ? "[]" : ""; in test()
16104 index = test_case.m_is_input ? "[0]" : ""; in test()
16159 testCase& test_case = m_test_cases[test_case_index]; in test() local
16161 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
16162 << " type: " << test_case.m_type.GetGLSLTypeName(); in test()
16164 if (true == test_case.m_is_array) in test()
16171 if (true == test_case.m_is_input) in test()
16470 testCase& test_case = m_test_cases[test_case_index]; in test() local
16472 if (test_case.m_stage == stage) in test()
16479 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
16484 if (false == test_case.m_is_input) in test()
16491 if (isFlatRequired(stage, test_case.m_type, storage, true)) in test()
16496 sprintf(buffer, "%d", test_case.m_component); in test()
16505 array = test_case.m_is_input ? "[]" : ""; in test()
16506 index = test_case.m_is_input ? "[0]" : ""; in test()
16515 array = test_case.m_is_input ? "[]" : ""; in test()
16516 index = test_case.m_is_input ? "[0]" : ""; in test()
16572 testCase& test_case = m_test_cases[test_case_index]; in test() local
16574 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
16575 << " type: " << test_case.m_type.GetGLSLTypeName() << ", direction: "; in test()
16577 if (true == test_case.m_is_input) in test()
16586 stream << ", component: " << test_case.m_component; in test()
16916 testCase& test_case = m_test_cases[test_case_index]; in test() local
16918 if (test_case.m_stage == stage) in test()
16926 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
16931 if (false == test_case.m_is_input) in test()
16936 if (false == test_case.m_is_array) in test()
16938 switch (test_case.m_case) in test()
16959 switch (test_case.m_case) in test()
16981 if (false == test_case.m_is_array) in test()
16983 switch (test_case.m_case) in test()
17004 switch (test_case.m_case) in test()
17025 if (isFlatRequired(stage, test_case.m_type, storage)) in test()
17031 sprintf(buffer, " /* , component = %d */", test_case.m_component); in test()
17033 sprintf(buffer, ", component = %d", test_case.m_component); in test()
17043 array = test_case.m_is_input ? "[]" : ""; in test()
17044 index = test_case.m_is_input ? "[0]" : ""; in test()
17053 array = test_case.m_is_input ? "[]" : ""; in test()
17054 index = test_case.m_is_input ? "[0]" : ""; in test()
17110 testCase& test_case = m_test_cases[test_case_index]; in test() local
17112 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
17113 << " type: " << test_case.m_type.GetGLSLTypeName(); in test()
17115 if (true == test_case.m_is_array) in test()
17122 if (true == test_case.m_is_input) in test()
17131 stream << ", component: " << test_case.m_component; in test()
17481 testCase& test_case = m_test_cases[test_case_index]; in test() local
17483 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
17485 sprintf(buffer_gohan, "%d", test_case.m_component_gohan); in test()
17487 if (test_case.m_stage == stage) in test()
17496 if (isFlatRequired(stage, test_case.m_type, Utils::Variable::VARYING_INPUT, true)) in test()
17501 sprintf(buffer_goten, "%d", test_case.m_component_goten); in test()
17546 if (isFlatRequired(stage, test_case.m_type, Utils::Variable::VARYING_OUTPUT, true)) in test()
17589 testCase& test_case = m_test_cases[test_case_index]; in test() local
17591 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
17592 …<< " type: " << test_case.m_type.GetGLSLTypeName() << ", components: " << test_case.m_component_go… in test()
17593 << " & " << test_case.m_component_goten; in test()
17626 testCase& test_case = m_test_cases[test_case_index]; in test() local
17628 return (Utils::Shader::VERTEX != test_case.m_stage); in test()
17663 testCase test_case = { *it_gohan, *it_goten, (Utils::Shader::STAGES)stage, type }; in test() local
17665 m_test_cases.push_back(test_case); in test()
17893 testCase& test_case = m_test_cases[test_case_index]; in test() local
17895 if (test_case.m_stage == stage) in test()
17903 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
17905 if (isFlatRequired(stage, test_case.m_type, Utils::Variable::VARYING_OUTPUT)) in test()
17910 sprintf(buffer_gohan, "%d", test_case.m_component_gohan); in test()
17911 sprintf(buffer_goten, "%d", test_case.m_component_goten); in test()
17985 testCase& test_case = m_test_cases[test_case_index]; in test() local
17987 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
17988 …<< " type: " << test_case.m_type.GetGLSLTypeName() << ", components: " << test_case.m_component_go… in test()
17989 << " & " << test_case.m_component_goten; in test()
18051 testCase test_case = { *it_gohan, *it_goten, (Utils::Shader::STAGES)stage, type }; in test() local
18053 m_test_cases.push_back(test_case); in test()
18288 testCase& test_case = m_test_cases[test_case_index]; in test() local
18290 if (test_case.m_stage == stage) in test()
18301 const GLchar* type_gohan_name = test_case.m_type_gohan.GetGLSLTypeName(); in test()
18302 const GLchar* type_goten_name = test_case.m_type_goten.GetGLSLTypeName(); in test()
18306 if (false == test_case.m_is_input) in test()
18317 if (isFlatRequired(stage, test_case.m_type_gohan, storage) || in test()
18318 isFlatRequired(stage, test_case.m_type_goten, storage)) in test()
18324 sprintf(buffer_gohan, "%d", test_case.m_component_gohan); in test()
18325 sprintf(buffer_goten, "%d", test_case.m_component_goten); in test()
18328 …type_goten_name = Utils::Type::GetType(test_case.m_type_gohan.m_basic_type, 1, 1).GetGLSLTypeName(… in test()
18329 if (Utils::Type::Double == test_case.m_type_gohan.m_basic_type) in test()
18331 sprintf(buffer_goten, "%d", 0 == test_case.m_component_gohan ? 2 : 0); in test()
18342 array = test_case.m_is_input ? "[]" : ""; in test()
18343 index = test_case.m_is_input ? "[0]" : ""; in test()
18352 array = test_case.m_is_input ? "[]" : ""; in test()
18353 index = test_case.m_is_input ? "[0]" : ""; in test()
18378 if (!test_case.m_is_input) in test()
18429 testCase& test_case = m_test_cases[test_case_index]; in test() local
18431 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", " in test()
18432 << test_case.m_type_gohan.GetGLSLTypeName() << " at " << test_case.m_component_gohan << ", " in test()
18433 …<< test_case.m_type_goten.GetGLSLTypeName() << " at " << test_case.m_component_goten << ". Directi… in test()
18435 if (true == test_case.m_is_input) in test()
18775 testCase& test_case = m_test_cases[test_case_index]; in test() local
18777 if (test_case.m_stage == stage) in test()
18784 const GLchar* int_gohan = getInterpolationQualifier(test_case.m_interpolation_gohan); in test()
18785 const GLchar* int_goten = getInterpolationQualifier(test_case.m_interpolation_goten); in test()
18787 if (FLAT == test_case.m_interpolation_goten) in test()
18798 const GLchar* type_gohan_name = test_case.m_type_gohan.GetGLSLTypeName(); in test()
18799 const GLchar* type_goten_name = test_case.m_type_goten.GetGLSLTypeName(); in test()
18802 if (false == test_case.m_is_input) in test()
18809 sprintf(buffer_gohan, "%d", test_case.m_component_gohan); in test()
18810 sprintf(buffer_goten, "%d", test_case.m_component_goten); in test()
18819 array = test_case.m_is_input ? "[]" : ""; in test()
18820 index = test_case.m_is_input ? "[0]" : ""; in test()
18829 array = test_case.m_is_input ? "[]" : ""; in test()
18830 index = test_case.m_is_input ? "[0]" : ""; in test()
18855 if (!test_case.m_is_input) in test()
18906 testCase& test_case = m_test_cases[test_case_index]; in test() local
18908 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", " in test()
18909 << getInterpolationQualifier(test_case.m_interpolation_gohan) << " " in test()
18910 << test_case.m_type_gohan.GetGLSLTypeName() << " at " << test_case.m_component_gohan << ", " in test()
18911 << getInterpolationQualifier(test_case.m_interpolation_goten) << " " in test()
18912 …<< test_case.m_type_goten.GetGLSLTypeName() << " at " << test_case.m_component_goten << ". Directi… in test()
18914 if (true == test_case.m_is_input) in test()
19324 testCase& test_case = m_test_cases[test_case_index]; in test() local
19326 if (test_case.m_stage == stage) in test()
19330 const GLchar* aux_gohan = getAuxiliaryQualifier(test_case.m_aux_gohan); in test()
19334 const GLchar* aux_goten = getAuxiliaryQualifier(test_case.m_aux_goten); in test()
19345 const GLchar* type_gohan_name = test_case.m_type_gohan.GetGLSLTypeName(); in test()
19346 const GLchar* type_goten_name = test_case.m_type_goten.GetGLSLTypeName(); in test()
19349 if (false == test_case.m_is_input) in test()
19356 if (isFlatRequired(stage, test_case.m_type_gohan, storage) || in test()
19357 isFlatRequired(stage, test_case.m_type_goten, storage)) in test()
19362 sprintf(buffer_gohan, "%d", test_case.m_component_gohan); in test()
19363 sprintf(buffer_goten, "%d", test_case.m_component_goten); in test()
19372 array_gohan = test_case.m_is_input ? "[]" : ""; in test()
19373 index_gohan = test_case.m_is_input ? "[0]" : ""; in test()
19374 array_goten = test_case.m_is_input ? "[]" : ""; in test()
19375 index_goten = test_case.m_is_input ? "[0]" : ""; in test()
19379 if (PATCH != test_case.m_aux_gohan) in test()
19388 if (PATCH != test_case.m_aux_goten) in test()
19397 if (PATCH != test_case.m_aux_gohan) in test()
19399 array_gohan = test_case.m_is_input ? "[]" : ""; in test()
19400 index_gohan = test_case.m_is_input ? "[0]" : ""; in test()
19406 if (PATCH != test_case.m_aux_goten) in test()
19408 array_goten = test_case.m_is_input ? "[]" : ""; in test()
19409 index_goten = test_case.m_is_input ? "[0]" : ""; in test()
19438 if (!test_case.m_is_input) in test()
19490 testCase& test_case = m_test_cases[test_case_index]; in test() local
19492 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", " in test()
19493 …<< getAuxiliaryQualifier(test_case.m_aux_gohan) << " " << test_case.m_type_gohan.GetGLSLTypeName()… in test()
19494 << test_case.m_component_gohan << ", " << getAuxiliaryQualifier(test_case.m_aux_goten) << " " in test()
19495 …<< test_case.m_type_goten.GetGLSLTypeName() << " at " << test_case.m_component_goten << ". Directi… in test()
19497 if (true == test_case.m_is_input) in test()
20243 testCase& test_case = m_test_cases[test_case_index]; in test() local
20245 if (test_case.m_stage == stage) in test()
20251 switch (test_case.m_qualifier) in test()
20330 testCase& test_case = m_test_cases[test_case_index]; in test() local
20332 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", qualifier: "; in test()
20334 switch (test_case.m_qualifier) in test()
20386 testCase test_case = { (QUALIFIERS)qualifier, (Utils::Shader::STAGES)stage }; in test() local
20388 m_test_cases.push_back(test_case); in test()
21355 testCase& test_case = m_test_cases[test_case_index]; in test() local
21357 if (test_case.m_stage == stage) in test()
21363 switch (test_case.m_case) in test()
21406 switch (test_case.m_stage) in test()
21464 testCase& test_case = m_test_cases[test_case_index]; in test() local
21466 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", case: "; in test()
21468 switch (test_case.m_case) in test()
21533 testCase test_case = { (CASES)c, (Utils::Shader::STAGES)stage }; in test() local
21535 m_test_cases.push_back(test_case); in test()
21697 testCase& test_case = m_test_cases[test_case_index]; in test() local
21699 if (test_case.m_stage == stage) in test()
21703 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
21707 sprintf(buffer, "%d", test_case.m_type.GetSize()); in test()
21709 switch (test_case.m_case) in test()
21747 switch (test_case.m_stage) in test()
21805 testCase& test_case = m_test_cases[test_case_index]; in test() local
21807 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
21808 << ", type: " << test_case.m_type.GetGLSLTypeName() << ", case: "; in test()
21810 switch (test_case.m_case) in test()
21853 testCase& test_case = m_test_cases[test_case_index]; in test() local
21855 return (INVALID == test_case.m_case); in test()
21878 testCase test_case = { static_cast<CASES>(c), static_cast<Utils::Shader::STAGES>(stage), type }; in test() local
21880 m_test_cases.push_back(test_case); in test()
22054 Utils::Shader::STAGES test_case = m_test_cases[test_case_index]; in test() local
22056 if (test_case == stage) in test()
22103 switch (test_case) in test()
22537 testCase& test_case = m_test_cases[test_case_index]; in test() local
22539 if (test_case.m_stage == stage) in test()
22544 switch (test_case.m_case) in test()
22575 switch (test_case.m_stage) in test()
22633 testCase& test_case = m_test_cases[test_case_index]; in test() local
22635 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", case: "; in test()
22637 switch (test_case.m_case) in test()
22680 testCase& test_case = m_test_cases[test_case_index]; in test() local
22682 return (INVALID == test_case.m_case); in test()
22700 testCase test_case = { (CASES)c, (Utils::Shader::STAGES)stage }; in test() local
22702 m_test_cases.push_back(test_case); in test()
22853 const test_Case& test_case = m_test_cases[test_case_index]; in test() local
22855 if (test_case.m_stage == stage) in test()
22862 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
22865 sprintf(buffer, "%d", test_case.m_type.GetSize()); in test()
22867 if (XFB == test_case.m_case) in test()
22907 if (XFB == test_case.m_case) in test()
22935 const test_Case& test_case = m_test_cases[test_case_index]; in test() local
22937 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
22938 << ", type: " << test_case.m_type.GetGLSLTypeName() << ", case: "; in test()
22940 switch (test_case.m_case) in test()
22990 const test_Case& test_case = m_test_cases[test_case_index]; in test() local
22991 const GLenum type_enum = test_case.m_type.GetTypeGLenum(); in test()
22992 const GLint type_size = test_case.m_type.GetSize(); in test()
23023 if (SEPARATED != test_case.m_case) in test()
23085 const test_Case& test_case = m_test_cases[test_case_index]; in test() local
23092 if (INTERLEAVED == test_case.m_case) in test()
23107 int numComponents = test_case.m_type.GetSize() / 4; in test()
23118 else if (SEPARATED == test_case.m_case) in test()
23932 testCase& test_case = m_test_cases[test_case_index]; in test() local
23934 if (test_case.m_stage == stage) in test()
23948 switch (test_case.m_case) in test()
23988 switch (test_case.m_stage) in test()
24046 testCase& test_case = m_test_cases[test_case_index]; in test() local
24048 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", case: "; in test()
24050 switch (test_case.m_case) in test()
24103 testCase test_case = { (CASES)c, (Utils::Shader::STAGES)stage }; in test() local
24105 m_test_cases.push_back(test_case); in test()
24269 testCase& test_case = m_test_cases[test_case_index]; in test() local
24271 if (test_case.m_stage == stage) in test()
24288 switch (test_case.m_case) in test()
24328 switch (test_case.m_stage) in test()
24386 testCase& test_case = m_test_cases[test_case_index]; in test() local
24388 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) << ", case: "; in test()
24390 switch (test_case.m_case) in test()
24443 testCase test_case = { (CASES)c, (Utils::Shader::STAGES)stage }; in test() local
24445 m_test_cases.push_back(test_case); in test()
24641 const _testCase& test_case = m_test_cases[test_case_index]; in test() local
24642 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
24644 if (test_case.m_stage == stage) in test()
24682 const GLuint type_size = test_case.m_type.GetSize(); in test()
24715 switch (test_case.m_stage) in test()
24776 const _testCase& test_case = m_test_cases[test_case_index]; in test() local
24779 name.append(Utils::Shader::GetStageName(test_case.m_stage)); in test()
24781 name.append(test_case.m_type.GetGLSLTypeName()); in test()
24844 const testCase& test_case = m_test_cases[test_case_index]; in test() local
24846 if (Utils::Shader::VERTEX == test_case.m_stage) in test()
24873 const testCase& test_case = m_test_cases[test_case_index]; in test() local
24874 const Utils::Type& type = test_case.m_type; in test()
24906 …const GLuint xfb_data_size = (test_case.m_stage == Utils::Shader::VERTEX) ? xfb_type_size : xfb_ty… in test()
24921 if (test_case.m_stage == Utils::Shader::VERTEX) in test()
24942 const testCase& test_case = m_test_cases[test_case_index]; in test() local
24955 if (test_case.m_stage == stage) in test()
24993 Utils::replaceAllTokens("TYPE", test_case.m_type.GetGLSLTypeName(), out_assignments); in test()
25014 const testCase& test_case = m_test_cases[test_case_index]; in test() local
25018 if (test_case.m_stage == stage) in test()
25054 if (Utils::Type::Float != test_case.m_type.m_basic_type) in test()
25060 Utils::replaceAllTokens("TYPE", test_case.m_type.GetGLSLTypeName(), out_interface); in test()
25073 const testCase& test_case = m_test_cases[test_case_index]; in test() local
25075 switch (test_case.m_stage) in test()
25124 const testCase& test_case = m_test_cases[test_case_index]; in test() local
25126 stream << "Type: " << test_case.m_type.GetGLSLTypeName() in test()
25127 << ", stage: " << Utils::Shader::GetStageName(test_case.m_stage); in test()
25160 testCase test_case = { (Utils::Shader::STAGES)stage, type }; in test() local
25162 m_test_cases.push_back(test_case); in test()
25309 testCase& test_case = m_test_cases[test_case_index]; in test() local
25311 if (test_case.m_stage == stage) in test()
25336 switch (test_case.m_stage) in test()
25394 testCase& test_case = m_test_cases[test_case_index]; in test() local
25396 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage); in test()
25434 testCase test_case = { (Utils::Shader::STAGES)stage }; in test() local
25436 m_test_cases.push_back(test_case); in test()
25584 testCase& test_case = m_test_cases[test_case_index]; in test() local
25586 if (test_case.m_stage == stage) in test()
25590 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
25592 sprintf(offset, "%d", test_case.m_offset); in test()
25618 switch (test_case.m_stage) in test()
25676 testCase& test_case = m_test_cases[test_case_index]; in test() local
25678 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
25679 << ", type: " << test_case.m_type.GetGLSLTypeName() << ", offset: " << test_case.m_offset; in test()
25734 testCase test_case = { basic_type_size /* offset */, (Utils::Shader::STAGES)stage, type }; in test() local
25736 m_test_cases.push_back(test_case); in test()
25882 testCase& test_case = m_test_cases[test_case_index]; in test() local
25884 if (test_case.m_stage == stage) in test()
25888 const GLchar* type_name = test_case.m_type.GetGLSLTypeName(); in test()
25890 sprintf(offset, "%d", test_case.m_offset); in test()
25916 switch (test_case.m_stage) in test()
25974 testCase& test_case = m_test_cases[test_case_index]; in test() local
25976 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage) in test()
25977 << ", type: " << test_case.m_type.GetGLSLTypeName() << ", offset: " << test_case.m_offset; in test()
26024 testCase test_case = { offset, (Utils::Shader::STAGES)stage, type }; in test() local
26026 m_test_cases.push_back(test_case); in test()
27587 testCase& test_case = m_test_cases[test_case_index]; in test() local
27589 if (test_case.m_stage == stage) in test()
27608 switch (test_case.m_stage) in test()
27637 testCase& test_case = m_test_cases[test_case_index]; in test() local
27639 stream << "Stage: " << Utils::Shader::GetStageName(test_case.m_stage); in test()
27679 testCase test_case = { (Utils::Shader::STAGES)stage }; in test() local
27681 m_test_cases.push_back(test_case); in test()
27705 const testCase& test_case = m_test_cases[test_case_index]; in test() local
27707 if (Utils::Shader::VERTEX == test_case.m_stage) in test()
27734 const testCase& test_case = m_test_cases[test_case_index]; in test() local
27735 const Utils::Type& type = test_case.m_type; in test()
27756 for (GLuint i = 0; i < std::max(test_case.m_array_size, 1u); i++) in test()
27773 for (GLuint i = 0; i < std::max(test_case.m_array_size, 1u); i++) in test()
27787 …const GLuint xfb_data_size = (test_case.m_stage == Utils::Shader::VERTEX) ? xfb_type_size : xfb_ty… in test()
27796 if (test_case.m_stage == Utils::Shader::VERTEX) in test()
27817 const testCase& test_case = m_test_cases[test_case_index]; in test() local
27825 if (test_case.m_stage == stage) in test()
27863 Utils::replaceAllTokens("TYPE", test_case.m_type.GetGLSLTypeName(), out_assignments); in test()
27881 const testCase& test_case = m_test_cases[test_case_index]; in test() local
27885 if (test_case.m_stage == stage) in test()
27921 if (Utils::Type::Float != test_case.m_type.m_basic_type) in test()
27927 if (0 == test_case.m_array_size) in test()
27934 sprintf(buffer, "[%d]", test_case.m_array_size); in test()
27940 Utils::replaceAllTokens("TYPE", test_case.m_type.GetGLSLTypeName(), out_interface); in test()
27953 const testCase& test_case = m_test_cases[test_case_index]; in test() local
27955 switch (test_case.m_stage) in test()
28004 const testCase& test_case = m_test_cases[test_case_index]; in test() local
28006 stream << "Type: " << test_case.m_type.GetGLSLTypeName() in test()
28007 << ", stage: " << Utils::Shader::GetStageName(test_case.m_stage); in test()
28048 testCase test_case = { (Utils::Shader::STAGES)stage, type, 0 }; in test() local
28050 m_test_cases.push_back(test_case); in test()
28057 testCase test_case = { (Utils::Shader::STAGES)stage, type, array_size }; in test() local
28059 m_test_cases.push_back(test_case); in test()
28088 const testCase& test_case = m_test_cases[test_case_index]; in test() local
28090 if (Utils::Shader::VERTEX == test_case.m_stage) in test()
28117 const testCase& test_case = m_test_cases[test_case_index]; in test() local
28139 for (const testType& type : test_case.m_types) in test()
28172 if (test_case.m_nested_struct) in test()
28187 for (const testType& type : test_case.m_types) in test()
28202 if (test_case.m_nested_struct) in test()
28226 …const GLuint xfb_data_size = (test_case.m_stage == Utils::Shader::VERTEX) ? xfb_type_size : xfb_ty… in test()
28235 if (test_case.m_stage == Utils::Shader::VERTEX) in test()
28256 const testCase& test_case = m_test_cases[test_case_index]; in test() local
28266 if (test_case.m_stage == stage) in test()
28273 if (test_case.m_nested_struct) in test()
28336 const testCase& test_case = m_test_cases[test_case_index]; in test() local
28339 if (test_case.m_stage == stage) in test()
28346 if (test_case.m_nested_struct) in test()
28381 for (const testType& type : test_case.m_types) in test()
28404 const testCase& test_case = m_test_cases[test_case_index]; in test() local
28406 switch (test_case.m_stage) in test()
28455 const testCase& test_case = m_test_cases[test_case_index]; in test() local
28459 for (const testType& type : test_case.m_types) in test()
28464 stream << "}, stage: " << Utils::Shader::GetStageName(test_case.m_stage); in test()