Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
debug_ring.cpp File Reference
#include "gpu/debug_ring.h"
#include <array>
#include "gpu/resources.h"
#include "common/debug_formats.hlsli"
#include "gpu/com_ptr.h"
Include dependency graph for debug_ring.cpp:

Go to the source code of this file.

Classes

struct  bicameral::gpu::DebugArgument
struct  std::formatter< bicameral::gpu::DebugArgument, char >
struct  bicameral::gpu::anonymous_namespace{debug_ring.cpp}::DebugFormatEntry

Namespaces

namespace  bicameral
namespace  bicameral::gpu
namespace  bicameral::gpu::anonymous_namespace{debug_ring.cpp}

Macros

#define DEBUG_FORMAT(name, channel, where, text)

Typedefs

using bicameral::gpu::anonymous_namespace{debug_ring.cpp}::DebugArguments = std::array<DebugArgument, DEBUG_RECORD_MAX_ARGS>

Functions

std::string bicameral::gpu::anonymous_namespace{debug_ring.cpp}::RawArguments (const DebugArguments &arguments, uint32_t argCount)
std::string bicameral::gpu::anonymous_namespace{debug_ring.cpp}::VFormatArguments (std::string_view pattern, const DebugArguments &a, uint32_t argCount)
std::string bicameral::gpu::anonymous_namespace{debug_ring.cpp}::FormatArguments (std::string_view pattern, const DebugArguments &arguments, uint32_t argCount)
void bicameral::gpu::anonymous_namespace{debug_ring.cpp}::LogMessage (const DebugMessage &message)
void bicameral::gpu::anonymous_namespace{debug_ring.cpp}::LogSummary (const DebugRingContents &contents, uint32_t loggedCount)
DebugMessage bicameral::gpu::DecodeDebugRecord (std::span< const uint32_t, DEBUG_RECORD_WORDS > record)

Variables

constexpr DebugFormatEntry bicameral::gpu::anonymous_namespace{debug_ring.cpp}::DEBUG_FORMATS []

Macro Definition Documentation

◆ DEBUG_FORMAT

#define DEBUG_FORMAT ( name,
channel,
where,
text )
Value:
{Channel::channel, where, text},