mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 20:58:31 +09:00
[Fix]: fix Chocapic V6 Lite
- prune unused SPIR-V interface variables before GLES transpilation - remap shader varyings through glslang IO resolver bindings - initialize opaque uniforms from explicit sampler bindings only - avoid side effects in texture binding assertions - register Chocapic V6 Lite retrace fixture
This commit is contained in:
@@ -4212,8 +4212,9 @@ void main() {
|
||||
static_cast<Int>(resource->format));
|
||||
}
|
||||
|
||||
MOBILEGL_ASSERT(EnsureGenerateMipmapStorageAllocated(*mipmapTexture, uploadTarget, baseMipLevel),
|
||||
"GenerateMipmap could not allocate a full mip chain for this texture.");
|
||||
const Bool allocatedMipmapStorage =
|
||||
EnsureGenerateMipmapStorageAllocated(*mipmapTexture, uploadTarget, baseMipLevel);
|
||||
MOBILEGL_ASSERT(allocatedMipmapStorage, "GenerateMipmap could not allocate a full mip chain for this texture.");
|
||||
|
||||
resource = m_textureManager->SyncTextureAndGetDescriptor(*texture);
|
||||
MOBILEGL_ASSERT(resource != nullptr && resource->image != VK_NULL_HANDLE,
|
||||
|
||||
Reference in New Issue
Block a user