Skip to content

Godot editor crashes immediately when using D3D12 and with --generate-spirv-debug-info enabled #111869

@HydrogenC

Description

@HydrogenC

Tested versions

Reproducible in: master (f50d7fa), 4.5.stable, 4.4.stable, 4.3.stable (these versions crashes with output), 4.2.2.stable (crashes silently)

System information

Godot v4.5.stable - Windows 10.0.26100 - DX12 (Forward+) - dedicated NVIDIA GeForce RTX 4070 Laptop GPU (NVIDIA; 32.0.15.7260) - 13th Gen Intel(R) Core(TM) i9-13980HX (32 Threads)

Issue description

When rendering with DX12 and with --generate-spirv-debug-info enabled, the editor crashes immediately upon startup with the following output:

SPIR-V parsing FAILED:
    In file godot-mesa/src/compiler/spirv/spirv_to_nir.c:6180
    Unhandled opcode: SpvOpPhi (245)

    12008 bytes into the SPIR-V binary

Steps to reproduce

  1. Open a project (a minimal 3d project would be OK) and set rendering_device/driver.windows to d3d12 in project settings.
  2. Close the project and reopen it with --generate-spirv-debug-info then the editor crashes immediately.

Minimal reproduction project (MRP)

Any project that uses DX12 as the windows rendering driver.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions