Commit 72f7643
authored
[spirv] Clarify error when Globals binding missing (#4519)
When -fvk-bind-register is used, all resource must have corresponding
register bindings set, including the Globals cbuffer. This change
clarifies the error message when the latter is the cause of failure and
directs the user to specify -fvk-bind-globals.
Fixes #37811 parent e80724a commit 72f7643
4 files changed
Lines changed: 27 additions & 2 deletions
File tree
- docs
- tools/clang
- lib/SPIRV
- test/CodeGenSPIRV
- unittests/SPIRV
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3937 | 3937 | | |
3938 | 3938 | | |
3939 | 3939 | | |
3940 | | - | |
| 3940 | + | |
| 3941 | + | |
3941 | 3942 | | |
3942 | 3943 | | |
3943 | 3944 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2222 | 2222 | | |
2223 | 2223 | | |
2224 | 2224 | | |
2225 | | - | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
2226 | 2233 | | |
2227 | 2234 | | |
2228 | 2235 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2015 | 2015 | | |
2016 | 2016 | | |
2017 | 2017 | | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
2018 | 2022 | | |
2019 | 2023 | | |
2020 | 2024 | | |
| |||
0 commit comments