Skip to content

Commit

Permalink
update compile-shaders.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Apr 25, 2024
1 parent 79663b3 commit c49f00f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions compile-shaders.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# HACK HACK HACK, assumes Mac
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/blend/shader.glsl -o examples/blend/shader.rs -l glsl330:metal_macos:hlsl4 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/cube/shader.glsl -o examples/cube/shader.rs -l glsl330:metal_macos:hlsl4 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/instancing/shader.glsl -o examples/instancing/shader.rs -l glsl330:metal_macos:hlsl4 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/mrt/shader.glsl -o examples/mrt/shader.rs -l glsl330:metal_macos:hlsl4 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/texcube/shader.glsl -o examples/texcube/shader.rs -l glsl330:metal_macos:hlsl4 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/blend/shader.glsl -o examples/blend/shader.rs -l glsl430:metal_macos:hlsl5 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/cube/shader.glsl -o examples/cube/shader.rs -l glsl430:metal_macos:hlsl5 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/instancing/shader.glsl -o examples/instancing/shader.rs -l glsl430:metal_macos:hlsl5 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/mrt/shader.glsl -o examples/mrt/shader.rs -l glsl430:metal_macos:hlsl5 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/texcube/shader.glsl -o examples/texcube/shader.rs -l glsl430:metal_macos:hlsl5 -f sokol_rust
../sokol-tools-bin/bin/osx_arm64/sokol-shdc -i examples/texcube/shader.glsl -o examples/texcube/shader.rs -l glsl430:metal_macos:hlsl5 -f sokol_rust

0 comments on commit c49f00f

Please sign in to comment.