Eduard-Mihai Burtescu
a686676e44
Apply suggestions from code review
2023-05-30 10:38:51 +03:00
Joel Nises
5903b5af2d
Use range for glam dependency
2023-05-30 10:38:51 +03:00
Joel Nises
2061f45d3e
Update crates/spirv-std/Cargo.toml
...
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2023-05-30 10:38:51 +03:00
Joel Nises
8a835e05d4
Update glam to 0.24
2023-05-30 10:38:51 +03:00
Eduard-Mihai Burtescu
82cfeb59b2
spirv-std/macros: bump syn
to a version that supports everything we use.
2023-05-19 15:19:57 +03:00
Sylvester Hesp
51dec9f339
Removed debug output and silenced clippy warning
2023-04-21 18:42:28 +02:00
Sylvester Hesp
2fd0182352
Added Grad
support to SampleParams
2023-04-21 18:42:28 +02:00
Sylvester Hesp
4edad8817c
Renamed image::sample
to image::sample_with
2023-04-21 18:42:28 +02:00
Sylvester Hesp
43a267bbb8
Added all the other sampling functions. Also some fixes and cleanup
2023-04-21 18:42:28 +02:00
Sylvester Hesp
c298bf2c56
another compile fix
2023-04-21 18:42:28 +02:00
Sylvester Hesp
19051b7a11
compile fix
2023-04-21 18:42:28 +02:00
Sylvester Hesp
24f9137a6b
moved permutations to complete ImageWithMethods
trait impls
2023-04-21 18:42:28 +02:00
Sylvester Hesp
061727bba0
WIP SampleParams
2023-04-21 18:42:28 +02:00
Sylvester Hesp
fd73e1b462
Fixed Image::gather()
not always returning a Vec4
2023-04-21 15:31:39 +02:00
Sylvester Hesp
afbab4aee4
Clippy fixes
2023-04-13 10:25:52 +03:00
Sylvester Hesp
31ff096d24
Added generic parameter for number of components to Image
2023-04-13 10:25:52 +03:00
Firestar99
9ae674aa76
fixed SampledImage::sample() fns being marked as unsafe
2023-04-07 01:14:50 +03:00
BeastLe9enD
c3909b5b9f
Fix OpAtomicFMaxEXT being used inside atomic_f_add
2023-03-22 20:38:42 +02:00
Eduard-Mihai Burtescu
ee3e42037d
spirv-std: OpStore
into MaybeUninit
slots, instead of (UB) OpReturnValue
.
2023-03-18 02:07:02 +02:00
Eduard-Mihai Burtescu
beecb48e39
spirv-std: add #[repr(C)]
(and extra comments) to opaque handle types.
2023-03-18 02:07:02 +02:00
Sylvester Hesp
ae66c7cc1a
Removed glam
feature toggle altogether
2023-03-15 04:59:33 -07:00
Sylvester Hesp
5a401f96b9
Made glam
a default feature in spirv-std
2023-03-15 04:59:33 -07:00
Sylvester Hesp
25cb265b5e
Fixed compile error in compile_error
...
Also includes an insignificant naming change
2023-02-13 16:10:14 +02:00
Sylvester Hesp
0f9cd391ce
Removed return type inference from Image
API
...
Return types are now always `glam` vectors. This also means that `glam` is required. The "glam" feature toggle is made mandatory, we may want to support other specific vector libraries in the future.
2023-02-13 16:10:14 +02:00
Sylvester Hesp
33c2f80835
Clippy fixes
2023-01-05 14:50:13 +02:00
Sylvester Hesp
6cb0c06ab7
Refer to specific commits rather than main branch in README.md
2022-12-20 10:43:57 -08:00
Sylvester Hesp
f910bc1e19
doc fix
2022-12-20 10:43:57 -08:00
Sylvester Hesp
70c5358419
Updated docs
2022-12-20 10:43:57 -08:00
Sylvester Hesp
b3e5c73c8d
Update crates/spirv-std/README.md
...
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-12-20 10:43:57 -08:00
Sylvester Hesp
ecceedab92
Some tweaks to docs
2022-12-20 10:43:57 -08:00
Sylvester Hesp
8bf791d0c4
Included README.md files for published crates
2022-12-20 10:43:57 -08:00
Sylvester Hesp
f0aace570b
Linter fixes
2022-12-02 01:58:11 -08:00
Sylvester Hesp
e7df2feb27
Applied workspace inheritance
2022-11-22 07:43:06 -08:00
Sylvester Hesp
39850120ae
Update to 0.4.0-alpha.17
...
* Specified exact versioning for crates within rust-gpu
* Fixed spirv-std referring to an older version of spirv-std-macros
2022-11-09 15:07:38 +01:00
Sylvester Hesp
c248806bf0
Updated versions to 0.4.0-alpha.16
2022-11-04 20:39:07 +02:00
Sylvester Hesp
bf887922c7
Update crates/spirv-std/Cargo.toml
...
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-11-03 17:03:54 +02:00
Sylvester Hesp
83d6c0b9fe
Removed rust-gpu support for Vector bool for glam
2022-11-03 17:03:54 +02:00
Sylvester Hesp
a45fbc943e
Update glam to 0.22 because of remove_attr
2022-11-03 17:03:54 +02:00
Eduard-Mihai Burtescu
8efc4220ae
spirv_std::ray_tracing: use actual OpTypeBool
for -> bool
intrinsics.
2022-10-28 17:28:50 +03:00
Sylvester Hesp
c3a9b9fd3e
Migration from register_attr to register_tool ( #926 )
...
* Accept `#[rust_gpu::spirv()]` attributes rather than `#[spirv()]` in backend
* Implemented `#[spirv(..)]` proc macro attribute for all platforms that conditionally translates to `#[rust_gpu::spirv()]` based on platform
* Changed `SpirvBuilder` to always apply `register_tool(rust_gpu)` attribute to shader crates
* Updated docs
* Added changelog
2022-10-19 09:50:24 +00:00
Sylvester Hesp
985007fc08
Version bump to 0.4.0-alpha.15 ( #920 )
2022-09-23 11:36:34 +02:00
Sylvester Hesp
7e83721978
Formatting
2022-08-30 13:47:08 +03:00
Sylvester Hesp
faf5c1321b
Fixed compile error due to earlier linter fix
2022-08-30 13:47:08 +03:00
Sylvester Hesp
6237c65544
Linter fix
2022-08-30 13:47:08 +03:00
Sylvester Hesp
358a54a8f2
Alternative dead_code warning fix
...
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
2022-08-30 13:47:08 +03:00
Sylvester Hesp
ac160444ba
Silenced dead code warning
...
Little unsure about this though, scary that it pops up all of a sudden while obviously being used by the functions below.
2022-08-30 13:47:08 +03:00
Sylvester Hesp
621cd48e5d
Fixed linter
2022-08-22 23:08:29 +03:00
Sylvester Hesp
805297146b
Update to 0.4.0-alpha.14 ( #905 )
...
* Changed version of all unpublished crates to 0.0.0
* New version: v0.4.0-alpha.14
* Fixed versions in deny.toml
2022-08-12 12:38:45 +02:00
Sylvester Hesp
f41625d70a
Renamed spirv-types to spirv-std-types ( #904 )
2022-08-12 01:49:50 +00:00
Sylvester Hesp
fde567ed2d
Updated versions to 0.4.0-alpha.13 ( #899 )
...
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* (cargo-release) version 0.4.0-alpha.13
* Updated versions in local dependencies as well
2022-08-11 12:34:07 +02:00