diff options
author | Spartan322 <Megacake1234@gmail.com> | 2024-10-26 22:41:20 -0400 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-10-26 22:41:20 -0400 |
commit | 953af98c795066a5a450a3401cc8a4fbc6c12620 (patch) | |
tree | 9e100139ffacbcae90fbb5e6b10413e50a8e76b6 /servers/rendering/rendering_device_graph.h | |
parent | a43f7f1c02a887d19694bdebac83af4d32cf3433 (diff) | |
parent | 61accf060515416da07d913580419fd8c8490f7b (diff) | |
download | redot-engine-953af98c795066a5a450a3401cc8a4fbc6c12620.tar.gz |
Merge commit godotengine/godot@61accf060515416da07d913580419fd8c8490f7b
Diffstat (limited to 'servers/rendering/rendering_device_graph.h')
-rw-r--r-- | servers/rendering/rendering_device_graph.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/servers/rendering/rendering_device_graph.h b/servers/rendering/rendering_device_graph.h index d7b1c2cb61..095c2eb5da 100644 --- a/servers/rendering/rendering_device_graph.h +++ b/servers/rendering/rendering_device_graph.h @@ -223,14 +223,18 @@ private: }; struct ComputeInstructionList : InstructionList { +#if defined(DEBUG_ENABLED) || defined(DEV_ENABLED) uint32_t breadcrumb; +#endif }; struct DrawInstructionList : InstructionList { RDD::RenderPassID render_pass; RDD::FramebufferID framebuffer; Rect2i region; +#if defined(DEBUG_ENABLED) || defined(DEV_ENABLED) uint32_t breadcrumb; +#endif LocalVector<RDD::RenderPassClearValue> clear_values; }; @@ -319,7 +323,9 @@ private: RDD::FramebufferID framebuffer; RDD::CommandBufferType command_buffer_type; Rect2i region; +#if defined(DEBUG_ENABLED) || defined(DEV_ENABLED) uint32_t breadcrumb = 0; +#endif uint32_t clear_values_count = 0; _FORCE_INLINE_ RDD::RenderPassClearValue *clear_values() { |