mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge commit godotengine/godot@f128f383e8
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user