Skip to content

Commit

Permalink
Use idiomatic data paths for slang shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
jcm93 committed Nov 7, 2024
1 parent 7df06b9 commit a5f9c99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deps.linux/slang_shaders
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ slang_shaders_build() {
}

slang_shaders_install() {
mkdir -p ares-deps/lib/slang-shaders
cp -R "build_temp_$os-$arch-$config"/slang-shaders/ ares-deps/lib/
mkdir -p ares-deps/share/libretro/shaders/shaders_slang
cp -R "build_temp_$os-$arch-$config"/slang-shaders/ ares-deps/share/libretro/shaders/shaders_slang/
}
2 changes: 1 addition & 1 deletion deps.macos/slang_shaders
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ slang_shaders_build() {
}

slang_shaders_install() {
ditto "build_temp_$os-$arch-$config"/slang-shaders ares-deps/lib/slang-shaders
ditto "build_temp_$os-$arch-$config"/slang-shaders ares-deps/share/libretro/shaders/shaders_slang
}


Expand Down
4 changes: 2 additions & 2 deletions deps.windows/slang_shaders
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ slang_shaders_build() {
}

slang_shaders_install() {
mkdir -p ares-deps/lib/slang-shaders
cp -R "build_temp_$os-$arch-$config"/slang-shaders/ ares-deps/lib/
mkdir -p ares-deps/share/libretro/shaders/shaders_slang
cp -R "build_temp_$os-$arch-$config"/slang-shaders/ ares-deps/share/libretro/shaders/shaders_slang/
}


Expand Down

0 comments on commit a5f9c99

Please sign in to comment.