Commit fb3dec4
committed
[HLSL][SPIR-V] Implement vk::push_constant
Implements initial support for vk::push_constant.
As is, this allows handling simple push constants, but has one
main issue: layout can be incorrect.
The old fix would be to use target specific types, but this is
actively being reworked on for cbuffers (#147352). So for now, this
part is marked as XFAIL.1 parent 53e3f8e commit fb3dec4
File tree
33 files changed
+222
-23
lines changed- clang
- include/clang
- Basic
- Sema
- lib
- AST
- Basic
- Targets
- CodeGen
- Sema
- test
- CodeGenHLSL/vk-features
- Misc
- SemaTemplate
- llvm/lib/Target/SPIRV
33 files changed
+222
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5146 | 5146 | | |
5147 | 5147 | | |
5148 | 5148 | | |
| 5149 | + | |
| 5150 | + | |
| 5151 | + | |
| 5152 | + | |
| 5153 | + | |
| 5154 | + | |
| 5155 | + | |
| 5156 | + | |
5149 | 5157 | | |
5150 | 5158 | | |
5151 | 5159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8777 | 8777 | | |
8778 | 8778 | | |
8779 | 8779 | | |
| 8780 | + | |
| 8781 | + | |
| 8782 | + | |
| 8783 | + | |
| 8784 | + | |
8780 | 8785 | | |
8781 | 8786 | | |
8782 | 8787 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13183 | 13183 | | |
13184 | 13184 | | |
13185 | 13185 | | |
| 13186 | + | |
| 13187 | + | |
| 13188 | + | |
13186 | 13189 | | |
13187 | 13190 | | |
13188 | 13191 | | |
| |||
13294 | 13297 | | |
13295 | 13298 | | |
13296 | 13299 | | |
| 13300 | + | |
| 13301 | + | |
| 13302 | + | |
13297 | 13303 | | |
13298 | 13304 | | |
13299 | 13305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| 243 | + | |
| 244 | + | |
242 | 245 | | |
243 | 246 | | |
244 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2749 | 2749 | | |
2750 | 2750 | | |
2751 | 2751 | | |
| 2752 | + | |
| 2753 | + | |
2752 | 2754 | | |
2753 | 2755 | | |
2754 | 2756 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments