HansKristian-Work / dxil-spirv

DXIL conversion to SPIR-V for D3D12 translation libraries
Other
167 stars 32 forks source link

The Casting of Frank Stone spirv-val error #200

Closed Blisto91 closed 2 months ago

Blisto91 commented 2 months ago

The Casting of Frank Stone crashes in radv with

SPIR-V parsing FAILED:
    In file ../src/compiler/spirv/vtn_structured_cfg.c:759
    count_construct_stack(&stack) == 1
    85244 bytes into the SPIR-V binary

A spirv-val from a Fossilize dump shows

Fossilize ERROR: spirv-val: Block '3703[%3703]' is already a merge block for another header
  %main = OpFunction %void None %3

Fossilize WARN: Failed to validate SPIR-V module: 60F77B13EEA501BA, skipping!

Archive with dumps both via VKD3D_SHADER_DUMP_PATH and Fossilize https://drive.proton.me/urls/KCMDEY6DWM#sQLMdNNk37Wl