ConfettiFX / The-Forge

The Forge Cross-Platform Rendering Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
Apache License 2.0
4.8k stars 501 forks source link

The DepthStateDesc.mDepthTest is ignored on the Metal backend #128

Closed DeanoC closed 5 years ago

DeanoC commented 5 years ago

You have to set the CMP to ALWAYS to get the effect you'd expect from depth test = false on Mac Metal (probably iOS as well but not tested). To test create a DepthState with mDepthTest = false; mDepthFunc = CMP_NEVER; and render something You expect it to render as even tho func is never, the test should be off but it won't render. Change mDepthFunc to CMP_ALWAYS and its renders.

wolfgangfengel commented 5 years ago

Resolved with release 1.33.