Commit 2df19d4
Fix DebugLinePriority.spt SPIR-V validation errors (#2981)
This test had the following issues:
- The ID bound in the header was set too low.
- The OpVariable with ID 6 was declared with the Function storage
class, but defined outside of a Function.
Fix those and run spirv-val on this test.
Original commit:
KhronosGroup/SPIRV-LLVM-Translator@05adb2479d3ee311 parent 6c96bf7 commit 2df19d4
File tree
1 file changed
+5
-4
lines changed- llvm-spirv/test/DebugInfo/NonSemantic/Shader200
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | | - | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments