mojira.dev
MC-313688

copyTextureToTexture on GL ignores the mip and breaks depth+stencil

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;

  • mipLevel is 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.

Lolo

(Unassigned)

Unconfirmed

26.4 Pre-Release 2

Retrieved