3Shain / dxmt

Metal-based implementation of D3D11 for MacOS / Wine
MIT License
346 stars 12 forks source link

Disable shader depth output when no DSV is bound #29

Closed 3Shain closed 1 month ago

3Shain commented 1 month ago

Required by:

Metal complains: depthAttachmentPixelFormat is not valid and shader writes to depth

3Shain commented 1 month ago

Implemented in 55e970db032f052a44ad8c4e011193e5b3d32478