Eduard-Mihai Burtescu
86d669bccf
compiletests: unlock // {only,ignore}-*
usage.
2021-11-04 10:26:11 +02:00
Ashley Hauck
f7fc1245f3
Add tests for every builtin ( #789 )
2021-11-03 11:38:06 +01:00
Ashley Hauck
b692ab5afc
Convert Image<> parameters from enums to integers to make spirv-std build on stable ( #761 )
...
* Convert Image<> parameters from enums to integers to make spirv-std build on stable
* Remove access_qualifier from Image type
It's kernel-mode-only, and we won't ever support kernel mode.
2021-10-07 13:28:33 +02:00
Eduard-Mihai Burtescu
6780432b37
rustup: update to nightly-2021-09-29.
2021-09-30 09:26:11 +03:00
hatoo
b0676cba61
Implement OpTypeMatrix ( #738 )
...
* Implement OpTypeMatrix
* clippy
* Use cached Symbol
* Implement #[spirv(matrix(ty, m, n))] instead of Matrix trait
* Update #[spirv(matrix(..))]
- #[spirv(matrix(ty, m, n))]
Specify all of type, rows, columns.
- #[spirv(matrix(ty, m))]
Specify all of type, rows. Infer columns.
- #[spirv(matrix(ty))]
Specify all of type. Infer others.
- #[spirv(matrix)]
Infer all.
* Drop #[spirv(matrix(..))] (with arguments)
* Fix IntrinsicType::Matrix type construction
* Update matrix-type.rs
* Update tests/ui/spirv-attr/multiple.rs to test Matrix
* Fix tests/ui/spirv-attr/matrix-type.rs
* Add failing tests for #[spirv(matrix)
* Update error messages for #[spirv(matrix)]
2021-08-30 15:45:29 +02:00
Eduard-Mihai Burtescu
7501f1895c
rustup: update to nightly-2021-08-10.
2021-08-10 16:53:28 +03:00
Eduard-Mihai Burtescu
f224b5aa1a
tests: update the documented error counts in ui/spirv-attr/invalid-target.
2021-06-24 18:10:32 +03:00
Ashley Hauck
e1a000d408
Nuke const generics feature ( #661 )
...
* Nuke const generics feature
* Remove spirv(image_type) attribute
2021-06-15 09:19:23 +02:00
Eduard-Mihai Burtescu
95bc1914e2
compiletests: add missing use spirv_std as _;
imports. ( #665 )
2021-06-11 08:36:03 +00:00
Ashley Hauck
ca988f95de
rustup update to 2021-05-17 ( #621 )
2021-05-20 14:46:09 +02:00
XAMPPRocky
f88ae5b28a
Add Const Generic Image Type ( #359 )
...
* Add parameterized Image type
* nits
* Update crates/spirv-std/src/lib.rs
* Update crates/rustc_codegen_spirv/src/symbols.rs
* Update crates/rustc_codegen_spirv/src/symbols.rs
* Update symbols.rs
2021-04-28 09:47:40 +02:00
Ashley Hauck
6c8dece25a
Fix issue 585 ( #594 )
2021-04-13 11:34:02 +02:00
Eduard-Mihai Burtescu
4395b84114
Deprecate #[spirv(block)]
and auto-wrap in "interface blocks" instead.
2021-04-05 20:45:59 +03:00
Eduard-Mihai Burtescu
674649c4cb
entry: tweak spans (mostly to use hir_param.ty_span
in more places).
2021-04-05 20:45:59 +03:00
Ashley Hauck
4fa73bddb4
Infer the storage class for images/samplers/imagesamplers ( #567 )
...
* Infer the storage class for images/samplers/imagesamplers
* format
* Move comment
2021-04-01 07:49:08 +00:00
khyperia
eccd3b2559
run format on tests
2021-03-26 13:15:29 +01:00
khyperia
d3605f79c7
Add #[spirv(invariant)]
2021-03-26 13:15:29 +01:00
Eduard-Mihai Burtescu
8c1406ee39
entry: reorganize storage class handling, and move some checking to attr
.
2021-03-23 09:30:24 +01:00
Eduard-Mihai Burtescu
e04e1f53fc
Replace spirv_std::storage_class::X<T> with &T/&mut T and optionally #[spirv(x)].
2021-03-23 09:30:24 +01:00
Eduard-Mihai Burtescu
ffcddd4f4c
attr: disallow multiple attributes that are identical or in the same category.
2021-03-22 11:23:55 +02:00
Eduard-Mihai Burtescu
b3b3fbec98
tests: add a test for where #[spirv(...)]
attributes can (not) be used.
2021-03-22 11:23:55 +02:00