google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.73k stars 1.88k forks source link

Transmission + MSAA fails on Vulkan #4381

Closed pixelflinger closed 1 year ago

pixelflinger commented 3 years ago

Launch gltf_viewer with any transmission test and MSAA activated, the screen is back. Tested on Pixel4 and MoltenVK.

prideout commented 2 years ago

Update: this has been fixed on MoltenVK but still appears to be an issue on Pixel 4. Will investigate.

pixelflinger commented 2 years ago

I'm still seeing this issue on my make w/ molten vk (do I need to upgrade molten vk manually?)

prideout commented 2 years ago

Interesting. I cannot repro with the Molten that I'm currently using via the LunarG SDK, which looks like it is version 1.1.4, according to the startup logs.

./out/cmake-debug/samples/gltf_viewer -a vulkan ../glTF-Sample-Models/2.0/IridescentDishWithOlives/glTF/IridescentDishWithOlives.gltf
FEngine (64 bits) created at 0x7fdad9800000 (threading is enabled)
FEngine resolved backend: Vulkan
Vulkan device driver: MoltenVK 1.1.4
poweifeng commented 1 year ago

I was able to repro on a Pixel 6pro. It does seem to be tied to the MSAA path; turning it off produces correct rendering.