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
Viktor Zoutman
27df71f492
WGPU example ( #92 )
2020-10-27 02:39:56 +01:00
Johan Andersson
fe18434bff
Add example to evaluate sky shader on CPU ( #141 )
2020-10-26 15:49:01 +01:00
Ashley Hauck
8681464af7
Add framework for compiler tests ( #118 )
2020-10-23 18:22:36 +02:00
Ashley Hauck
0710f9d4b5
Include example-shader in the workspace ( #87 )
...
* Include example-shader in the workspace
* Fix clippy warnings
* Fix up tests and clippy warnings
* Change clamp_ to saturate
Co-authored-by: Jasper Bekkers <bekkers@gmail.com>
2020-10-22 12:30:17 +02:00
Ashley Hauck
8516dc161d
Winit update to v0.23 ( #86 )
...
* Extremely hacky winit update
* Only render when redraw is requested
* cargo fmt
* Renamed smoothstep
Co-authored-by: Jasper Bekkers <bekkers@gmail.com>
2020-10-22 12:23:11 +02:00
Johan Andersson
14352a79be
[example] Remove unused image crate dependency
2020-10-21 20:43:46 +02:00
khyperia
96bb94f9fe
Merge rspirv-linker into rustc_codegen_spirv
2020-10-19 10:20:29 +02:00
Ashley Hauck
fb2ed4d26c
Convert panics to compiler errors ( #66 )
...
This is a first pass, some fatals could probably be turned into errors.
2020-10-16 12:59:04 +02:00
XAMPPRocky
16f7268edb
Add support for macos in example-runner ( #60 )
2020-10-14 18:33:37 +02:00
Johan Andersson
9d98620d24
Togglable Vulkan debug layer in example ( #53 )
...
Disabled it by default as it requires the Vulkan SDK to be installed.
Can be enabled with `-d` / `--debug-layer`
2020-10-13 23:42:15 +02:00
khyperia
80398d8149
Rebuild shader crates if changed
2020-10-10 12:25:05 +02:00
khyperia
60a4164ca1
Reference rustc_codegen_spirv in spirv-builder
...
This makes the UX much better. It's also kind of bonkers, but, in a good
way. I think.
2020-10-09 20:01:35 +02:00
khyperia
1516d864f3
First try at spirv-builder
2020-10-09 17:22:07 +02:00
khyperia
01845cf930
use bimaps, they're neat!
2020-09-23 10:39:51 +02:00
khyperia
cc916c784e
Documentation, code shuffling, and RPO block sorting
2020-09-22 15:51:30 +02:00
khyperia
82b596cb97
rustup update
2020-09-22 09:15:08 +02:00
Jasper Bekkers
9697c22740
Linker perf ( #33 )
...
* Improve linker performance - this should loop over data significantly less
* Remove Rc and RefCell because they weren't needed in the end
* Moved some code into a DefUseAnalyer
* Point to same rspirv
* Link to rspirv git instead of locally
2020-09-17 10:55:44 +02:00
khyperia
2a66153840
Add spirv-std crate
2020-09-15 15:17:27 +02:00
khyperia
c5dfee6e1e
Start work on integrating linker
2020-09-11 13:09:06 +02:00