This commit is contained in:
Spartan322
2024-11-27 13:52:25 -05:00
209 changed files with 4657 additions and 1923 deletions

View File

@@ -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;
}