summaryrefslogtreecommitdiffstats
path: root/servers/rendering/rendering_device_commons.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/rendering/rendering_device_commons.h')
-rw-r--r--servers/rendering/rendering_device_commons.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/servers/rendering/rendering_device_commons.h b/servers/rendering/rendering_device_commons.h
index 6463c8c5b8..dd486e8197 100644
--- a/servers/rendering/rendering_device_commons.h
+++ b/servers/rendering/rendering_device_commons.h
@@ -375,6 +375,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) {
@@ -397,6 +398,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;
}