Blender V4.3
blender::gpu::MTLLogParser Class Reference

#include <mtl_shader_log.hh>

Inherits blender::gpu::GPULogParser.

Public Member Functions

const char * parse_line (const char *source_combined, const char *log_line, GPULogItem &log_item) override
 

Protected Member Functions

const char * skip_name (const char *log_line)
 
const char * skip_severity_keyword (const char *log_line, GPULogItem &log_item)
 
const char * skip_line (const char *cursor) const
 
- Protected Member Functions inherited from blender::gpu::GPULogParser
 MEM_CXX_CLASS_ALLOC_FUNCS ("GPULogParser")
 
const char * skip_severity (const char *log_line, GPULogItem &log_item, const char *error_msg, const char *warning_msg, const char *note_msg) const
 
const char * skip_separators (const char *log_line, const StringRef separators) const
 
const char * skip_until (const char *log_line, char stop_char) const
 
bool at_number (const char *log_line) const
 
bool at_any (const char *log_line, const StringRef chars) const
 
int parse_number (const char *log_line, const char **r_new_position) const
 

Protected Attributes

bool wrapper_error_ = false
 
bool parsed_error_ = false
 

Detailed Description

Definition at line 9 of file mtl_shader_log.hh.

Member Function Documentation

◆ parse_line()

◆ skip_line()

const char * blender::gpu::MTLLogParser::skip_line ( const char * cursor) const
protected

Definition at line 104 of file mtl_shader_log.mm.

References ELEM.

Referenced by parse_line().

◆ skip_name()

const char * blender::gpu::MTLLogParser::skip_name ( const char * log_line)
protected

Definition at line 94 of file mtl_shader_log.mm.

References blender::gpu::GPULogParser::skip_until().

Referenced by parse_line().

◆ skip_severity_keyword()

const char * blender::gpu::MTLLogParser::skip_severity_keyword ( const char * log_line,
GPULogItem & log_item )
protected

Definition at line 99 of file mtl_shader_log.mm.

References blender::gpu::GPULogParser::skip_severity().

Referenced by parse_line().

Member Data Documentation

◆ parsed_error_

bool blender::gpu::MTLLogParser::parsed_error_ = false
protected

Definition at line 17 of file mtl_shader_log.hh.

Referenced by parse_line().

◆ wrapper_error_

bool blender::gpu::MTLLogParser::wrapper_error_ = false
protected

Definition at line 16 of file mtl_shader_log.hh.

Referenced by parse_line().


The documentation for this class was generated from the following files: