Commit 1103fcc
authored
Subgroup intrinsics (#14)
* subgroup: add trait VectorOrScalar, representing either a vector or a scalar type
* subgroup: added all non-uniform subgroup operations
* subgroup: remove all target_feature cfgs, replaced with docs
* subgroup: added all subgroupBarrier*() functions from glsl
* subgroup: added non group-op tests
* subgroup: fixed asm for instructions taking GROUP_OP generic
* subgroup: added tests for group-op instructions
* gitignore: added rustc-ice* error reports
* subgroup: added test for subgroup buildins
* subgroup: make SubgroupMask a struct to prevent implicit casts to and from UVec4
* subgroup: fixed clippy lints
* subgroup: drop the `non_uniform` from all subgroup functions, matching glsl
* changelog: add subgroup intrinsics PR
* subgroup: make VectorOrScalar trait match discussions in EmbarkStudios/rust-gpu#1030
* cleanup: remove internal type F32x2 for glam::Vec2
---------
Co-authored-by: Firestar99 <4696087-firestar99@users.noreply.gitlab.com>1 parent 4c9718f commit 1103fcc
File tree
27 files changed
+2437
-51
lines changed- crates
- rustc_codegen_spirv/src/builder
- spirv-std/src
- arch
- tests/ui/arch
- subgroup
27 files changed
+2437
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
1347 | 1349 | | |
1348 | 1350 | | |
1349 | 1351 | | |
1350 | | - | |
1351 | | - | |
1352 | | - | |
1353 | | - | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
1354 | 1361 | | |
1355 | 1362 | | |
1356 | 1363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments