summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2025-07-14 20:07:46 -0700
committerGitHub <noreply@github.com>2025-07-14 20:07:46 -0700
commit4af65f313efb43b282cdae2d2f697571013c1bf6 (patch)
treeb6d020b741ae6ce61223a775cbaca26eaaa06808
parent37143802781d8d480361d7c23202347ae3acf094 (diff)
Update issue templates
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 000000000..7aacb78cc
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,29 @@
+---
+name: Bug report
+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.
+
+**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.