microsoft / microsoft/DirectXShaderCompiler

[SPIR-V] `-fspv-debug=vulkan-with-source` SIGSEGVs compiler

Open
#7,232 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug spirv
Dominant language
C++
Stars
3.7k
Forks
900
Avg merge
2d 11h
Merged PRs (30d)
44

Description

Description

Just a vanilla shader, with no BDA, descriptor indexing and the like.

Steps to Reproduce

This godbolt, its quite large: https://godbolt.org/z/qYn75xr1n

Actual Behavior

SIGSEGV

Environment

  • DXC version: DXC (trunk) on godbolt without any of our own modifications
  • Host Operating System: Godbolt/Linux I guess?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Godbolt reproducer and run DXC trunk using -fspv-debug=vulkan-with-source to reproduce the SIGSEGV. Trace the compiler failure in the SPIR-V path; the issue is done when this vanilla shader no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.