Skip to content

Commit

Permalink
chore: feature gate shaders and more (#89)
Browse files Browse the repository at this point in the history
* new shader linkage structure
* put all shaders under a feature gate
* remove sdf and raymarching stuff
* remove wgsly stuff
  • Loading branch information
schell authored Feb 25, 2024
1 parent b76e591 commit 752b334
Show file tree
Hide file tree
Showing 111 changed files with 7,728 additions and 1,398 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
rustflags = ["--cfg=web_sys_unstable_apis"]
rustdocflags = ["--cfg=web_sys_unstable_apis"]
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ shaders/shader-crate/target

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk
Expand All @@ -17,3 +17,4 @@ Cargo.lock
test_output
cmy_triangle_renderer.svg
.aider*
flamegraph.svg
Loading

0 comments on commit 752b334

Please sign in to comment.