Home
last modified time | relevance | path

Searched refs:binary (Results 1 - 25 of 826) sorted by relevance

12345678910>>...34

/third_party/skia/third_party/externals/spirv-tools/test/
H A Dc_interface_test.cpp39 spv_binary binary = nullptr; in TEST() local
41 sizeof(input_text), &binary, nullptr)); in TEST()
44 // Sadly the compiler don't allow me to feed binary directly to in TEST()
46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
51 EXPECT_EQ(SPV_SUCCESS, spvBinaryToText(context, binary->code, in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
55 spvBinaryDestroy(binary); in TEST()
64 spv_binary binary = nullptr; in TEST() local
66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST()
77 spv_binary binary = nullptr; TEST() local
98 spv_binary binary = nullptr; TEST() local
128 spv_binary binary = nullptr; TEST() local
157 spv_binary binary = nullptr; TEST() local
199 spv_binary binary = nullptr; TEST() local
225 spv_binary binary = nullptr; TEST() local
248 spv_binary binary = nullptr; TEST() local
279 spv_binary binary = nullptr; TEST() local
[all...]
H A Dcpp_interface_test.cpp47 std::vector<uint32_t> binary; in TEST() local
48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST()
49 EXPECT_TRUE(binary.size() > 5u); in TEST()
50 EXPECT_EQ(SpvMagicNumber, binary[0]); in TEST()
51 EXPECT_EQ(kExpectedSpvVersion, binary[1]); in TEST()
64 EXPECT_FALSE(t.Validate(binary)); in TEST()
67 EXPECT_TRUE(t.Disassemble(binary, &output_text)); in TEST()
72 std::vector<uint32_t> binary(10, 42); in TEST()
74 EXPECT_TRUE(t.Assemble("", &binary)); in TEST()
76 EXPECT_EQ(5u, binary in TEST()
85 std::vector<uint32_t> binary; TEST() local
92 std::vector<uint32_t> binary; TEST() local
99 std::vector<uint32_t> binary; TEST() local
131 std::vector<uint32_t> binary; TEST() local
154 std::vector<uint32_t> binary; TEST() local
162 std::vector<uint32_t> binary; TEST() local
200 std::vector<uint32_t> binary; TEST() local
209 std::vector<uint32_t> binary; TEST() local
244 std::vector<uint32_t> binary; TEST() local
313 std::vector<uint32_t> binary; TEST() local
[all...]
H A Dext_inst.glsl_test.cpp33 /// The following fields are used to check the SPIR-V binary representation
64 spv_binary binary = nullptr; in TEST_P() local
67 &binary, &diagnostic); in TEST_P()
77 // Check we do have the extended instruction's corresponding binary code in in TEST_P()
78 // the generated SPIR-V binary. in TEST_P()
85 EXPECT_NE(binary->code + binary->wordCount, in TEST_P()
86 std::search(binary->code, binary->code + binary in TEST_P()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
H A Dc_interface_test.cpp39 spv_binary binary = nullptr; in TEST() local
41 sizeof(input_text), &binary, nullptr)); in TEST()
44 // Sadly the compiler don't allow me to feed binary directly to in TEST()
46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
51 EXPECT_EQ(SPV_SUCCESS, spvBinaryToText(context, binary->code, in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
55 spvBinaryDestroy(binary); in TEST()
64 spv_binary binary = nullptr; in TEST() local
66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST()
77 spv_binary binary = nullptr; TEST() local
98 spv_binary binary = nullptr; TEST() local
128 spv_binary binary = nullptr; TEST() local
157 spv_binary binary = nullptr; TEST() local
199 spv_binary binary = nullptr; TEST() local
225 spv_binary binary = nullptr; TEST() local
248 spv_binary binary = nullptr; TEST() local
279 spv_binary binary = nullptr; TEST() local
[all...]
H A Dcpp_interface_test.cpp47 std::vector<uint32_t> binary; in TEST() local
48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST()
49 EXPECT_TRUE(binary.size() > 5u); in TEST()
50 EXPECT_EQ(SpvMagicNumber, binary[0]); in TEST()
51 EXPECT_EQ(kExpectedSpvVersion, binary[1]); in TEST()
64 EXPECT_FALSE(t.Validate(binary)); in TEST()
67 EXPECT_TRUE(t.Disassemble(binary, &output_text)); in TEST()
72 std::vector<uint32_t> binary(10, 42); in TEST()
74 EXPECT_TRUE(t.Assemble("", &binary)); in TEST()
76 EXPECT_EQ(5u, binary in TEST()
85 std::vector<uint32_t> binary; TEST() local
92 std::vector<uint32_t> binary; TEST() local
99 std::vector<uint32_t> binary; TEST() local
131 std::vector<uint32_t> binary; TEST() local
154 std::vector<uint32_t> binary; TEST() local
162 std::vector<uint32_t> binary; TEST() local
200 std::vector<uint32_t> binary; TEST() local
209 std::vector<uint32_t> binary; TEST() local
244 std::vector<uint32_t> binary; TEST() local
313 std::vector<uint32_t> binary; TEST() local
[all...]
/third_party/spirv-tools/test/
H A Dc_interface_test.cpp39 spv_binary binary = nullptr; in TEST() local
41 sizeof(input_text), &binary, nullptr)); in TEST()
44 // Sadly the compiler don't allow me to feed binary directly to in TEST()
46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
51 EXPECT_EQ(SPV_SUCCESS, spvBinaryToText(context, binary->code, in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
55 spvBinaryDestroy(binary); in TEST()
64 spv_binary binary = nullptr; in TEST() local
66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST()
77 spv_binary binary = nullptr; TEST() local
98 spv_binary binary = nullptr; TEST() local
131 spv_binary binary = nullptr; TEST() local
160 spv_binary binary = nullptr; TEST() local
202 spv_binary binary = nullptr; TEST() local
228 spv_binary binary = nullptr; TEST() local
254 spv_binary binary = nullptr; TEST() local
285 spv_binary binary = nullptr; TEST() local
[all...]
H A Dcpp_interface_test.cpp47 std::vector<uint32_t> binary; in TEST() local
48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST()
49 EXPECT_TRUE(binary.size() > 5u); in TEST()
50 EXPECT_EQ(spv::MagicNumber, binary[0]); in TEST()
51 EXPECT_EQ(kExpectedSpvVersion, binary[1]); in TEST()
64 EXPECT_FALSE(t.Validate(binary)); in TEST()
67 EXPECT_TRUE(t.Disassemble(binary, &output_text)); in TEST()
72 std::vector<uint32_t> binary(10, 42); in TEST()
74 EXPECT_TRUE(t.Assemble("", &binary)); in TEST()
76 EXPECT_EQ(5u, binary in TEST()
85 std::vector<uint32_t> binary; TEST() local
92 std::vector<uint32_t> binary; TEST() local
99 std::vector<uint32_t> binary; TEST() local
131 std::vector<uint32_t> binary; TEST() local
154 std::vector<uint32_t> binary; TEST() local
162 std::vector<uint32_t> binary; TEST() local
200 std::vector<uint32_t> binary; TEST() local
209 std::vector<uint32_t> binary; TEST() local
244 std::vector<uint32_t> binary; TEST() local
313 std::vector<uint32_t> binary; TEST() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Doptimizer_test.cpp73 std::vector<uint32_t> binary; in TEST() local
74 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
78 opt.Run(binary.data(), binary.size(), &binary); // This is the key. in TEST()
81 tools.Disassemble(binary.data(), binary.size(), &disassembly); in TEST()
87 std::vector<uint32_t> binary; in TEST() local
88 tools.Assemble(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
92 auto orig_size = binary in TEST()
109 std::vector<uint32_t> binary; TEST() local
250 std::vector<uint32_t> binary; TEST() local
313 std::vector<uint32_t> binary; TEST() local
374 std::vector<uint32_t> binary; TEST() local
[all...]
H A Dcompact_ids_test.cpp152 std::vector<uint32_t> binary; in TEST() local
156 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
165 optimizer.Run(binary.data(), binary.size(), &binary); in TEST()
168 tools.Disassemble(binary, &disassembly, SPV_BINARY_TO_TEXT_OPTION_NO_HEADER); in TEST()
196 std::vector<uint32_t> binary; in TEST() local
200 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
209 optimizer.Run(binary.data(), binary in TEST()
277 std::vector<uint32_t> binary; TEST() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Doptimizer_test.cpp73 std::vector<uint32_t> binary; in TEST() local
74 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
78 opt.Run(binary.data(), binary.size(), &binary); // This is the key. in TEST()
81 tools.Disassemble(binary.data(), binary.size(), &disassembly); in TEST()
87 std::vector<uint32_t> binary; in TEST() local
88 tools.Assemble(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
92 auto orig_size = binary in TEST()
109 std::vector<uint32_t> binary; TEST() local
250 std::vector<uint32_t> binary; TEST() local
313 std::vector<uint32_t> binary; TEST() local
374 std::vector<uint32_t> binary; TEST() local
[all...]
H A Dcompact_ids_test.cpp152 std::vector<uint32_t> binary; in TEST() local
156 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
165 optimizer.Run(binary.data(), binary.size(), &binary); in TEST()
168 tools.Disassemble(binary, &disassembly, SPV_BINARY_TO_TEXT_OPTION_NO_HEADER); in TEST()
196 std::vector<uint32_t> binary; in TEST() local
200 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
209 optimizer.Run(binary.data(), binary in TEST()
277 std::vector<uint32_t> binary; TEST() local
[all...]
/third_party/spirv-tools/test/opt/
H A Doptimizer_test.cpp73 std::vector<uint32_t> binary; in TEST() local
74 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
78 opt.Run(binary.data(), binary.size(), &binary); // This is the key. in TEST()
81 tools.Disassemble(binary.data(), binary.size(), &disassembly); in TEST()
87 std::vector<uint32_t> binary; in TEST() local
88 tools.Assemble(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
92 auto orig_size = binary in TEST()
109 std::vector<uint32_t> binary; TEST() local
250 std::vector<uint32_t> binary; TEST() local
313 std::vector<uint32_t> binary; TEST() local
374 std::vector<uint32_t> binary; TEST() local
[all...]
H A Dc_interface_test.cpp49 spv_binary binary = nullptr; in TEST() local
52 &binary, options)); in TEST()
53 ASSERT_EQ(binary, nullptr); in TEST()
94 spv_binary binary = nullptr; in TEST() local
97 &binary, options)); in TEST()
98 ASSERT_EQ(binary, nullptr); in TEST()
133 spv_binary binary = nullptr; in TEST() local
136 &binary, options)); in TEST()
137 ASSERT_NE(binary, nullptr); in TEST()
142 EXPECT_EQ(binary in TEST()
182 spv_binary binary = nullptr; TEST() local
231 spv_binary binary = nullptr; TEST() local
292 spv_binary binary = nullptr; TEST() local
356 spv_binary binary = nullptr; TEST() local
421 spv_binary binary = nullptr; TEST() local
491 spv_binary binary = nullptr; TEST() local
[all...]
H A Dcompact_ids_test.cpp151 std::vector<uint32_t> binary; in TEST() local
155 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
164 optimizer.Run(binary.data(), binary.size(), &binary); in TEST()
167 tools.Disassemble(binary, &disassembly, SPV_BINARY_TO_TEXT_OPTION_NO_HEADER); in TEST()
195 std::vector<uint32_t> binary; in TEST() local
199 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
208 optimizer.Run(binary.data(), binary in TEST()
276 std::vector<uint32_t> binary; TEST() local
338 std::vector<uint32_t> binary; TEST() local
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/
H A Dcommon.cpp28 /// clover::binary, including kernel argument metadata extraction and
29 /// formatting of the pre-generated binary code in a form that can be
46 using clover::binary;
58 enum binary::argument::type
63 return binary::argument::image_rd; in get_image_type()
65 return binary::argument::image_wr; in get_image_type()
71 binary::arg_info create_arg_info(const std::string &arg_name, in create_arg_info()
104 return binary::arg_info(arg_name, type_name, cl_type_qualifier, in create_arg_info()
151 std::vector<binary::argument>
154 std::vector<binary in make_kernel_args()
[all...]
/third_party/mesa3d/src/amd/common/
H A Dac_rtld.c176 static bool read_private_lds_symbols(struct ac_rtld_binary *binary, unsigned part_idx, in read_private_lds_symbols() argument
194 struct ac_rtld_part *part = &binary->parts[part_idx]; in read_private_lds_symbols()
227 const struct ac_rtld_symbol *shared = find_symbol(&binary->lds_symbols, s.name, part_idx); in read_private_lds_symbols()
234 util_dynarray_append(&binary->lds_symbols, struct ac_rtld_symbol, s); in read_private_lds_symbols()
244 * Open a binary consisting of one or more shader parts.
246 * \param binary the uninitialized struct
247 * \param i binary opening parameters
249 bool ac_rtld_open(struct ac_rtld_binary *binary, struct ac_rtld_open_info i) in ac_rtld_open() argument
257 memset(binary, 0, sizeof(*binary)); in ac_rtld_open()
479 ac_rtld_close(struct ac_rtld_binary *binary) ac_rtld_close() argument
514 ac_rtld_get_section_by_name(struct ac_rtld_binary *binary, const char *name, const char **data, size_t *nbytes) ac_rtld_get_section_by_name() argument
521 ac_rtld_read_config(const struct radeon_info *info, struct ac_rtld_binary *binary, struct ac_shader_config *config) ac_rtld_read_config() argument
[all...]
/third_party/libabigail/tests/
H A Dtest-symtab.cc67 const std::string binary = "basic/empty.so"; variable
69 const fe_iface::status status = read_corpus(binary, corpus_ptr);
77 const std::string binary = "basic/no_debug_info.so"; variable
79 const fe_iface::status status = read_corpus(binary, corpus_ptr);
148 GIVEN("a binary with no exported symbols")
155 GIVEN("a binary with a single exported function")
157 const std::string binary = "basic/single_function.so"; variable
158 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 0);
167 GIVEN("a binary with a single exported variable")
169 const std::string binary variable
181 const std::string binary = "basic/one_function_one_variable.so"; global() variable
191 const std::string binary = "basic/single_undefined_function.so"; global() variable
197 const std::string binary = "basic/single_undefined_variable.so"; global() variable
203 const std::string binary = "basic/one_function_one_variable_undefined.so"; global() variable
212 const std::string binary = "basic/one_function_one_variable.so"; global() variable
280 const std::string binary = "basic/aliases.so"; global() variable
304 const std::string binary = "basic/aliases.so"; global() variable
349 const std::string binary = base_path + "single_function.ko"; global() variable
361 const std::string binary = base_path + "single_function_gpl.ko"; global() variable
373 const std::string binary = base_path + "single_variable.ko"; global() variable
385 const std::string binary = base_path + "single_variable_gpl.ko"; global() variable
397 const std::string binary = base_path + "one_of_each.ko"; global() variable
418 const std::string binary = base_path + "one_of_each.ko"; global() variable
[all...]
/third_party/vk-gl-cts/external/amber/src/src/
H A Dshader_compiler_test.cc109 std::vector<uint32_t> binary; in TEST_F() local
112 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F()
114 EXPECT_FALSE(binary.empty()); in TEST_F()
115 EXPECT_EQ(0x07230203u, binary[0]); // Verify SPIR-V header present. in TEST_F()
128 std::vector<uint32_t> binary; in TEST_F() local
131 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F()
133 EXPECT_FALSE(binary.empty()); in TEST_F()
134 EXPECT_EQ(0x07230203u, binary[0]); // Verify SPIR-V header present. in TEST_F()
148 std::vector<uint32_t> binary; in TEST_F() local
151 std::tie(r, binary) in TEST_F()
165 std::vector<uint32_t> binary; TEST_F() local
238 std::vector<uint32_t> binary; TEST_F() local
257 std::vector<uint32_t> binary; TEST_F() local
283 std::vector<uint32_t> binary; TEST_F() local
309 std::vector<uint32_t> binary; TEST_F() local
336 std::vector<uint32_t> binary; TEST_F() local
357 std::vector<uint32_t> binary; TEST_F() local
413 std::vector<uint32_t> binary; TEST_F() local
457 std::vector<uint32_t> binary; TEST_F() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkPrograms.cpp65 ProgramBinary::ProgramBinary (ProgramFormat format, size_t binarySize, const deUint8* binary) in ProgramBinary() argument
67 , m_binary (binary, binary+binarySize) in ProgramBinary()
86 bool isSaneSpirVBinary (const ProgramBinary& binary) in isSaneSpirVBinary() argument
93 DE_ASSERT(binary.getFormat() == PROGRAM_FORMAT_SPIRV); in isSaneSpirVBinary()
95 if (binary.getSize() % sizeof(deUint32) != 0) in isSaneSpirVBinary()
98 if (binary.getSize() < sizeof(deUint32)) in isSaneSpirVBinary()
101 if (*(const deUint32*)binary.getBinary() != spirvMagicBytes) in isSaneSpirVBinary()
107 void optimizeCompiledBinary (vector<deUint32>& binary, int optimizationRecipe, const SpirvVersion spirvVersion) in optimizeCompiledBinary() argument
141 const bool ok = optimizer.Run(binary in optimizeCompiledBinary()
147 createProgramBinaryFromSpirV(const vector<deUint32>& binary) createProgramBinaryFromSpirV() argument
159 validateCompiledBinary(const vector<deUint32>& binary, glu::ShaderProgramInfo* buildInfo, const SpirvValidatorOptions& options) validateCompiledBinary() argument
172 validateCompiledBinary(const vector<deUint32>& binary, SpirVProgramInfo* buildInfo, const SpirvValidatorOptions& options) validateCompiledBinary() argument
524 shadercacheSave(const vk::ProgramBinary* binary, const std::string& shaderstring, const char* shaderCacheFilename, deUint32 hash) shadercacheSave() argument
642 vector<deUint32> binary; buildProgram() local
730 vector<deUint32> binary; buildProgram() local
820 vector<deUint32> binary; assembleProgram() local
916 createShaderModule(const DeviceInterface& deviceInterface, VkDevice device, const ProgramBinary& binary, VkShaderModuleCreateFlags flags) createShaderModule() argument
[all...]
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/
H A Dfuzzer.cc54 std::unique_ptr<Mutator> CreateMutator(const std::vector<uint32_t>& binary, in CreateMutator() argument
59 // Determine which mutator we will be using for `binary` at random. in CreateMutator()
80 mutator_params.target_env, binary, seed, mutator_params.donors, in CreateMutator()
87 mutator_params.target_env, binary, seed, in CreateMutator()
93 mutator_params.target_env, seed, binary, in CreateMutator()
126 bool IsValid(const std::vector<uint32_t>& binary) { in IsValid() argument
129 return tools.IsValid() && tools.Validate(binary.data(), binary.size(), in IsValid()
138 // A valid SPIR-V binary's size must be a multiple of the size of a 32-bit in LLVMFuzzerCustomMutator()
144 std::vector<uint32_t> binary(siz in LLVMFuzzerCustomMutator()
[all...]
/third_party/spirv-tools/source/
H A Dlibspirv.cpp74 std::vector<uint32_t>* binary, in Assemble()
76 return Assemble(text.data(), text.size(), binary, options); in Assemble()
80 std::vector<uint32_t>* binary, in Assemble()
86 binary->assign(spvbinary->code, spvbinary->code + spvbinary->wordCount); in Assemble()
92 bool SpirvTools::Disassemble(const std::vector<uint32_t>& binary, in Disassemble() argument
94 return Disassemble(binary.data(), binary.size(), text, options); in Disassemble()
97 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument
100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
116 bool SpirvTools::Parse(const std::vector<uint32_t>& binary, in Parse() argument
73 Assemble(const std::string& text, std::vector<uint32_t>* binary, uint32_t options) const Assemble() argument
79 Assemble(const char* text, const size_t text_size, std::vector<uint32_t>* binary, uint32_t options) const Assemble() argument
149 Validate(const uint32_t* binary, const size_t binary_size) const Validate() argument
155 Validate(const uint32_t* binary, const size_t binary_size, spv_validator_options options) const Validate() argument
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dlibspirv.cpp74 std::vector<uint32_t>* binary, in Assemble()
76 return Assemble(text.data(), text.size(), binary, options); in Assemble()
80 std::vector<uint32_t>* binary, in Assemble()
86 binary->assign(spvbinary->code, spvbinary->code + spvbinary->wordCount); in Assemble()
92 bool SpirvTools::Disassemble(const std::vector<uint32_t>& binary, in Disassemble() argument
94 return Disassemble(binary.data(), binary.size(), text, options); in Disassemble()
97 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument
100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
109 bool SpirvTools::Validate(const std::vector<uint32_t>& binary) cons
73 Assemble(const std::string& text, std::vector<uint32_t>* binary, uint32_t options) const Assemble() argument
79 Assemble(const char* text, const size_t text_size, std::vector<uint32_t>* binary, uint32_t options) const Assemble() argument
113 Validate(const uint32_t* binary, const size_t binary_size) const Validate() argument
119 Validate(const uint32_t* binary, const size_t binary_size, spv_validator_options options) const Validate() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dlibspirv.cpp74 std::vector<uint32_t>* binary, in Assemble()
76 return Assemble(text.data(), text.size(), binary, options); in Assemble()
80 std::vector<uint32_t>* binary, in Assemble()
86 binary->assign(spvbinary->code, spvbinary->code + spvbinary->wordCount); in Assemble()
92 bool SpirvTools::Disassemble(const std::vector<uint32_t>& binary, in Disassemble() argument
94 return Disassemble(binary.data(), binary.size(), text, options); in Disassemble()
97 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument
100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
109 bool SpirvTools::Validate(const std::vector<uint32_t>& binary) cons
73 Assemble(const std::string& text, std::vector<uint32_t>* binary, uint32_t options) const Assemble() argument
79 Assemble(const char* text, const size_t text_size, std::vector<uint32_t>* binary, uint32_t options) const Assemble() argument
113 Validate(const uint32_t* binary, const size_t binary_size) const Validate() argument
119 Validate(const uint32_t* binary, const size_t binary_size, spv_validator_options options) const Validate() argument
[all...]
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_sync_binary.c41 struct vk_sync_binary *binary = to_vk_sync_binary(sync); in vk_sync_binary_init() local
44 container_of(binary->sync.type, struct vk_sync_binary_type, sync); in vk_sync_binary_init()
49 binary->next_point = (initial_value == 0); in vk_sync_binary_init()
51 return vk_sync_init(device, &binary->timeline, btype->timeline_type, in vk_sync_binary_init()
59 struct vk_sync_binary *binary = to_vk_sync_binary(sync); in vk_sync_binary_finish() local
61 vk_sync_finish(device, &binary->timeline); in vk_sync_binary_finish()
68 struct vk_sync_binary *binary = to_vk_sync_binary(sync); in vk_sync_binary_reset() local
70 binary->next_point++; in vk_sync_binary_reset()
80 struct vk_sync_binary *binary = to_vk_sync_binary(sync); in vk_sync_binary_signal() local
84 return vk_sync_signal(device, &binary in vk_sync_binary_signal()
97 struct vk_sync_binary *binary = to_vk_sync_binary(waits[i].sync); vk_sync_binary_wait_many() local
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_print_asm.cpp69 print_instr(FILE* output, const std::vector<uint32_t>& binary, char* instr, unsigned size, in print_instr() argument
75 fprintf(output, " %.8x", binary[pos + i]); in print_instr()
175 print_asm_clrx(Program* program, std::vector<uint32_t>& binary, unsigned exec_size, FILE* output) in print_asm_clrx() argument
187 /* Dump the binary into a temporary file. */ in print_asm_clrx()
193 if (write(fd, &binary[i], 4) == -1) in print_asm_clrx()
235 print_instr(output, binary, prev_instr, pos - prev_pos, prev_pos); in print_asm_clrx()
253 print_instr(output, binary, prev_instr, exec_size - prev_pos, prev_pos); in print_asm_clrx()
271 disasm_instr(amd_gfx_level gfx_level, LLVMDisasmContextRef disasm, uint32_t* binary, in disasm_instr() argument
275 LLVMDisasmInstruction(disasm, (uint8_t*)&binary[pos], (exec_size - pos) * sizeof(uint32_t), in disasm_instr()
278 if (gfx_level >= GFX10 && l == 8 && ((binary[po in disasm_instr()
341 print_asm_llvm(Program* program, std::vector<uint32_t>& binary, unsigned exec_size, FILE* output) print_asm_llvm() argument
445 print_asm(Program* program, std::vector<uint32_t>& binary, unsigned exec_size, FILE* output) print_asm() argument
[all...]

Completed in 14 milliseconds

12345678910>>...34