Commit Graph

892 Commits

Author SHA1 Message Date
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
Sylvester Hesp
a6a2e1bd41
Added myself as code owner (#901) 2022-08-11 12:32:48 +02:00
Johan Andersson
f0a51bd71c Update crossbeam-utils v0.8.5 -> v0.8.11
Just updates the lockfile. `cargo deny` was locally failing for me with the previous version that had https://rustsec.org/advisories/RUSTSEC-2022-0041 filed on it.

Odd that `cargo deny` CI step was not failing on it
2022-08-11 06:42:24 +03:00
Johan Andersson
0693243619 Upgrade sanitize-filename v0.3.0 -> v0.4.0
No code changes needed
2022-08-11 06:41:31 +03:00
Sylvester Hesp
ef65808a5b
Added some version tags to some crates referencing rustc_codegen_spirv (#894)
Although not really necessary, this removes some errors `cargo-release` is giving.
2022-08-10 22:06:20 +02:00
BeastLe9enD
ba947ced62 Fix line error 2022-08-09 13:59:15 +03:00
BeastLe9enD
f69d94ed27 Update number documentation
Co-authored-by: Eduard-Mihai Burtescu <edy.burt@gmail.com>
2022-08-09 13:59:15 +03:00
BeastLe9enD
7d7f2fe5a6 Improve documentation & add Number trait 2022-08-09 13:59:15 +03:00
BeastLe9enD
9123a0141c Remove ext suffix from float atomic functions 2022-08-09 13:59:15 +03:00
BeastLe9enD
6387d2156f Add low-level atomic instructions 2022-08-09 13:59:15 +03:00
Ashley Ruglys
a9ae4d235b Revert to just the spirv-std Cargo.toml range increase 2022-08-09 04:05:07 +03:00
Ashley Ruglys
3e569c527c Replace const_vec3 with Vec3::from_array 2022-08-09 04:05:07 +03:00
Ashley Ruglys
c36be918ba Bump the latest allowed glam version to 0.21 2022-08-09 04:05:07 +03:00
Eduard-Mihai Burtescu
105cbcc618 Clear CARGO_ENCODED_RUSTFLAGS in example-runner-wgpu's build script. 2022-08-06 13:09:43 +03:00
Eduard-Mihai Burtescu
d3384ef1e5 Attempt to unbreak CI (Android / libc 0.2.127). 2022-08-06 13:09:43 +03:00
molikto
0866cf591a fix: tests 2022-05-24 15:35:03 +03:00
Minghao Liu
68db589d98 Update crates/rustc_codegen_spirv/src/linker/inline.rs
Co-authored-by: Eduard-Mihai Burtescu <edy.burt@gmail.com>
2022-05-24 15:35:03 +03:00
molikto
cdbf4dec1d warn when inline(never) is not respected 2022-05-24 15:35:03 +03:00
tata
a435c93317 Add note comment about environment variable 2022-05-21 21:52:26 +03:00
Dennis
03f89e8ba6 Add support for zero sized types 2022-04-28 14:42:31 +03:00
Eduard-Mihai Burtescu
b0328ed454 Fix style nit (quotes -> backticks) in crates/rustc_codegen_spirv/src/symbols.rs 2022-04-28 14:40:08 +03:00
BeastLe9enD
4b55f91de3 Support 'threads' with 'mesh_nv' and 'task_nv' 2022-04-28 14:40:08 +03:00
Johan Andersson
685c79a972
Upgrade SPIRV-Tools prebuild to 2022-04-14 (#867)
For Linux and Windows, Mac CI uses latest installed from brew.
Also added comment about how/where to get the download link for next upgrade.

Resolves: #866
2022-04-19 11:47:37 +00:00
Markus Siglreithmaier
0cd30c2ad6
examples: fix pipeline layout in compute runner (#868)
* examples: fix pipeline layout in compute runner

* fix CI lint failure
2022-04-19 09:48:06 +02:00
Johan Andersson
132b960e83
Upgrade from our standard lints v4 -> v6 (#861) 2022-04-17 12:16:59 +02:00
Johan Andersson
7a2bb3606b Fix README markdown lints 2022-04-17 11:51:00 +02:00
Eduard-Mihai Burtescu
116bf9c4d4 rustup: address (new) clippy errors. 2022-04-12 09:01:18 +03:00
Eduard-Mihai Burtescu
e08d0d6a48 rustup: update to nightly-2022-04-11. 2022-04-12 09:01:18 +03:00
Eduard-Mihai Burtescu
3e04f62ede rustup: update to nightly-2022-04-01. 2022-04-12 09:01:18 +03:00
Eduard-Mihai Burtescu
f0baf78ade rustup: update to nightly-2022-03-01. 2022-04-12 09:01:18 +03:00
Eduard-Mihai Burtescu
57eed8394e rustup: update to nightly-2022-02-01. 2022-04-12 09:01:18 +03:00
Johan Andersson
2a61baf907
Fix CODEOWNERS issues (#863)
Fixes two issues with the configuration:
- @fu5ha wasn't getting review request due to user name rename.
- Our [Embark Open Source Tool project checker](https://github.com/EmbarkStudios/opensource/tree/main/src) that validates our projects have maintainers assigned categorized this as not fully maintained as didn't have a root owner `*`, @eddyb I made this you right now instead of just for `/crates/`. But we can tweak that going forward also. But this will keep our Slack bot happy
2022-04-12 00:04:28 +02:00
Eduard-Mihai Burtescu
5ac500d5b9
Split out a new -types crate so spirv-builder stops loading LLVM via dylibs. (#856)
* Split out a new `-types` crate so `spirv-builder` stops loading LLVM via dylibs.

* example-wgpu-runner: halve `max_push_constant_size` so it works on RADV/Fiji.
2022-03-30 09:07:14 +02:00
Yuya Kanai
595f8e7a9c
Remove SPIRV_SHADER_PASSTHROUGH for wgpu example on Mac (#854) 2022-03-29 22:27:23 +02:00
Eduard-Mihai Burtescu
5a27455fcd
default.nix: handle nixpkgs alias removal (x11 -> xlibsWrapper, xlibs -> xorg). (#855) 2022-03-28 09:27:00 +02:00
Henrik Rydgård
a75d6e31c1 Cargo deny tempfix 2022-03-10 16:29:27 +01:00
andrusha
94ad8a5f6b
Enable Vulkan for WGPU runner (#852)
* Enable Vulkan for WGPU runner

Metal doesn't support SPIR-V shader passthrough, so on macOS using WGPU runner you get following error with any example:

```
Features SPIRV_SHADER_PASSTHROUGH are required but not enabled on the device
```

Vulkan supports shader passthrough, but requires compatibility layer of MoltenVK to work, which needs to be installed on the host machine. Currently this feature is only available on master.

* Update examples Cargo lockfile
2022-03-10 15:59:46 +01:00
David Craven
4932a44658 Revert workgroup_size builtin. 2022-02-09 18:10:22 +02:00
David Craven
3151a8c2b1 Add tests. 2022-02-09 18:10:22 +02:00
David Craven
31a0be3c0a Add reduce example. 2022-02-09 18:10:22 +02:00
David Craven
f638590389 Enable builtins. 2022-02-09 18:10:22 +02:00
Jake Shadle
7e7fdb4a4b Update spirv-tools to 0.8.0 2022-02-05 04:40:21 +02:00
Eduard-Mihai Burtescu
31e3fdb09b abi: explicitly unpack ScalarPair newtypes. 2022-01-23 20:18:56 +02:00
khyperia
0c65cf3887 Update .github/CODEOWNERS 2022-01-20 16:30:26 +01:00
Ashley
11e21c6412
Add a OpAtomicIIncrement function to arch (#839) 2022-01-13 17:32:33 +02:00
Ashley Hauck
f780364317
rustup update (#840)
* rustup update

* asm->core::arch::asm
2022-01-13 17:27:33 +02:00
Ashley Hauck
fe5c7716ed
Fix ByteAddressableBuffer PassMode::Pair (#837) 2022-01-10 09:35:03 +00:00
Ashley Hauck
b99fc516e6
Update deps (#833) 2022-01-04 08:02:14 +00:00
Ashley
d705a238a1
Add a preserve_bindings opt to the builder and codegen opts (#830) 2022-01-03 09:18:58 +01:00
Ashley Hauck
480cd048e0
Fuse OpPtrAccessChain with previous OpAccessChain (#835)
* Fuse OpPtrAccessChain with previous OpAccessChain

* constant-fold add, and change mul to wrap
2021-12-28 11:39:37 +01:00