Eduard-Mihai Burtescu
27a1705d2e
compiletest: use a simpler path for deps_target_dir
.
2021-03-22 08:01:22 +02:00
Eduard-Mihai Burtescu
75d101af81
Remove unnecessary exclude = ["./target"]
from Cargo.toml.
2021-03-22 08:01:22 +02:00
Eduard-Mihai Burtescu
1e7ac7531c
compiletest: don't use string constants for paths.
2021-03-22 08:01:22 +02:00
Eduard-Mihai Burtescu
f105b7d0d9
compiletest: don't set CARGO_MANIFEST_DIR (it doesn't do anything).
2021-03-22 08:01:22 +02:00
Eduard-Mihai Burtescu
3315e13528
compiletest: move the deps helper package into the workspace. ( #511 )
2021-03-19 19:34:08 +02:00
Ashley Hauck
3bc8a8076b
Fix recover_access_chain_from_offset on unsized fields ( #510 )
2021-03-19 15:23:55 +00:00
Ashley Hauck
4bd0dcaf3f
Update wgpu 0.6->0.7 ( #509 )
...
* Update wgpu 0.6->0.7
* Allow zlib license in dependencies
2021-03-19 13:59:29 +00:00
Erin Power
92737c11bb
Fix warning about no_std
2021-03-19 08:35:09 +01:00
Jesse
9fb930b8f1
feat: add OpImageSampleExplicitLod to spirv-std ( #498 )
2021-03-19 07:24:20 +01:00
XAMPPRocky
27eb1d1413
Refactor validation tests to use compiletest ( #464 )
...
* Refactor validation tests to use compiletest
* Update tests/ui/lang/core/ptr/allocate_const_scalar.rs
2021-03-18 17:16:21 +00:00
Erin Power
144a447f30
Add prefer-dynamic to cargo config
2021-03-17 12:33:50 +01:00
Erin Power
c18f9e170e
Disable testing on the example CPU runner
2021-03-17 11:53:50 +01:00
Henno
d92480b781
update compute shader attribute docs ( #499 )
2021-03-17 08:21:25 +01:00
Eduard-Mihai Burtescu
a0b4de4cf6
Bump rust-toolchain to nightly-2021-03-17, unlocking for i in 0..n
loops!
2021-03-17 03:31:11 +02:00
Eduard-Mihai Burtescu
17f4f37a64
Bump rust-toolchain to nightly-2021-03-11.
2021-03-17 03:31:11 +02:00
XAMPPRocky
6b33db07e6
Update to 0.4.0-alpha.0 ( #497 )
...
* Release 0.4.0-alpha.0
compute-shader@0.4.0-alpha.0
rustc_codegen_spirv@0.4.0-alpha.0
spirv-builder@0.4.0-alpha.0
spirv-std@0.4.0-alpha.0
spirv-std-macros@0.4.0-alpha.0
Generated by cargo-workspaces
* Update Cargo.lock, remove unused one
* Update lockfile
* update lockfile
2021-03-16 15:14:53 +01:00
Erin Power
ceaa880176
update to rev
2021-03-16 13:38:17 +01:00
Erin Power
5b46f81f3e
Update lockfile
2021-03-16 13:33:32 +01:00
Erin Power
325639c839
update lockfile
2021-03-16 13:12:37 +01:00
Jake Shadle
44393affe5
Update spirv-tools to 0.5.0 ( #496 )
...
* Update spirv-tools to 0.5.0
* Use ubuntu-20.04 image rather than the ambiguous "latest"
* Update spirv-tools binaries to latest
2021-03-16 13:04:23 +01:00
XAMPPRocky
1d365490a5
Add arithmetic instructions to arch ( #446 )
2021-03-16 09:42:18 +00:00
XAMPPRocky
6e8453f386
Decouple glam from spirv-std ( #476 )
2021-03-16 09:59:08 +01:00
Henno
eebb2d3b32
Require local size x dimension and remove gl_ ( #495 )
...
* Require local size and remove gl_
Removes the gl_ prefix from the compute shader attribute, shortens the thread dimension declaration to threads(x, y, z), requires the x size dimensions be specified, trailing ones may be elided for the y or z dimensions.
* Implement review suggestions
2021-03-16 09:12:21 +01:00
Johan Andersson
a173208d80
Update to Embark lints v0.3 ( #482 )
...
Co-Authored-By: Johan Andersson <repi@repi.se>
Co-authored-by: Erin Power <erin.power@embark-studios.com>
2021-03-12 12:35:37 +00:00
XAMPPRocky
cb8477df15
Document gpu-only ( #489 )
2021-03-11 13:23:52 +00:00
Eduard-Mihai Burtescu
7348f3389d
builder: constant-fold bx.mul(a, b)
in order to support ptr::{read,write}
. ( #485 )
2021-03-11 09:53:49 +01:00
Jesse
556e12f4fc
refactor: Slight refactor of textures.rs asm functions for consistency ( #488 )
2021-03-11 07:37:22 +01:00
Eduard-Mihai Burtescu
c3cf9fe5f3
Clean up some of the cases of duplication found by clippy::match_same_arms
. ( #487 )
2021-03-11 07:31:48 +01:00
Jesse
c53c351987
feat: add image fetch ( #480 )
2021-03-10 08:17:07 +00:00
Daniel McNab
2d6a677563
Opt-in to rustc_private for rust-analyzer
( #481 )
...
https://github.com/rust-analyzer/rust-analyzer/pull/7891
2021-03-09 07:33:43 +01:00
Erin Power
93af32f107
Rm old submodules
2021-03-08 13:42:02 +01:00
Johan Andersson
a990ed5696
Use Embark standard lints v0.2 ( #475 )
2021-03-08 10:37:43 +01:00
Henrik Rydgård
d37b41c13e
Add description to spirv-std-macros
2021-03-05 09:27:07 +01:00
XAMPPRocky
2220e88d8f
Update README.md
2021-03-04 19:21:39 +01:00
Philip Allgaier
bffe0760eb
Fix README link to meeting issues ( #473 )
2021-03-04 19:11:39 +01:00
Erin Power
c38402a1e2
Use version for macros
2021-03-04 18:13:07 +01:00
Erin Power
499bf4cede
Version bump to 0.3.0
2021-03-04 17:50:40 +01:00
Eduard-Mihai Burtescu
f9946c0f52
attr: use only rustc's own Target, now that it has all the necessary variants. ( #471 )
2021-03-04 16:03:54 +00:00
Eduard-Mihai Burtescu
d574fa3737
Reenable clippy's use_self
lint (disabled during last rustup) and remove now-unneeded #[allow]
s for it. ( #470 )
...
* Reenable clippy's `use_self` lint (was disabled during last rustup).
* Remove now-unneeded `#[allow(clippy::use_self)]`.
2021-03-04 16:03:21 +00:00
Eduard-Mihai Burtescu
7723f5db6b
Access the original type's fields through a pointercast
, under the Logical addressing model. ( #469 )
...
* Defer pointer casts under the Logical addressing model.
* Access the original type's fields through a `pointercast`, under the Logical addressing model.
* Add a test using a `for` loop and a custom `Range`-like iterator.
2021-03-04 15:15:01 +01:00
XAMPPRocky
5cfaa0055b
Update to the latest nightly ( #467 )
...
* Update to the latest nightly
* Update to fix clippy lints
* ignore test for now
2021-03-04 14:12:00 +01:00
XAMPPRocky
5446ca3f9f
Revert const generics ( #465 )
2021-03-03 17:09:31 +02:00
XAMPPRocky
6678f9a49d
Add entry point attribute configuration. ( #458 )
...
* Add entrypoint attribute configuration.
* Update with feedback
* Add docs
* fmt
* rm usused_attributes
* other changes
* fmt
2021-03-02 15:30:08 +02:00
XAMPPRocky
830652921c
Update example to use modern rust-gpu ( #463 )
...
* Update example to use modern rust-gpu
* Update README.md
2021-03-02 09:14:56 +00:00
Jasper Bekkers
d8e8c75472
Use newly added iter
method in rspirv to speed up InstructionTable::new ( #460 )
...
* Use newly added `iter` method in rspirv to speed up debug builds of rustc_codegen_spirv by 6s in debug
* cargo update run
2021-03-02 08:51:37 +00:00
Eduard-Mihai Burtescu
6571f45a29
attr: mark #[spirv(...)]
attributes as used and remove #[allow(unused_attributes)]
.
2021-03-02 08:54:28 +02:00
Eduard-Mihai Burtescu
71254b48fa
attr: add a pre-codegen #[spirv(...)]
attribute checking pass.
2021-03-02 08:54:28 +02:00
Eduard-Mihai Burtescu
49509e3ccb
symbols: cache a Rc<Symbols>
per thread.
2021-03-02 08:54:28 +02:00
Eduard-Mihai Burtescu
ccdb9d5a21
symbols: rename #[spirv(image(...))]
to #[spirv(image_type(...))]
.
2021-03-02 08:54:28 +02:00
Eduard-Mihai Burtescu
9f97704d2e
symbols: use Result
s to keep track of attribute parsing errors.
2021-03-02 08:54:28 +02:00