Lines Matching refs:test_case
437 const testCase& test_case = test_cases[i]; in iterate() local
439 executeTestCase(test_case); in iterate()
537 void GPUShader5ImplicitConversionsTest::executeTestCase(const testCase& test_case) in executeTestCase() argument
548 const std::string& vs = getVertexShader(test_case.m_destination_type, test_case.m_source_type); in executeTestCase()
558 program.setUniform(test_case.m_source_variable_type, "u1", test_case.m_u1_data); in executeTestCase()
559 program.setUniform(test_case.m_source_variable_type, "u2", test_case.m_u2_data); in executeTestCase()
574 verifyImage(white_color, test_case.m_is_white_expected); in executeTestCase()
1039 const testCase& test_case = test_cases[i]; in iterate() local
1041 execute(test_case); in iterate()
1057 void GPUShader5FloatEncodingTest::execute(const testCase& test_case) in execute() argument
1078 const std::string& vs = getVertexShader(test_case); in execute()
1088 …program.setUniform(test_case.m_expected_value.m_type, "expected_value", test_case.m_expected_value… in execute()
1089 program.setUniform(test_case.m_value.m_type, "value", test_case.m_value.m_data); in execute()
1104 verifyImage(white_color, test_case.m_is_white_expected); in execute()
1113 std::string GPUShader5FloatEncodingTest::getVertexShader(const testCase& test_case) const in getVertexShader()
1150 …Utils::replaceToken("EXPECTED_VALUE_TYPE", search_position, test_case.m_expected_value.m_type_name… in getVertexShader()
1151 Utils::replaceToken("VALUE_TYPE", search_position, test_case.m_value.m_type_name, vs_body); in getVertexShader()
1152 …Utils::replaceToken("EXPECTED_VALUE_TYPE", search_position, test_case.m_expected_value.m_type_name… in getVertexShader()
1153 Utils::replaceToken("TESTED_FUNCTION", search_position, test_case.m_function_name, vs_body); in getVertexShader()