Commit Graph

14 Commits

Author SHA1 Message Date
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
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
khyperia
1516d864f3 First try at spirv-builder 2020-10-09 17:22:07 +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
Johan Andersson
8ab971464c Move codegen to folder 2020-08-13 15:10:07 +02:00
khyperia
687f142031 Shuffle tests some more, and split Context into FnCtx 2020-08-12 11:28:45 +02:00
khyperia
3d43764fe1 Split up some functions and structs 2020-08-11 15:06:25 +02:00
khyperia
e0de7815ce Add basic test framework 2020-08-11 13:15:55 +02:00
khyperia
acc2c7ab6c Begin to implement some basic translation 2020-08-10 18:43:44 +02:00
khyperia
9ab212f93c Start emitting spirv modules 2020-08-10 16:41:57 +02:00
Jasper Bekkers
e8d788c607
TheBackend in a cargo project to play around with 2020-07-24 11:37:14 +01:00