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
Daniel McNab
0793098599
Use the --component option in setup scripts ( #104 )
...
This should mean that if one of the required components is broken on a
given nightly, rustup will try going backwards until it finds one which
works.
2020-10-22 21:20:42 +02:00
Jasper Bekkers
f4f1031976
If statement ( #98 )
2020-10-22 16:22:17 +02:00
Johan Andersson
7b1a2716b6
README tweaks for first release ( #96 )
2020-10-22 14:34:30 +02:00
XAMPPRocky
eb204a364a
Add bug report template ( #93 )
...
* Add bug report template
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: Ari V <ari.vaniderstine@embark-studios.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: Ari V <ari.vaniderstine@embark-studios.com>
* Update bug_report.md
* Update bug_report.md
Co-authored-by: Ari V <ari.vaniderstine@embark-studios.com>
2020-10-22 14:34:05 +02:00
Viktor Zoutman
a121e50794
Fixed nested if statements ( #88 )
...
* Fixed nested if statements
* feedback
* Removed a line
2020-10-22 13:29:33 +02:00
Viktor Zoutman
78850a57dd
Update README.md
2020-10-22 13:26:34 +02:00
Ari V
58b3279e07
Remove mentions of the triangle
2020-10-22 13:12:05 +02:00
Viktor Zoutman
2434be8bfe
README ( #94 )
2020-10-22 13:09:32 +02:00
XAMPPRocky
68ff38efbc
Document MCP process and add issue template ( #80 )
2020-10-22 12:43:05 +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
Jake Shadle
83849a578c
Fixup README a bit, add links, etc ( #90 )
2020-10-22 12:29:49 +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
Jasper Bekkers
77d7129547
Add back unused attributes ( #85 )
2020-10-22 11:51:49 +02:00
XAMPPRocky
4c76d73243
Add macOS to CI ( #63 )
...
* Add macOS to CI
* Update ci.yaml
* Update ci.yaml
2020-10-22 10:13:15 +02:00
Johan Andersson
e8f33c97a5
Add sky shader example code and screenshot to README ( #83 )
...
* Add example sky shader to README
* Bigger screenshot
* Change order
* [example] Simplify & rustify sky shader further
* Make code slightly nicer
* Add back comment
* Newline
* Add Vec4::truncate
Co-authored-by: Jasper Bekkers <bekkers@gmail.com>
2020-10-21 21:42:49 +02:00
Maik Klein
7258a7c236
Don't panic when destroying debug utils ( #79 )
...
* Don't panic when destroying debug utils
* Use zip instead of two branches
Co-authored-by: Jasper Bekkers <Jasper-Bekkers@users.noreply.github.com>
Co-authored-by: Jasper Bekkers <bekkers@gmail.com>
2020-10-21 21:07:18 +02:00
Johan Andersson
bba88ccfad
[example] Leak debug loader instead of panicking on shutdown
2020-10-21 20:44:09 +02:00
Johan Andersson
14352a79be
[example] Remove unused image crate dependency
2020-10-21 20:43:46 +02:00
Jasper Bekkers
a06b2e49cf
Branchless sky shader ( #71 )
...
* Branchless sky shader
* Fullscreen quad
* Fixed naming of the fragment shader
* Add very stripped down version of glam-rs math routines to spirv-std
* Update example to use math routines in spirv-std
* Also use lerp from spirv-std
* Attribution, small cleanups
* Use extension trait for math, much nicer \o/
* Switch to repr(simd) for the Vec types
* Move clamp into MathExt, make MathExt take Self instead of f32
Co-authored-by: VZout <viktor.zoutman@embark-studios.com>
Co-authored-by: khyperia <github@khyperia.com>
2020-10-21 20:16:06 +02:00
Viktor Zoutman
3eea3dfa99
Added structurizer for conditional branch ( #76 )
...
* Added structurizer for conditional branch
* Cleaned up the code
* fmt
* unused imports
* feedback
* removed old code
* Now emitting a compiler error on loops
* fmt
2020-10-21 13:38:08 +02:00
Viktor Zoutman
5db68ec044
Update lib.rs
2020-10-21 13:16:03 +02:00
Ari V
1fa44d6891
Simplify getting started + general cleanup ( #77 )
2020-10-21 12:01:44 +02:00
khyperia
de12f120f2
Report error when entry point is zombied
2020-10-21 09:31:59 +02:00
khyperia
382b135c1e
Fix typos in the implementation of memcpy
2020-10-21 08:39:15 +02:00
khyperia
83efcfd2ea
Fix formatting
2020-10-20 17:36:30 +02:00
khyperia
c26639ce5e
Fix size and alignment of vectors
2020-10-20 16:56:38 +02:00
khyperia
917c62ef34
Implement static_addr_of via similar system to register_fn_ptr
2020-10-20 16:30:49 +02:00
khyperia
0d18609281
Implement memcpy for single-element items
2020-10-20 15:44:15 +02:00
VZout
b4aebb4a36
Fixed naming of the fragment shader
2020-10-20 11:12:30 +02:00
Viktor Zoutman
b86ed60dab
Modified the examples to use rust-gpu for the vertex shader. ( #70 )
...
* The example now also uses the vertex shader
* Removed old vertex shader
* fmt
2020-10-19 18:54:02 +02:00
khyperia
a13930fccb
Add #[spirv(builtin = ...)]
2020-10-19 18:42:54 +02:00
khyperia
2d55b4bff4
Don't deduplicate OpVariables (whoops)
2020-10-19 16:13:14 +02:00
Ashley Hauck
9e90652622
Don't initialize vars to undef ( #68 )
2020-10-19 16:11:45 +02:00