protonscr

Nvidia's OMM sample causes assertion failure in dxil-spirv

vkd3dclosed
HansKristian-Work/vkd3d-proton#1521 · opened 2023-04-19 by Saancreed · updated 2023-04-24 · 1 comments · github
SSaancreed 2023-04-19 github

Nvidia's Opacity Micromap sample consistently causes an assertion failure: Assertion failed: 0, file ../vkd3d-proton/subprojects/dxil-spirv/third_party/glslang-spirv/SpvBuilder.cpp, line 636 even with NVAPI disabled (though I'm not sure if it properly handles missing NVAPI or OMM being reported as unsupported). The sample isn't really prepared for cross compilation and has to be built on Windows but included scripts make it quite trivial.

Software information

Sample was launched like so: wine ./_Build/Release/OMMSample.exe --width=1920 --height=1080 --api=D3D12 --vsyncInterval=0 --dlssQuality=-1 --scene=Bistro/BistroInterior.fbx

System information

  • GPU: Nvidia RTX 4080 Mobile
  • Driver: 530.41.03
  • Wine version: 8.5-tkg-git
  • VKD3D-Proton version: 9d6af396321caef

Log files

OMMSample.zip

SSaancreed 2023-04-20 github

I believe this shader to be problematic:

60feefd5ecd567e4.dxil.zip

$ dxil-spirv 60feefd5ecd567e4.dxil 
Segmentation fault (core dumped)

Nothing extracted yet.