summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.