/external/angle/third_party/spirv-tools/src/test/link/ |
D | matching_imports_to_exports_test.cpp | 42 spvtest::Binary linked_binary; in TEST_F() local 43 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)) in TEST_F() 55 EXPECT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 68 spvtest::Binary linked_binary; in TEST_F() local 69 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body}, &linked_binary)) in TEST_F() 79 EXPECT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 92 spvtest::Binary linked_binary; in TEST_F() local 95 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body}, &linked_binary, options)) in TEST_F() 106 EXPECT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 120 spvtest::Binary linked_binary; in TEST_F() local [all …]
|
D | memory_model_test.cpp | 34 spvtest::Binary linked_binary; in TEST_F() local 35 ASSERT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 38 EXPECT_EQ(SpvAddressingModelLogical, linked_binary[6]); in TEST_F() 39 EXPECT_EQ(SpvMemoryModelSimple, linked_binary[7]); in TEST_F() 50 spvtest::Binary linked_binary; in TEST_F() local 52 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 66 spvtest::Binary linked_binary; in TEST_F() local 68 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F()
|
D | linker_fixture.h | 73 const std::vector<std::string>& bodies, spvtest::Binary* linked_binary, 75 if (!linked_binary) return SPV_ERROR_INVALID_POINTER; 82 return spvtools::Link(context_, binaries, linked_binary, options); 91 const std::string& templateBody, spvtest::Binary* linked_binary, 93 if (!linked_binary) return SPV_ERROR_INVALID_POINTER; 137 return AssembleAndLink(bodies, linked_binary, options); 145 spvtest::Binary linked_binary; variable 146 spv_result_t res = ExpandAndLink(templateBody, &linked_binary, options); 152 tools_.Disassemble(linked_binary, &result, disassemble_options_)) 163 spvtest::Binary linked_binary; variable [all …]
|
D | entry_points_test.cpp | 43 spvtest::Binary linked_binary; in TEST_F() local 44 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 64 spvtest::Binary linked_binary; in TEST_F() local 65 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 85 spvtest::Binary linked_binary; in TEST_F() local 87 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F()
|
D | ids_limit_test.cpp | 38 spvtest::Binary linked_binary; in TEST_F() local 40 ASSERT_EQ(SPV_SUCCESS, Link(binaries, &linked_binary)); in TEST_F() 42 EXPECT_EQ(0x3FFFFEu, linked_binary[3]); in TEST_F() 63 spvtest::Binary linked_binary; in TEST_F() local 65 EXPECT_EQ(SPV_ERROR_INVALID_ID, Link(binaries, &linked_binary)); in TEST_F()
|
D | partial_linkage_test.cpp | 43 spvtest::Binary linked_binary; in TEST_F() local 47 AssembleAndLink({body1, body2}, &linked_binary, linker_options)); in TEST_F() 59 ASSERT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 81 spvtest::Binary linked_binary; in TEST_F() local 83 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F()
|
D | binary_version_test.cpp | 51 spvtest::Binary linked_binary; in TEST_F() local 53 ASSERT_EQ(SPV_SUCCESS, Link(binaries, &linked_binary)); in TEST_F() 56 EXPECT_EQ(0x00000600u, linked_binary[1]); in TEST_F()
|
D | global_values_amount_test.cpp | 112 spvtest::Binary linked_binary; in TEST_F() local 114 EXPECT_EQ(SPV_SUCCESS, Link(binaries, &linked_binary)); in TEST_F() 144 spvtest::Binary linked_binary; in TEST_F() local 146 EXPECT_EQ(SPV_ERROR_INTERNAL, Link(binaries, &linked_binary)); in TEST_F()
|
D | unique_ids_test.cpp | 134 spvtest::Binary linked_binary; in TEST_F() local 137 spv_result_t res = AssembleAndLink(bodies, &linked_binary, options); in TEST_F()
|
/external/swiftshader/third_party/SPIRV-Tools/test/link/ |
D | matching_imports_to_exports_test.cpp | 42 spvtest::Binary linked_binary; in TEST_F() local 43 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)) in TEST_F() 55 EXPECT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 68 spvtest::Binary linked_binary; in TEST_F() local 69 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body}, &linked_binary)) in TEST_F() 79 EXPECT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 92 spvtest::Binary linked_binary; in TEST_F() local 95 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body}, &linked_binary, options)) in TEST_F() 106 EXPECT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 120 spvtest::Binary linked_binary; in TEST_F() local [all …]
|
D | memory_model_test.cpp | 34 spvtest::Binary linked_binary; in TEST_F() local 35 ASSERT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 38 EXPECT_EQ(SpvAddressingModelLogical, linked_binary[6]); in TEST_F() 39 EXPECT_EQ(SpvMemoryModelSimple, linked_binary[7]); in TEST_F() 50 spvtest::Binary linked_binary; in TEST_F() local 52 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 66 spvtest::Binary linked_binary; in TEST_F() local 68 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F()
|
D | linker_fixture.h | 73 const std::vector<std::string>& bodies, spvtest::Binary* linked_binary, 75 if (!linked_binary) return SPV_ERROR_INVALID_POINTER; 82 return spvtools::Link(context_, binaries, linked_binary, options); 91 const std::string& templateBody, spvtest::Binary* linked_binary, 93 if (!linked_binary) return SPV_ERROR_INVALID_POINTER; 137 return AssembleAndLink(bodies, linked_binary, options); 145 spvtest::Binary linked_binary; variable 146 spv_result_t res = ExpandAndLink(templateBody, &linked_binary, options); 152 tools_.Disassemble(linked_binary, &result, disassemble_options_)) 163 spvtest::Binary linked_binary; variable [all …]
|
D | entry_points_test.cpp | 43 spvtest::Binary linked_binary; in TEST_F() local 44 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 64 spvtest::Binary linked_binary; in TEST_F() local 65 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 85 spvtest::Binary linked_binary; in TEST_F() local 87 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F()
|
D | ids_limit_test.cpp | 38 spvtest::Binary linked_binary; in TEST_F() local 40 ASSERT_EQ(SPV_SUCCESS, Link(binaries, &linked_binary)); in TEST_F() 42 EXPECT_EQ(0x3FFFFEu, linked_binary[3]); in TEST_F() 63 spvtest::Binary linked_binary; in TEST_F() local 65 EXPECT_EQ(SPV_ERROR_INVALID_ID, Link(binaries, &linked_binary)); in TEST_F()
|
D | partial_linkage_test.cpp | 43 spvtest::Binary linked_binary; in TEST_F() local 47 AssembleAndLink({body1, body2}, &linked_binary, linker_options)); in TEST_F() 59 ASSERT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 81 spvtest::Binary linked_binary; in TEST_F() local 83 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F()
|
D | binary_version_test.cpp | 51 spvtest::Binary linked_binary; in TEST_F() local 53 ASSERT_EQ(SPV_SUCCESS, Link(binaries, &linked_binary)); in TEST_F() 56 EXPECT_EQ(0x00000600u, linked_binary[1]); in TEST_F()
|
D | global_values_amount_test.cpp | 112 spvtest::Binary linked_binary; in TEST_F() local 114 EXPECT_EQ(SPV_SUCCESS, Link(binaries, &linked_binary)); in TEST_F() 144 spvtest::Binary linked_binary; in TEST_F() local 146 EXPECT_EQ(SPV_ERROR_INTERNAL, Link(binaries, &linked_binary)); in TEST_F()
|
/external/deqp-deps/SPIRV-Tools/test/link/ |
D | matching_imports_to_exports_test.cpp | 42 spvtest::Binary linked_binary; in TEST_F() local 43 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)) in TEST_F() 55 EXPECT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 68 spvtest::Binary linked_binary; in TEST_F() local 69 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body}, &linked_binary)) in TEST_F() 79 EXPECT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 92 spvtest::Binary linked_binary; in TEST_F() local 95 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body}, &linked_binary, options)) in TEST_F() 106 EXPECT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 120 spvtest::Binary linked_binary; in TEST_F() local [all …]
|
D | memory_model_test.cpp | 34 spvtest::Binary linked_binary; in TEST_F() local 35 ASSERT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 38 EXPECT_EQ(SpvAddressingModelLogical, linked_binary[6]); in TEST_F() 39 EXPECT_EQ(SpvMemoryModelSimple, linked_binary[7]); in TEST_F() 50 spvtest::Binary linked_binary; in TEST_F() local 52 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 66 spvtest::Binary linked_binary; in TEST_F() local 68 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F()
|
D | linker_fixture.h | 73 const std::vector<std::string>& bodies, spvtest::Binary* linked_binary, 75 if (!linked_binary) return SPV_ERROR_INVALID_POINTER; 82 return spvtools::Link(context_, binaries, linked_binary, options); 91 const std::string& templateBody, spvtest::Binary* linked_binary, 93 if (!linked_binary) return SPV_ERROR_INVALID_POINTER; 137 return AssembleAndLink(bodies, linked_binary, options); 145 spvtest::Binary linked_binary; variable 146 spv_result_t res = ExpandAndLink(templateBody, &linked_binary, options); 152 tools_.Disassemble(linked_binary, &result, disassemble_options_)) 163 spvtest::Binary linked_binary; variable [all …]
|
D | entry_points_test.cpp | 43 spvtest::Binary linked_binary; in TEST_F() local 44 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 64 spvtest::Binary linked_binary; in TEST_F() local 65 EXPECT_EQ(SPV_SUCCESS, AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F() 85 spvtest::Binary linked_binary; in TEST_F() local 87 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F()
|
D | ids_limit_test.cpp | 38 spvtest::Binary linked_binary; in TEST_F() local 40 ASSERT_EQ(SPV_SUCCESS, Link(binaries, &linked_binary)); in TEST_F() 42 EXPECT_EQ(0x3FFFFEu, linked_binary[3]); in TEST_F() 63 spvtest::Binary linked_binary; in TEST_F() local 65 EXPECT_EQ(SPV_ERROR_INVALID_ID, Link(binaries, &linked_binary)); in TEST_F()
|
D | partial_linkage_test.cpp | 43 spvtest::Binary linked_binary; in TEST_F() local 47 AssembleAndLink({body1, body2}, &linked_binary, linker_options)); in TEST_F() 59 ASSERT_EQ(SPV_SUCCESS, Disassemble(linked_binary, &res_body)) in TEST_F() 81 spvtest::Binary linked_binary; in TEST_F() local 83 AssembleAndLink({body1, body2}, &linked_binary)); in TEST_F()
|
D | binary_version_test.cpp | 51 spvtest::Binary linked_binary; in TEST_F() local 53 ASSERT_EQ(SPV_SUCCESS, Link(binaries, &linked_binary)); in TEST_F() 56 EXPECT_EQ(0x00000600u, linked_binary[1]); in TEST_F()
|
D | global_values_amount_test.cpp | 112 spvtest::Binary linked_binary; in TEST_F() local 114 EXPECT_EQ(SPV_SUCCESS, Link(binaries, &linked_binary)); in TEST_F() 144 spvtest::Binary linked_binary; in TEST_F() local 146 EXPECT_EQ(SPV_ERROR_INTERNAL, Link(binaries, &linked_binary)); in TEST_F()
|