The signature is bindFrameBufferTextures(fbo, color, depth, stencil, mip, slot), but the call (GlCommandEncoder.java:427/430) shifts the arguments:
the stencil is never attached;
the texture name is passed as the mip number;
mipLevelis never passed through.
As a result, GL always copies mip 0 and throws an error for D24S8 and D32S8. Vulkan copies the correct mip (lines 803–814).
Comments 0
No comments.