---
name: Compiler Bug
about: Report a bug or unexpected behavior of the Slang compiler / API.
title: ''
labels: ''
assignees: ''

---

# Issue Description
A clear and concise description of what the bug is.
Before filing the issue, please make sure the bug can be reproduced with the latest release of Slang.

# Reproducer Code
If the issue can be reproduced with a simple code, include the **self-contained** Slang code along with a `slangc` commandline invocation, or the C++ code that calls the Slang API to compile the code.

# Expected Behavior
A clear and concise description of what you expected to happen, e.g. code should compile successfully, resulting SPIRV should have XXX opcode/capability.

# Actual Behavior
A clear and concise description of what actually happened.

# Environment
 - Slang Version (release version number or commit hash)
 - OS
 - GPU/Driver version, if the bug is a runtime result error.
 - Any related environment variables.

# Additional context
Add any other context about the problem here.
