Home
last modified time | relevance | path

Searched refs:spvtools (Results 1 – 25 of 3392) sorted by relevance

12345678910>>...136

/third_party/glslang/SPIRV/
DSpvTools.cpp170 spvtools::Optimizer optimizer(target_env); in SpirvToolsTransform()
178 optimizer.RegisterPass(spvtools::CreatePropagateLineInfoPass()); in SpirvToolsTransform()
181 optimizer.RegisterPass(spvtools::CreateStripDebugInfoPass()); in SpirvToolsTransform()
183 optimizer.RegisterPass(spvtools::CreateWrapOpKillPass()); in SpirvToolsTransform()
184 optimizer.RegisterPass(spvtools::CreateDeadBranchElimPass()); in SpirvToolsTransform()
185 optimizer.RegisterPass(spvtools::CreateMergeReturnPass()); in SpirvToolsTransform()
186 optimizer.RegisterPass(spvtools::CreateInlineExhaustivePass()); in SpirvToolsTransform()
187 optimizer.RegisterPass(spvtools::CreateEliminateDeadFunctionsPass()); in SpirvToolsTransform()
188 optimizer.RegisterPass(spvtools::CreateScalarReplacementPass()); in SpirvToolsTransform()
189 optimizer.RegisterPass(spvtools::CreateLocalAccessChainConvertPass()); in SpirvToolsTransform()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/fuzz/
Dfuzz.cpp215 spvtools::fuzz::RepeatedPassStrategy* repeated_pass_strategy, in ParseFlags()
216 FuzzingTarget* fuzzing_target, spvtools::FuzzerOptions* fuzzer_options, in ParseFlags()
217 spvtools::ValidatorOptions* validator_options) { in ParseFlags()
223 spvtools::fuzz::RepeatedPassStrategy::kLoopedWithRecommendations; in ParseFlags()
229 spvtools::Logf(FuzzDiagnostic, SPV_MSG_INFO, nullptr, {}, "%s\n", in ParseFlags()
243 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
255 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
259 std::string strategy = spvtools::utils::SplitFlagArgs(cur_arg).second; in ParseFlags()
262 spvtools::fuzz::RepeatedPassStrategy::kLoopedWithRecommendations; in ParseFlags()
265 spvtools::fuzz::RepeatedPassStrategy::kRandomWithRecommendations; in ParseFlags()
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/fuzz/
Dfuzz.cpp215 spvtools::fuzz::RepeatedPassStrategy* repeated_pass_strategy, in ParseFlags()
216 FuzzingTarget* fuzzing_target, spvtools::FuzzerOptions* fuzzer_options, in ParseFlags()
217 spvtools::ValidatorOptions* validator_options) { in ParseFlags()
223 spvtools::fuzz::RepeatedPassStrategy::kLoopedWithRecommendations; in ParseFlags()
229 spvtools::Logf(FuzzDiagnostic, SPV_MSG_INFO, nullptr, {}, "%s\n", in ParseFlags()
243 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
255 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
259 std::string strategy = spvtools::utils::SplitFlagArgs(cur_arg).second; in ParseFlags()
262 spvtools::fuzz::RepeatedPassStrategy::kLoopedWithRecommendations; in ParseFlags()
265 spvtools::fuzz::RepeatedPassStrategy::kRandomWithRecommendations; in ParseFlags()
[all …]
/third_party/spirv-tools/tools/fuzz/
Dfuzz.cpp215 spvtools::fuzz::RepeatedPassStrategy* repeated_pass_strategy, in ParseFlags()
216 FuzzingTarget* fuzzing_target, spvtools::FuzzerOptions* fuzzer_options, in ParseFlags()
217 spvtools::ValidatorOptions* validator_options) { in ParseFlags()
223 spvtools::fuzz::RepeatedPassStrategy::kLoopedWithRecommendations; in ParseFlags()
229 spvtools::Logf(FuzzDiagnostic, SPV_MSG_INFO, nullptr, {}, "%s\n", in ParseFlags()
243 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
255 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
259 std::string strategy = spvtools::utils::SplitFlagArgs(cur_arg).second; in ParseFlags()
262 spvtools::fuzz::RepeatedPassStrategy::kLoopedWithRecommendations; in ParseFlags()
265 spvtools::fuzz::RepeatedPassStrategy::kRandomWithRecommendations; in ParseFlags()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzzers/
Dspvtools_fuzz_fuzzer.cpp33 spvtools::ValidatorOptions validator_options; in LLVMFuzzerTestOneInput()
35 spvtools::MessageConsumer message_consumer = in LLVMFuzzerTestOneInput()
39 spvtools::fuzzers::RandomGenerator random_gen(data, size); in LLVMFuzzerTestOneInput()
41 std::unique_ptr<spvtools::opt::IRContext> ir_context; in LLVMFuzzerTestOneInput()
42 if (!spvtools::fuzz::fuzzerutil::BuildIRContext( in LLVMFuzzerTestOneInput()
49 std::vector<spvtools::fuzz::fuzzerutil::ModuleSupplier> donor_suppliers = { in LLVMFuzzerTestOneInput()
51 &validator_options]() -> std::unique_ptr<spvtools::opt::IRContext> { in LLVMFuzzerTestOneInput()
52 std::unique_ptr<spvtools::opt::IRContext> result; in LLVMFuzzerTestOneInput()
53 if (!spvtools::fuzz::fuzzerutil::BuildIRContext( in LLVMFuzzerTestOneInput()
64 auto fuzzer_context = spvtools::MakeUnique<spvtools::fuzz::FuzzerContext>( in LLVMFuzzerTestOneInput()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/fuzzers/
Dspvtools_fuzz_fuzzer.cpp33 spvtools::ValidatorOptions validator_options; in LLVMFuzzerTestOneInput()
35 spvtools::MessageConsumer message_consumer = in LLVMFuzzerTestOneInput()
39 spvtools::fuzzers::RandomGenerator random_gen(data, size); in LLVMFuzzerTestOneInput()
41 std::unique_ptr<spvtools::opt::IRContext> ir_context; in LLVMFuzzerTestOneInput()
42 if (!spvtools::fuzz::fuzzerutil::BuildIRContext( in LLVMFuzzerTestOneInput()
49 std::vector<spvtools::fuzz::fuzzerutil::ModuleSupplier> donor_suppliers = { in LLVMFuzzerTestOneInput()
51 &validator_options]() -> std::unique_ptr<spvtools::opt::IRContext> { in LLVMFuzzerTestOneInput()
52 std::unique_ptr<spvtools::opt::IRContext> result; in LLVMFuzzerTestOneInput()
53 if (!spvtools::fuzz::fuzzerutil::BuildIRContext( in LLVMFuzzerTestOneInput()
64 auto fuzzer_context = spvtools::MakeUnique<spvtools::fuzz::FuzzerContext>( in LLVMFuzzerTestOneInput()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl.h205 const spvtools::opt::analysis::Type* type,
219 spvtools::opt::IRContext* ir_context() { return ir_context_.get(); } in ir_context()
331 bool IsGlslExtendedInstruction(const spvtools::opt::Instruction& inst) const;
338 const spvtools::opt::Instruction& inst) const;
397 bool EmitFunction(const spvtools::opt::Function& f);
402 const spvtools::opt::analysis::IntConstant* GetArraySize(uint32_t var_id);
454 const spvtools::opt::analysis::Constant* spirv_const);
476 const spvtools::opt::Instruction& inst,
488 const spvtools::opt::Instruction& inst,
500 const Type* ForcedResultType(const spvtools::opt::Instruction& inst,
[all …]
Dfunction.h79 explicit BlockInfo(const spvtools::opt::BasicBlock& bb);
83 const spvtools::opt::BasicBlock* basic_block;
244 DefInfo(const spvtools::opt::Instruction& def_inst,
251 const spvtools::opt::Instruction& inst;
382 FunctionEmitter(ParserImpl* pi, const spvtools::opt::Function& function);
389 const spvtools::opt::Function& function,
746 bool EmitStatement(const spvtools::opt::Instruction& inst);
753 bool EmitConstDefinition(const spvtools::opt::Instruction& inst,
762 bool EmitConstDefOrWriteToHoistedVar(const spvtools::opt::Instruction& inst,
771 bool WriteIfHoistedVar(const spvtools::opt::Instruction& inst,
[all …]
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/
Dspirv_reduce_mutator.cc56 ir_context_ = spvtools::BuildModule( in SpirvReduceMutator()
57 target_env, spvtools::fuzz::fuzzerutil::kSilentMessageConsumer, in SpirvReduceMutator()
63 spvtools::reduce:: in SpirvReduceMutator()
65 MaybeAddFinder<spvtools::reduce::MergeBlocksReductionOpportunityFinder>(); in SpirvReduceMutator()
67 spvtools::reduce::OperandToConstReductionOpportunityFinder>(); in SpirvReduceMutator()
69 spvtools::reduce::OperandToDominatingIdReductionOpportunityFinder>(); in SpirvReduceMutator()
71 spvtools::reduce::OperandToUndefReductionOpportunityFinder>(); in SpirvReduceMutator()
72 MaybeAddFinder<spvtools::reduce::RemoveBlockReductionOpportunityFinder>(); in SpirvReduceMutator()
74 spvtools::reduce::RemoveFunctionReductionOpportunityFinder>(); in SpirvReduceMutator()
76 spvtools::reduce::RemoveSelectionReductionOpportunityFinder>(); in SpirvReduceMutator()
[all …]
Dspirv_fuzz_mutator.cc31 const std::vector<spvtools::fuzz::fuzzerutil::ModuleSupplier>& donors, in SpirvFuzzMutator()
33 spvtools::fuzz::RepeatedPassStrategy repeated_pass_strategy, in SpirvFuzzMutator()
42 auto ir_context = spvtools::BuildModule( in SpirvFuzzMutator()
43 target_env, spvtools::fuzz::fuzzerutil::kSilentMessageConsumer, in SpirvFuzzMutator()
48 std::make_unique<spvtools::fuzz::TransformationContext>( in SpirvFuzzMutator()
49 std::make_unique<spvtools::fuzz::FactManager>(ir_context.get()), in SpirvFuzzMutator()
52 auto fuzzer_context = std::make_unique<spvtools::fuzz::FuzzerContext>( in SpirvFuzzMutator()
53 std::make_unique<spvtools::fuzz::PseudoRandomGenerator>(seed), in SpirvFuzzMutator()
54 spvtools::fuzz::FuzzerContext::GetMinFreshId(ir_context.get()), false); in SpirvFuzzMutator()
55 fuzzer_ = std::make_unique<spvtools::fuzz::Fuzzer>( in SpirvFuzzMutator()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dreducer.cpp35 namespace spvtools { namespace
63 spvtools::SpirvTools tools(target_env_); in Run()
108 spvtools::MakeUnique<RemoveUnusedInstructionReductionOpportunityFinder>( in AddDefaultReductionPasses()
111 spvtools::MakeUnique<OperandToUndefReductionOpportunityFinder>()); in AddDefaultReductionPasses()
113 spvtools::MakeUnique<OperandToConstReductionOpportunityFinder>()); in AddDefaultReductionPasses()
115 spvtools::MakeUnique<OperandToDominatingIdReductionOpportunityFinder>()); in AddDefaultReductionPasses()
116 AddReductionPass(spvtools::MakeUnique< in AddDefaultReductionPasses()
118 AddReductionPass(spvtools::MakeUnique< in AddDefaultReductionPasses()
121 spvtools::MakeUnique<MergeBlocksReductionOpportunityFinder>()); in AddDefaultReductionPasses()
123 spvtools::MakeUnique<RemoveFunctionReductionOpportunityFinder>()); in AddDefaultReductionPasses()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dreducer.cpp35 namespace spvtools { namespace
63 spvtools::SpirvTools tools(target_env_); in Run()
108 spvtools::MakeUnique<RemoveUnusedInstructionReductionOpportunityFinder>( in AddDefaultReductionPasses()
111 spvtools::MakeUnique<OperandToUndefReductionOpportunityFinder>()); in AddDefaultReductionPasses()
113 spvtools::MakeUnique<OperandToConstReductionOpportunityFinder>()); in AddDefaultReductionPasses()
115 spvtools::MakeUnique<OperandToDominatingIdReductionOpportunityFinder>()); in AddDefaultReductionPasses()
116 AddReductionPass(spvtools::MakeUnique< in AddDefaultReductionPasses()
118 AddReductionPass(spvtools::MakeUnique< in AddDefaultReductionPasses()
121 spvtools::MakeUnique<MergeBlocksReductionOpportunityFinder>()); in AddDefaultReductionPasses()
123 spvtools::MakeUnique<RemoveFunctionReductionOpportunityFinder>()); in AddDefaultReductionPasses()
[all …]
/third_party/spirv-tools/tools/opt/
Dopt.cpp54 std::string GetListOfPassesAsString(const spvtools::Optimizer& optimizer) { in GetListOfPassesAsString()
65 spvtools::Optimizer optimizer(kDefaultEnvironment); in GetLegalizationPasses()
71 spvtools::Optimizer optimizer(kDefaultEnvironment); in GetOptimizationPasses()
77 spvtools::Optimizer optimizer(kDefaultEnvironment); in GetSizePasses()
529 spvtools::Errorf(opt_diagnostic, nullptr, {}, "Invalid -Oconfig flag %s", in ReadFlagsFromFile()
538 spvtools::Errorf(opt_diagnostic, nullptr, {}, "Could not open file '%s'", in ReadFlagsFromFile()
565 spvtools::Optimizer* optimizer, const char** in_file,
567 spvtools::ValidatorOptions* validator_options,
568 spvtools::OptimizerOptions* optimizer_options);
578 spvtools::Optimizer* optimizer, const char** in_file, in ParseOconfigFlag()
[all …]
/third_party/spirv-tools/source/reduce/
Dreducer.cpp34 namespace spvtools { namespace
62 spvtools::SpirvTools tools(target_env_); in Run()
107 spvtools::MakeUnique<RemoveUnusedInstructionReductionOpportunityFinder>( in AddDefaultReductionPasses()
110 spvtools::MakeUnique<OperandToUndefReductionOpportunityFinder>()); in AddDefaultReductionPasses()
112 spvtools::MakeUnique<OperandToConstReductionOpportunityFinder>()); in AddDefaultReductionPasses()
114 spvtools::MakeUnique<OperandToDominatingIdReductionOpportunityFinder>()); in AddDefaultReductionPasses()
115 AddReductionPass(spvtools::MakeUnique< in AddDefaultReductionPasses()
118 spvtools::MakeUnique<MergeBlocksReductionOpportunityFinder>()); in AddDefaultReductionPasses()
120 spvtools::MakeUnique<RemoveFunctionReductionOpportunityFinder>()); in AddDefaultReductionPasses()
122 spvtools::MakeUnique<RemoveBlockReductionOpportunityFinder>()); in AddDefaultReductionPasses()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/opt/
Dopt.cpp54 std::string GetListOfPassesAsString(const spvtools::Optimizer& optimizer) { in GetListOfPassesAsString()
65 spvtools::Optimizer optimizer(kDefaultEnvironment); in GetLegalizationPasses()
71 spvtools::Optimizer optimizer(kDefaultEnvironment); in GetOptimizationPasses()
77 spvtools::Optimizer optimizer(kDefaultEnvironment); in GetSizePasses()
552 spvtools::Errorf(opt_diagnostic, nullptr, {}, "Invalid -Oconfig flag %s", in ReadFlagsFromFile()
561 spvtools::Errorf(opt_diagnostic, nullptr, {}, "Could not open file '%s'", in ReadFlagsFromFile()
588 spvtools::Optimizer* optimizer, const char** in_file,
590 spvtools::ValidatorOptions* validator_options,
591 spvtools::OptimizerOptions* optimizer_options);
601 spvtools::Optimizer* optimizer, const char** in_file, in ParseOconfigFlag()
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/opt/
Dopt.cpp54 std::string GetListOfPassesAsString(const spvtools::Optimizer& optimizer) { in GetListOfPassesAsString()
65 spvtools::Optimizer optimizer(kDefaultEnvironment); in GetLegalizationPasses()
71 spvtools::Optimizer optimizer(kDefaultEnvironment); in GetOptimizationPasses()
77 spvtools::Optimizer optimizer(kDefaultEnvironment); in GetSizePasses()
552 spvtools::Errorf(opt_diagnostic, nullptr, {}, "Invalid -Oconfig flag %s", in ReadFlagsFromFile()
561 spvtools::Errorf(opt_diagnostic, nullptr, {}, "Could not open file '%s'", in ReadFlagsFromFile()
588 spvtools::Optimizer* optimizer, const char** in_file,
590 spvtools::ValidatorOptions* validator_options,
591 spvtools::OptimizerOptions* optimizer_options);
601 spvtools::Optimizer* optimizer, const char** in_file, in ParseOconfigFlag()
[all …]
/third_party/vk-gl-cts/build/external/spirv-tools/spirv-tools/
Doperand.kinds-unified1.inc120 static const spvtools::Extension pygen_variable_exts_SPV_AMD_gpu_shader_half_float_fetch[] = {spvto…
121 static const spvtools::Extension pygen_variable_exts_SPV_AMD_shader_ballot[] = {spvtools::Extension…
122 static const spvtools::Extension pygen_variable_exts_SPV_AMD_shader_explicit_vertex_parameter[] = {
123 static const spvtools::Extension pygen_variable_exts_SPV_AMD_shader_fragment_mask[] = {spvtools::Ex…
124 static const spvtools::Extension pygen_variable_exts_SPV_AMD_shader_image_load_store_lod[] = {spvto…
125 static const spvtools::Extension pygen_variable_exts_SPV_AMD_texture_gather_bias_lod[] = {spvtools:…
126 static const spvtools::Extension pygen_variable_exts_SPV_EXT_demote_to_helper_invocation[] = {spvto…
127 static const spvtools::Extension pygen_variable_exts_SPV_EXT_descriptor_indexing[] = {spvtools::Ext…
128 static const spvtools::Extension pygen_variable_exts_SPV_EXT_fragment_fully_covered[] = {spvtools::…
129spvtools::Extension pygen_variable_exts_SPV_EXT_fragment_invocation_densitySPV_NV_shading_rate[] =…
[all …]
/third_party/spirv-tools/test/opt/
Dfunction_utils.h23 inline spvtools::opt::Function* GetFunction(spvtools::opt::Module* module, in GetFunction()
25 for (spvtools::opt::Function& f : *module) { in GetFunction()
33 inline const spvtools::opt::Function* GetFunction( in GetFunction()
34 const spvtools::opt::Module* module, uint32_t id) { in GetFunction()
35 for (const spvtools::opt::Function& f : *module) { in GetFunction()
43 inline const spvtools::opt::BasicBlock* GetBasicBlock( in GetBasicBlock()
44 const spvtools::opt::Function* fn, uint32_t id) { in GetBasicBlock()
45 for (const spvtools::opt::BasicBlock& bb : *fn) { in GetBasicBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dfunction_utils.h23 inline spvtools::opt::Function* GetFunction(spvtools::opt::Module* module, in GetFunction()
25 for (spvtools::opt::Function& f : *module) { in GetFunction()
33 inline const spvtools::opt::Function* GetFunction( in GetFunction()
34 const spvtools::opt::Module* module, uint32_t id) { in GetFunction()
35 for (const spvtools::opt::Function& f : *module) { in GetFunction()
43 inline const spvtools::opt::BasicBlock* GetBasicBlock( in GetBasicBlock()
44 const spvtools::opt::Function* fn, uint32_t id) { in GetBasicBlock()
45 for (const spvtools::opt::BasicBlock& bb : *fn) { in GetBasicBlock()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dfunction_utils.h23 inline spvtools::opt::Function* GetFunction(spvtools::opt::Module* module, in GetFunction()
25 for (spvtools::opt::Function& f : *module) { in GetFunction()
33 inline const spvtools::opt::Function* GetFunction( in GetFunction()
34 const spvtools::opt::Module* module, uint32_t id) { in GetFunction()
35 for (const spvtools::opt::Function& f : *module) { in GetFunction()
43 inline const spvtools::opt::BasicBlock* GetBasicBlock( in GetBasicBlock()
44 const spvtools::opt::Function* fn, uint32_t id) { in GetBasicBlock()
45 for (const spvtools::opt::BasicBlock& bb : *fn) { in GetBasicBlock()
/third_party/skia/third_party/externals/spirv-tools/tools/reduce/
Dreduce.cpp150 spvtools::ReducerOptions* reducer_options, in ParseFlags()
151 spvtools::ValidatorOptions* validator_options) { in ParseFlags()
159 spvtools::Logf(ReduceDiagnostic, SPV_MSG_INFO, nullptr, {}, "%s\n", in ParseFlags()
174 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
183 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
206 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
213 spvtools::Error(ReduceDiagnostic, nullptr, {}, ss.str().c_str()); in ParseFlags()
228 spvtools::Error(ReduceDiagnostic, nullptr, {}, "No input file specified"); in ParseFlags()
233 spvtools::Error(ReduceDiagnostic, nullptr, {}, "-o required"); in ParseFlags()
238 spvtools::Error(ReduceDiagnostic, nullptr, {}, in ParseFlags()
[all …]
/third_party/spirv-tools/tools/reduce/
Dreduce.cpp150 spvtools::ReducerOptions* reducer_options, in ParseFlags()
151 spvtools::ValidatorOptions* validator_options) { in ParseFlags()
159 spvtools::Logf(ReduceDiagnostic, SPV_MSG_INFO, nullptr, {}, "%s\n", in ParseFlags()
174 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
183 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
206 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
213 spvtools::Error(ReduceDiagnostic, nullptr, {}, ss.str().c_str()); in ParseFlags()
228 spvtools::Error(ReduceDiagnostic, nullptr, {}, "No input file specified"); in ParseFlags()
233 spvtools::Error(ReduceDiagnostic, nullptr, {}, "-o required"); in ParseFlags()
238 spvtools::Error(ReduceDiagnostic, nullptr, {}, in ParseFlags()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/reduce/
Dreduce.cpp150 spvtools::ReducerOptions* reducer_options, in ParseFlags()
151 spvtools::ValidatorOptions* validator_options) { in ParseFlags()
159 spvtools::Logf(ReduceDiagnostic, SPV_MSG_INFO, nullptr, {}, "%s\n", in ParseFlags()
174 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
183 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
206 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
213 spvtools::Error(ReduceDiagnostic, nullptr, {}, ss.str().c_str()); in ParseFlags()
228 spvtools::Error(ReduceDiagnostic, nullptr, {}, "No input file specified"); in ParseFlags()
233 spvtools::Error(ReduceDiagnostic, nullptr, {}, "-o required"); in ParseFlags()
238 spvtools::Error(ReduceDiagnostic, nullptr, {}, in ParseFlags()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/link/
Dlinker_fixture.h38 assemble_options_(spvtools::SpirvTools::kDefaultAssembleOption), in LinkerTest()
39 disassemble_options_(spvtools::SpirvTools::kDefaultDisassembleOption) { in LinkerTest()
74 spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
82 return spvtools::Link(context_, binaries, linked_binary, options);
92 spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
144 const spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
162 const spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
184 spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
186 return spvtools::Link(context_, binaries, linked_binary, options);
212 spvtools::Context context_;
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/link/
Dlinker_fixture.h38 assemble_options_(spvtools::SpirvTools::kDefaultAssembleOption), in LinkerTest()
39 disassemble_options_(spvtools::SpirvTools::kDefaultDisassembleOption) { in LinkerTest()
74 spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
82 return spvtools::Link(context_, binaries, linked_binary, options);
92 spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
144 const spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
162 const spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
184 spvtools::LinkerOptions options = spvtools::LinkerOptions()) {
186 return spvtools::Link(context_, binaries, linked_binary, options);
212 spvtools::Context context_;
[all …]

12345678910>>...136