Home
last modified time | relevance | path

Searched refs:hijack_context (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate.cpp382 spv_context_t hijack_context = *context; in ValidateBinaryAndKeepValidationState() local
385 UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in ValidateBinaryAndKeepValidationState()
388 vstate->reset(new ValidationState_t(&hijack_context, options, words, in ValidateBinaryAndKeepValidationState()
392 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
408 spv_context_t hijack_context = *context; in spvValidateBinary() local
411 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateBinary()
418 spvtools::val::ValidationState_t vstate(&hijack_context, default_options, in spvValidateBinary()
424 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
434 spv_context_t hijack_context = *context; in spvValidateWithOptions() local
437 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateWithOptions()
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate.cpp382 spv_context_t hijack_context = *context; in ValidateBinaryAndKeepValidationState() local
385 UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in ValidateBinaryAndKeepValidationState()
388 vstate->reset(new ValidationState_t(&hijack_context, options, words, in ValidateBinaryAndKeepValidationState()
392 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
408 spv_context_t hijack_context = *context; in spvValidateBinary() local
411 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateBinary()
418 spvtools::val::ValidationState_t vstate(&hijack_context, default_options, in spvValidateBinary()
424 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
434 spv_context_t hijack_context = *context; in spvValidateWithOptions() local
437 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateWithOptions()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/
Ddisassemble.cpp467 spv_context_t hijack_context = *context; in spvBinaryToText() local
470 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvBinaryToText()
473 const spvtools::AssemblyGrammar grammar(&hijack_context); in spvBinaryToText()
481 &hijack_context, code, wordCount); in spvBinaryToText()
487 if (auto error = spvBinaryParse(&hijack_context, &disassembler, code, in spvBinaryToText()
Dtext.cpp820 spv_context_t hijack_context = *context; in spvTextToBinaryWithOptions() local
823 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvTextToBinaryWithOptions()
827 spvtools::AssemblyGrammar grammar(&hijack_context); in spvTextToBinaryWithOptions()
830 grammar, hijack_context.consumer, &text, options, pBinary); in spvTextToBinaryWithOptions()
Dbinary.cpp807 spv_context_t hijack_context = *context; in spvBinaryParse() local
810 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, diagnostic); in spvBinaryParse()
812 Parser parser(&hijack_context, user_data, parsed_header, parsed_instruction); in spvBinaryParse()
/external/deqp-deps/SPIRV-Tools/source/
Ddisassemble.cpp467 spv_context_t hijack_context = *context; in spvBinaryToText() local
470 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvBinaryToText()
473 const spvtools::AssemblyGrammar grammar(&hijack_context); in spvBinaryToText()
481 &hijack_context, code, wordCount); in spvBinaryToText()
487 if (auto error = spvBinaryParse(&hijack_context, &disassembler, code, in spvBinaryToText()
Dtext.cpp820 spv_context_t hijack_context = *context; in spvTextToBinaryWithOptions() local
823 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvTextToBinaryWithOptions()
827 spvtools::AssemblyGrammar grammar(&hijack_context); in spvTextToBinaryWithOptions()
830 grammar, hijack_context.consumer, &text, options, pBinary); in spvTextToBinaryWithOptions()
Dbinary.cpp807 spv_context_t hijack_context = *context; in spvBinaryParse() local
810 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, diagnostic); in spvBinaryParse()
812 Parser parser(&hijack_context, user_data, parsed_header, parsed_instruction); in spvBinaryParse()