GPU: Special case to avoid assert on GenerateMipmaps (#12995)

This commit is contained in:
Evan Hemsley 2025-05-09 21:45:54 -07:00 committed by GitHub
parent 7b3bd8c538
commit 86b206dadf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 2 deletions

View file

@ -66,6 +66,8 @@ typedef struct CommandBufferCommonHeader
Pass copy_pass;
bool swapchain_texture_acquired;
bool submitted;
// used to avoid tripping assert on GenerateMipmaps
bool ignore_render_pass_texture_validation;
} CommandBufferCommonHeader;
typedef struct TextureCommonHeader