google / google/filament

VSM + mipmaps asserts with the vulkan backend

Open
#7,516 0 comments 0 reactions 1 assignee Assigned to @poweifeng View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.