Commit 01fdbb8
authored
Fix incorrect debug function type (#9012)
IRDebugFunction is supposed to have all information needed to emit SPIRV
code for DebugFunction.
However, there was a case where a wrong DebugType information was
inserted to IRDebugFunction.
This commit fix up the problem in the first place and removes the need
of handling cases where IRDebugFunction doesn't have a right type during
the emit stage.
Fixes #89921 parent a3afdc6 commit 01fdbb8
File tree
2 files changed
+5
-15
lines changed- source/slang
2 files changed
+5
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2409 | 2409 | | |
2410 | 2410 | | |
2411 | 2411 | | |
2412 | | - | |
2413 | | - | |
| 2412 | + | |
2414 | 2413 | | |
2415 | 2414 | | |
2416 | 2415 | | |
| |||
3587 | 3586 | | |
3588 | 3587 | | |
3589 | 3588 | | |
3590 | | - | |
3591 | 3589 | | |
3592 | 3590 | | |
3593 | 3591 | | |
| |||
4792 | 4790 | | |
4793 | 4791 | | |
4794 | 4792 | | |
4795 | | - | |
4796 | | - | |
| 4793 | + | |
4797 | 4794 | | |
4798 | 4795 | | |
4799 | 4796 | | |
| |||
8559 | 8556 | | |
8560 | 8557 | | |
8561 | 8558 | | |
8562 | | - | |
8563 | 8559 | | |
8564 | 8560 | | |
8565 | 8561 | | |
| |||
8572 | 8568 | | |
8573 | 8569 | | |
8574 | 8570 | | |
8575 | | - | |
8576 | | - | |
8577 | | - | |
8578 | | - | |
8579 | | - | |
8580 | | - | |
8581 | | - | |
8582 | | - | |
8583 | | - | |
| 8571 | + | |
| 8572 | + | |
8584 | 8573 | | |
8585 | 8574 | | |
8586 | 8575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
0 commit comments