diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-27 10:47:29 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-27 10:47:29 -0600 |
commit | ed01f5f2aa8e5a4c7103417f78259c5c9d9471ff (patch) | |
tree | c07cc6c07b939c38742c67a318e3ec7db6dc6dfa /servers/rendering/rendering_device_commons.h | |
parent | ce4674a0a5085746e4f4014fd6b3250248c0b52d (diff) | |
parent | 6d5ac8f7ef4a3ddaf50720ab473b9dffece21674 (diff) | |
download | redot-engine-ed01f5f2aa8e5a4c7103417f78259c5c9d9471ff.tar.gz |
Merge pull request #98670 from DarioSamo/rd-transient-targets
Automatically resolve initial and final action for draw lists.
Diffstat (limited to 'servers/rendering/rendering_device_commons.h')
-rw-r--r-- | servers/rendering/rendering_device_commons.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/servers/rendering/rendering_device_commons.h b/servers/rendering/rendering_device_commons.h index d516d968af..9d01b69550 100644 --- a/servers/rendering/rendering_device_commons.h +++ b/servers/rendering/rendering_device_commons.h @@ -373,6 +373,7 @@ public: uint32_t usage_bits = 0; Vector<DataFormat> shareable_formats; bool is_resolve_buffer = false; + bool is_discardable = false; bool operator==(const TextureFormat &b) const { if (format != b.format) { @@ -395,6 +396,10 @@ public: return false; } else if (shareable_formats != b.shareable_formats) { return false; + } else if (is_resolve_buffer != b.is_resolve_buffer) { + return false; + } else if (is_discardable != b.is_discardable) { + return false; } else { return true; } |