VSM + mipmaps asserts with the vulkan backend
Open
vulkan
- Dominant language
- C++
- Stars
- 20.5k
- Forks
- 2.3k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 74
Description
On macOS (not tested elsewhere), using gltf_viewer:
```samples/gltf_viewer -a vulkan```
and activating VSM + mipmaping leads to an assert:
```
-[MTLTextureDescriptorInternal validateWithDevice:]:1357: failed assertion `Texture Descriptor Validation
MTLTextureDescriptor mipmapLevelCount must equal 1 for multisample textures.
```
This works on both GL and Metal. It could be a bug on our side or a problem with MoltenVK.
Contributor guide
Assessment
This issue has not been assessed yet.