Ashley Hauck
15d96cde8c
Use the cute Function::all_inst_iter helper, because it's cute. ( #535 )
2021-03-25 10:20:34 +00:00
Erin Power
dea67c686c
Move min-const-generics features out of const-generics flag
2021-03-25 10:34:01 +02:00
Eduard-Mihai Burtescu
79200bb777
Produce TypeKind::Token
for {Image,Sampler,SampledImage} in type_kind
.
2021-03-24 14:51:50 +02:00
Johan Andersson
916f4798d3
Use Embark standard lints v0.3
2021-03-24 14:51:50 +02:00
Eduard-Mihai Burtescu
908487ae1d
entry: use T
instead of &T
for Input
s.
2021-03-23 09:30:24 +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
Ashley
7c0c467e96
Follow best practice hints and reset command pool instead of the single buffer ( #528 )
2021-03-23 06:37:52 +01:00
Eduard-Mihai Burtescu
54cb4ada2e
compiletest: allow specifying filters via cargo compiletest ...
.
2021-03-22 19:01:56 +02:00
Eduard-Mihai Burtescu
ff028b90ec
compiletest: switch to structopt
for the cargo compiletest
CLI.
2021-03-22 19:01:56 +02:00
Eduard-Mihai Burtescu
b3c04e5951
compiletest: don't require --
to pass our specific flags. ( #523 )
...
* docs: removed outdated `cargo compiletest -- --clean` instructions.
* compiletest: don't require `--` to pass our specific flags.
2021-03-22 14:37:55 +00:00
Ashley
872e06257f
Clean up recreate_swapchain
and some other things in the ash runner ( #514 )
...
* Remove an unused command buffer and fence in the ash runner
* Don't recreate command buffer when recreating the swapchain
* Don't recreate the render pass
2021-03-22 14:05:45 +01:00
XAMPPRocky
e7d68f7435
Add primitive set of arch instructions ( #520 )
2021-03-22 10:55:18 +00:00
Ashley Hauck
89dc8c65aa
Add cubemaps ( #521 )
2021-03-22 11:35:42 +01:00
XAMPPRocky
681e4f21ae
Update nightly ( #516 )
2021-03-22 10:20:05 +00:00
Eduard-Mihai Burtescu
94f46142a7
Use AggregatedSpirvAttributes
instead of iterating over SpirvAttribute
s.
2021-03-22 11:23:55 +02: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
8688e8c25a
attr: group attributes by their targets.
2021-03-22 11:23:55 +02:00
Eduard-Mihai Burtescu
a2026376b7
attr: group {ImageType,Sampler,SampledImage} into an IntrinsicType
enum.
2021-03-22 11:23:55 +02:00
Eduard-Mihai Burtescu
fdbfdec6f5
symbols: move SpirvAttribute
to the attr module.
2021-03-22 11:23:55 +02:00
Eduard-Mihai Burtescu
7f94fea3b6
attr: target_from_impl_item
can just be private.
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
XAMPPRocky
52ae430ec1
Update dependencies ( #506 )
2021-03-22 09:27:34 +01:00
Eduard-Mihai Burtescu
3274778d98
link: don't use {:?}
with paths because it turns \ into \\.
2021-03-22 08:01:22 +02:00
Eduard-Mihai Burtescu
e6a9dcec1c
Allow running cargo compiletest
from any sub-directory in the workspace.
2021-03-22 08:01:22 +02:00
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