58 r_name_buf[
len - 3] =
'\0';
178 for (
int image_unit = 0; image_unit <
GPU_MAX_IMAGE; image_unit++) {
188 if (
UNLIKELY(texture_formats_shader[image_unit] != texture_formats_state[image_unit])) {
191 "Error in GPU_debug_validate_binding_image_format: Image format mismatch detected for "
192 "shader '%s' at binding %d (shader format '%s' vs. bound texture format '%s').\n",
#define BLI_assert_unreachable()
size_t BLI_snprintf_rlen(char *__restrict dst, size_t dst_maxncpy, const char *__restrict format,...) ATTR_NONNULL(1
const char * GPU_texture_format_name(blender::gpu::TextureFormat format)
void append(const T &value)
virtual void debug_group_begin(const char *, int)
virtual void debug_capture_scope_end(void *scope)=0
StateManager * state_manager
virtual bool debug_capture_scope_begin(void *scope)=0
virtual void * debug_capture_scope_create(const char *name)=0
virtual void debug_capture_end()=0
virtual bool debug_capture_begin(const char *title)=0
virtual void debug_group_end()
std::array< TextureWriteFormat, GPU_MAX_IMAGE > image_formats_
ShaderInterface * interface
std::array< TextureWriteFormat, GPU_MAX_IMAGE > image_formats
void GPU_debug_group_end()
void GPU_debug_capture_end()
void GPU_debug_capture_scope_end(void *scope)
void GPU_debug_capture_begin(const char *title)
bool GPU_debug_group_match(const char *ref)
bool GPU_debug_capture_scope_begin(void *scope)
void GPU_debug_group_begin(const char *name)
void GPU_debug_get_groups_names(int name_buf_len, char *r_name_buf)
void * GPU_debug_capture_scope_create(const char *name)
Vector< StringRef > DebugStack
void debug_validate_binding_image_format()
constexpr TextureFormat to_texture_format(TextureTargetFormat format)