Home
last modified time | relevance | path

Searched refs:linked_binary (Results 1 – 25 of 34) sorted by relevance

12

/external/angle/third_party/spirv-tools/src/test/link/
Dmatching_imports_to_exports_test.cpp42 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 …]
Dmemory_model_test.cpp34 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()
Dlinker_fixture.h73 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 …]
Dentry_points_test.cpp43 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()
Dids_limit_test.cpp38 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()
Dpartial_linkage_test.cpp43 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()
Dbinary_version_test.cpp51 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()
Dglobal_values_amount_test.cpp112 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()
Dunique_ids_test.cpp134 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/
Dmatching_imports_to_exports_test.cpp42 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 …]
Dmemory_model_test.cpp34 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()
Dlinker_fixture.h73 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 …]
Dentry_points_test.cpp43 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()
Dids_limit_test.cpp38 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()
Dpartial_linkage_test.cpp43 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()
Dbinary_version_test.cpp51 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()
Dglobal_values_amount_test.cpp112 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/
Dmatching_imports_to_exports_test.cpp42 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 …]
Dmemory_model_test.cpp34 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()
Dlinker_fixture.h73 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 …]
Dentry_points_test.cpp43 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()
Dids_limit_test.cpp38 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()
Dpartial_linkage_test.cpp43 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()
Dbinary_version_test.cpp51 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()
Dglobal_values_amount_test.cpp112 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()

12