floooh / sokol

minimal cross-platform standalone C headers
https://floooh.github.io/sokol-html5
zlib License
6.54k stars 469 forks source link

Regression: swapchains with depth (not depth/stencil) buffers currently broken in Metal. #1004

Closed floooh closed 4 months ago

floooh commented 4 months ago

See: https://mastodon.social/@WAHa_06x36/112019720624840263

...also check other backends. Ideally adapt some of the direct backend samples to use a depth buffer with depth/stencil.

floooh commented 4 months ago

It's only Metal that's affected, because the other 3D APIs treat the depth-stencil-attachments as one object to be set.

floooh commented 4 months ago

Fixed in https://github.com/floooh/sokol/commit/e9f093e0f0aca7b6dce788b2168e6b0a9f535844