XAMPPRocky
0698e3f7df
move assets and rfcs into docs ( #172 )
2020-10-29 09:01:28 +00:00
XAMPPRocky
dc9c66963a
Build rustdoc documentation and update links ( #169 )
2020-10-28 14:59:16 +01:00
Ashley Hauck
1b5aac084c
Support GLSL450 and Simple memory models ( #168 )
...
* Support GLSL450 and Simple memory models
* Update spirv-builder/src/lib.rs
Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
* Only emit SPV_KHR_vulkan_memory_model when needed
Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
2020-10-28 13:49:44 +00:00
XAMPPRocky
b784710193
Update mcp.md
2020-10-28 12:47:29 +01:00
Ashley Hauck
ddd2526f6d
Include examples in test ( #166 )
...
I thought examples couldn't be included in test due to weird windows
reasons, but wgpu-example-runner is already included, and it works
2020-10-28 11:34:46 +01:00
Johan Andersson
de4436d2e0
Fix compiling wgpu-example-shader for CPU
2020-10-28 10:22:06 +01:00
Johan Andersson
e2be058015
Remove old lingering Cargo.lock files
2020-10-28 10:22:06 +01:00
khyperia
5e12734ce9
Add fix that was supposed to be in 165 but mergify merged it before I could push
2020-10-28 10:14:07 +01:00
Ashley Hauck
23819c7a2c
Add support for spir-v 1.0 ( #165 )
2020-10-28 09:08:01 +00:00
Ashley Hauck
706f4cc695
Download spirv-tools directly on ubuntu CI ( #162 )
2020-10-27 17:19:28 +01:00
Nipun Garg
6dd94d19f4
Remove spirv-std::f32x4 ( #160 )
...
grep revealed that spirv-std::f32x4 isn't being
used anywhere
2020-10-27 14:57:40 +00:00
Ashley
1b99a9ce20
Fix compilation of wgpu runner on wasm ( #159 )
2020-10-27 14:34:02 +00:00
Ashley Hauck
5b538ee5ee
Implement copysign for shaders ( #158 )
...
* Implement copysign for shaders
* Fix typo
* PR feedback
2020-10-27 13:16:40 +00:00
Ashley Hauck
e88a5f9b50
Enable CI clippy on example-runner ( #156 )
2020-10-27 13:13:09 +01:00
Ashley Hauck
06fdb85d61
Add dis_fn testing function ( #155 )
...
* Add dis_fn testing function
* Update spirv-builder/src/test/mod.rs
Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
2020-10-27 10:35:53 +00:00
Ashley Hauck
d148dafc7d
Improve error message for pointer casts ( #153 )
2020-10-27 10:21:24 +00:00
Viktor Zoutman
27df71f492
WGPU example ( #92 )
2020-10-27 02:39:56 +01:00
Johan Andersson
1043aba140
Link copysign intrinsic implementation issue
...
https://github.com/EmbarkStudios/rust-gpu/issues/148
2020-10-27 02:11:14 +01:00
Ashley Hauck
75de003e0b
Move rspirv override to be directly in the crate ( #150 )
...
This fixes git references to rust-gpu, which don't pick up the workspace
override and cause obscure build failures.
2020-10-27 00:42:45 +01:00
Nipun Garg
75ca54546b
Enable Clippy use_self lint ( #147 )
2020-10-26 16:07:36 +00:00
Johan Andersson
dbe8af66f4
Minor README Markdown lint fix ( #146 )
2020-10-26 16:01:18 +00:00
Johan Andersson
c049db9a66
Add back mergify review conditions
...
To require all reviewers have reviewed and that there are no pending changes requested
2020-10-26 16:34:09 +01:00
Ashley Hauck
b32c04b3fd
Refactor attributes and add descriptor_set/binding ( #145 )
...
* Move entry declarations to their own file
Also clean up attribute parsing (and make it allow multiple arguments in
the process)
* Add descriptor_set and binding attributes
* clippy fix
* Fix test
* Reserve descriptor_set 0 for future use
* Add book page on attributes
2020-10-26 15:23:21 +00:00
Johan Andersson
fe18434bff
Add example to evaluate sky shader on CPU ( #141 )
2020-10-26 15:49:01 +01:00
Johan Andersson
960fb0b1df
Simplify mergify, rely on branch protections
2020-10-26 15:28:31 +01:00
Jasper Bekkers
2357a488fe
Clarify breaking changes and deprecation ( #142 )
...
* Clarify breaking changes and deprecation
* Update README.md
Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
2020-10-26 15:02:36 +01:00
Johan Andersson
d9838a0a5f
Revert back to installing exact nightly in setup script
2020-10-26 14:20:52 +01:00
Johan Andersson
22209ede49
Pin Rust Nightly to 2020-10-25 ( #139 )
2020-10-26 13:59:34 +01:00
khyperia
9e67f83cd6
rustup update
2020-10-26 08:38:07 +01:00
Johan Andersson
12b07dcc53
Add cargo-deny config & CI step ( #125 )
...
* Add cargo-deny config & CI step
* Add missing license to multiple workspace crates
* Fix author
* Switch to checkout@v2
2020-10-25 16:15:04 +01:00
Daniel McNab
5d7d8671fb
Add badge for deps.rs ( #133 )
2020-10-24 15:34:17 +00:00
Johan Andersson
643c1ba950
Force use latest tar crate to avoid insecure warning on deps.rs ( #132 )
...
Current https://deps.rs/repo/github/EmbarkStudios/rust-gpu is showing that this repo has an insecure dependencies with the tar crate.
I believe this is because a previous tar v0.4.16 and earlier had a security advisory on it ([link](https://rustsec.org/advisories/RUSTSEC-2018-0002.html )) and that the deps.rs service does not yet support Cargo.lock where we had specified that we use a latest version. Tracked in https://github.com/deps-rs/deps.rs/issues/26
So simply force require latest tar crate version (that we were already using) in Cargo.toml here with the hope that https://deps.rs won't flag the repo as having insecure dependencies
2020-10-24 16:57:06 +02:00
Josh Groves
fa6fc2461c
Fix typo in SPIR-V ( #131 )
2020-10-24 14:05:36 +00:00
Johan Andersson
69adb38a13
Make setup.sh executable
2020-10-24 00:09:58 +02:00
Johan Andersson
035924734d
Fix Windows native compile of example-shader ( #127 )
...
Fix #119 based on the suggestion of @bjorn3, thx!
2020-10-23 21:41:44 +00:00
Johan Andersson
9f1100082c
Enable clippy on spirv-std ( #124 )
2020-10-23 21:01:16 +00:00
Ashley Hauck
8681464af7
Add framework for compiler tests ( #118 )
2020-10-23 18:22:36 +02:00
Ashley Hauck
53b22b9fc3
Fix translation from AtomicOrdering to MemorySemantics ( #111 )
...
* Fix translation from AtomicOrdering to MemorySemantics
* Add comment about AtomicOrdering::Consume
2020-10-23 15:43:07 +02:00
XAMPPRocky
b8082eca14
Remove instructions and point to dev guide. ( #116 )
2020-10-23 11:28:43 +00:00
Ashley Hauck
9dc6c61c4c
Fail unimplemented intrinsics instead of incorrect behavior ( #114 )
2020-10-23 13:18:31 +02:00
XAMPPRocky
3f5244dd3e
Update deploy_docs.yml
2020-10-23 12:12:23 +02:00
khyperia
2bc7e9fdb6
Add conditions merged to delete_head_branch
...
Taken from https://docs.mergify.io/examples.html
2020-10-23 12:08:19 +02:00
XAMPPRocky
c6a19164f2
Add rust-gpu dev guide ( #115 )
2020-10-23 12:06:20 +02:00
XAMPPRocky
c7df5b2f33
Only test CI on pushes to main ( #112 )
2020-10-23 10:06:03 +02:00
Ashley Hauck
bb94cd8481
Run CI on pull requests ( #106 )
2020-10-22 21:52:57 +02:00
Johan Andersson
c89717cf2c
Automerge PR test ( #105 )
...
Tiny README whitespace change to test if automerging PRs work, should have to pass 1 review and CI tests first before merging
2020-10-22 19:51:22 +00:00
khyperia
8931f50c3c
Revert "Move panic_handler and eh_personality to spirv-std ( #95 )"
...
This reverts commit 985ae7d494
.
2020-10-22 21:36:09 +02:00
Jasper Bekkers
048144ed4c
Bindings proposal ( #19 )
...
* Initial commit for binding proposal, nees some cleanup
* Continue at home
* Explain global binding model
* Explain function binging model
* Final suggestion
* Add more ups & downs
* Add another downside to static
* Add another downside to static
2020-10-22 19:26:05 +00:00
Ashley Hauck
985ae7d494
Move panic_handler and eh_personality to spirv-std ( #95 )
2020-10-22 19:25:50 +00:00
Johan Andersson
79e9282352
Fix mergify branch
2020-10-22 21:25:12 +02:00