mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-22 18:59:18 +01:00
Allocate a general purpose GPU-side debug tracing buffer
Can be used for checkpoints, etc.
This commit is contained in:
parent
c36b8e843e
commit
c15b89975b
@ -402,7 +402,8 @@ namespace skyline::gpu {
|
||||
descriptor(*this),
|
||||
helperShaders(*this, state.os->assetFileSystem),
|
||||
renderPassCache(*this),
|
||||
framebufferCache(*this) {}
|
||||
framebufferCache(*this),
|
||||
debugTracingBuffer(memory.AllocateBuffer(DebugTracingBufferSize)) {}
|
||||
|
||||
void GPU::Initialise() {
|
||||
std::string titleId{state.loader->nacp->GetSaveDataOwnerId()};
|
||||
|
@ -68,6 +68,9 @@ namespace skyline::gpu {
|
||||
std::optional<interconnect::maxwell3d::PipelineManager> graphicsPipelineManager;
|
||||
interconnect::kepler_compute::PipelineManager computePipelineManager;
|
||||
|
||||
static constexpr size_t DebugTracingBufferSize{0x80000}; //!< 512KiB
|
||||
memory::Buffer debugTracingBuffer; //!< General use buffer for debug tracing, first 4 bytes are allocated for checkpoints
|
||||
|
||||
GPU(const DeviceState &state);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user