metal graphics device fix

This commit is contained in:
János Turánszki
2026-02-22 18:57:30 +01:00
parent a2af5b4a3b
commit b6d683680f
+1 -1
View File
@@ -665,7 +665,7 @@ namespace metal_internal
uint32_t firstSlice = 0;
uint32_t sliceCount = 0;
bool IsValid() const { return entry.textureViewID != 0; }
bool IsValid() const { return entry.textureViewID != 0 || mipCount > 0 || sliceCount > 0; }
};
Subresource srv;
Subresource uav;