Lines Matching refs:debug_record

658 static void GenerateStageMessage(const uint32_t *debug_record, std::string &msg) {  in GenerateStageMessage()  argument
661 switch (debug_record[kInstCommonOutStageIdx]) { in GenerateStageMessage()
663 strm << "Stage = Vertex. Vertex Index = " << debug_record[kInstVertOutVertexIndex] in GenerateStageMessage()
664 << " Instance Index = " << debug_record[kInstVertOutInstanceIndex] << ". "; in GenerateStageMessage()
667 …strm << "Stage = Tessellation Control. Invocation ID = " << debug_record[kInstTessOutInvocationId… in GenerateStageMessage()
670 …strm << "Stage = Tessellation Eval. Invocation ID = " << debug_record[kInstTessOutInvocationId] <… in GenerateStageMessage()
673 strm << "Stage = Geometry. Primitive ID = " << debug_record[kInstGeomOutPrimitiveId] in GenerateStageMessage()
674 << " Invocation ID = " << debug_record[kInstGeomOutInvocationId] << ". "; in GenerateStageMessage()
678 << *reinterpret_cast<const float *>(&debug_record[kInstFragOutFragCoordX]) << ", " in GenerateStageMessage()
679 … << *reinterpret_cast<const float *>(&debug_record[kInstFragOutFragCoordY]) << "). "; in GenerateStageMessage()
682 …strm << "Stage = Compute. Global invocation ID = " << debug_record[kInstCompOutGlobalInvocationId… in GenerateStageMessage()
685 … strm << "Internal Error (unexpected stage = " << debug_record[kInstCommonOutStageIdx] << "). "; in GenerateStageMessage()
693 static void GenerateValidationMessage(const uint32_t *debug_record, std::string &msg, std::string &… in GenerateValidationMessage() argument
696 switch (debug_record[kInstValidationOutError]) { in GenerateValidationMessage()
698 …strm << "Index of " << debug_record[kInstBindlessOutDescIndex] << " used to index descriptor array… in GenerateValidationMessage()
699 << debug_record[kInstBindlessOutDescBound] << ". "; in GenerateValidationMessage()
703 … strm << "Descriptor index " << debug_record[kInstBindlessOutDescIndex] << " is uninitialized. "; in GenerateValidationMessage()
707 …strm << "Internal Error (unexpected error type = " << debug_record[kInstValidationOutError] << ").… in GenerateValidationMessage()
724 …(const debug_report_data *report_data, const GLOBAL_CB_NODE *cb_node, const uint32_t *debug_record, in GenerateCommonMessage() argument
745 strm << "Shader Instruction Index = " << debug_record[kInstCommonOutInstructionIdx] << ". "; in GenerateCommonMessage()
848 …eSourceMessages(const std::vector<unsigned int> &pgm, const uint32_t *debug_record, std::string &f… in GenerateSourceMessages() argument
868 if (instruction_index == debug_record[kInstCommonOutInstructionIdx]) { in GenerateSourceMessages()
993 const uint32_t *debug_record = &debug_output_buffer[kDebugOutputDataOffset]; in AnalyzeAndReportError() local
996 auto it = gpu_state->shader_map.find(debug_record[kInstCommonOutShaderId]); in AnalyzeAndReportError()
1002 GenerateValidationMessage(debug_record, validation_message, vuid_msg); in AnalyzeAndReportError()
1003 GenerateStageMessage(debug_record, stage_message); in AnalyzeAndReportError()
1004 …GenerateCommonMessage(report_data, cb_node, debug_record, shader_module_handle, pipeline_handle, d… in AnalyzeAndReportError()
1005 GenerateSourceMessages(pgm, debug_record, filename_message, source_message); in AnalyzeAndReportError()
1011 …const uint32_t words_to_clear = 1 + std::min(debug_record[kInstCommonOutSize], (uint32_t)kInstMaxO… in AnalyzeAndReportError()