Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate.cpp345 spv_context_t hijack_context = *context; in spvValidateBinary() local
348 libspirv::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateBinary()
355 ValidationState_t vstate(&hijack_context, default_options); in spvValidateBinary()
358 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
368 spv_context_t hijack_context = *context; in spvValidateWithOptions() local
371 libspirv::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateWithOptions()
375 ValidationState_t vstate(&hijack_context, options); in spvValidateWithOptions()
378 hijack_context, binary->code, binary->wordCount, pDiagnostic, &vstate); in spvValidateWithOptions()
387 spv_context_t hijack_context = *context; in ValidateBinaryAndKeepValidationState() local
390 libspirv::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in ValidateBinaryAndKeepValidationState()
[all …]
Ddisassemble.cpp357 spv_context_t hijack_context = *context; in spvBinaryToText() local
360 libspirv::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvBinaryToText()
363 const libspirv::AssemblyGrammar grammar(&hijack_context); in spvBinaryToText()
371 new libspirv::FriendlyNameMapper(&hijack_context, code, wordCount)); in spvBinaryToText()
377 if (auto error = spvBinaryParse(&hijack_context, &disassembler, code, in spvBinaryToText()
Dtext.cpp782 spv_context_t hijack_context = *context; in spvTextToBinaryWithOptions() local
785 libspirv::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvTextToBinaryWithOptions()
789 libspirv::AssemblyGrammar grammar(&hijack_context); in spvTextToBinaryWithOptions()
792 grammar, hijack_context.consumer, &text, options, pBinary); in spvTextToBinaryWithOptions()
Dbinary.cpp760 spv_context_t hijack_context = *context; in spvBinaryParse() local
763 libspirv::UseDiagnosticAsMessageConsumer(&hijack_context, diagnostic); in spvBinaryParse()
765 Parser parser(&hijack_context, user_data, parsed_header, parsed_instruction); in spvBinaryParse()
/third_party/spirv-tools/source/val/
Dvalidate.cpp383 spv_context_t hijack_context = *context; in ValidateBinaryAndKeepValidationState() local
386 UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in ValidateBinaryAndKeepValidationState()
389 vstate->reset(new ValidationState_t(&hijack_context, options, words, in ValidateBinaryAndKeepValidationState()
393 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
409 spv_context_t hijack_context = *context; in spvValidateBinary() local
412 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateBinary()
419 spvtools::val::ValidationState_t vstate(&hijack_context, default_options, in spvValidateBinary()
425 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
435 spv_context_t hijack_context = *context; in spvValidateWithOptions() local
438 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateWithOptions()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate.cpp383 spv_context_t hijack_context = *context; in ValidateBinaryAndKeepValidationState() local
386 UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in ValidateBinaryAndKeepValidationState()
389 vstate->reset(new ValidationState_t(&hijack_context, options, words, in ValidateBinaryAndKeepValidationState()
393 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
409 spv_context_t hijack_context = *context; in spvValidateBinary() local
412 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateBinary()
419 spvtools::val::ValidationState_t vstate(&hijack_context, default_options, in spvValidateBinary()
425 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
435 spv_context_t hijack_context = *context; in spvValidateWithOptions() local
438 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateWithOptions()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate.cpp383 spv_context_t hijack_context = *context; in ValidateBinaryAndKeepValidationState() local
386 UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in ValidateBinaryAndKeepValidationState()
389 vstate->reset(new ValidationState_t(&hijack_context, options, words, in ValidateBinaryAndKeepValidationState()
393 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
409 spv_context_t hijack_context = *context; in spvValidateBinary() local
412 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateBinary()
419 spvtools::val::ValidationState_t vstate(&hijack_context, default_options, in spvValidateBinary()
425 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
435 spv_context_t hijack_context = *context; in spvValidateWithOptions() local
438 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateWithOptions()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/comp/
Dmarkv_codec.cpp1447 spv_context_t hijack_context = *context; in spvSpirvToMarkv() local
1450 libspirv::UseDiagnosticAsMessageConsumer(&hijack_context, diagnostic); in spvSpirvToMarkv()
1458 return libspirv::DiagnosticStream(position, hijack_context.consumer, in spvSpirvToMarkv()
1465 return libspirv::DiagnosticStream(position, hijack_context.consumer, in spvSpirvToMarkv()
1470 MarkvEncoder encoder(&hijack_context, options); in spvSpirvToMarkv()
1476 if (spvBinaryToText(&hijack_context, spirv_words, spirv_num_words, in spvSpirvToMarkv()
1479 return libspirv::DiagnosticStream(position, hijack_context.consumer, in spvSpirvToMarkv()
1489 &hijack_context, &encoder, spirv_words, spirv_num_words, EncodeHeader, in spvSpirvToMarkv()
1491 return libspirv::DiagnosticStream(position, hijack_context.consumer, in spvSpirvToMarkv()
1510 spv_context_t hijack_context = *context; in spvMarkvToSpirv() local
[all …]
/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()
/third_party/skia/third_party/externals/spirv-tools/source/
Ddisassemble.cpp479 spv_context_t hijack_context = *context; in spvBinaryToText() local
482 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvBinaryToText()
485 const spvtools::AssemblyGrammar grammar(&hijack_context); in spvBinaryToText()
493 &hijack_context, code, wordCount); in spvBinaryToText()
499 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.cpp814 spv_context_t hijack_context = *context; in spvBinaryParse() local
817 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, diagnostic); in spvBinaryParse()
819 Parser parser(&hijack_context, user_data, parsed_header, parsed_instruction); in spvBinaryParse()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Ddisassemble.cpp479 spv_context_t hijack_context = *context; in spvBinaryToText() local
482 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvBinaryToText()
485 const spvtools::AssemblyGrammar grammar(&hijack_context); in spvBinaryToText()
493 &hijack_context, code, wordCount); in spvBinaryToText()
499 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.cpp814 spv_context_t hijack_context = *context; in spvBinaryParse() local
817 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, diagnostic); in spvBinaryParse()
819 Parser parser(&hijack_context, user_data, parsed_header, parsed_instruction); in spvBinaryParse()