Skip to content

Commit 6837adb

Browse files
ShaderCache
1 parent df814ec commit 6837adb

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

Modules/@babylonjs/react-native/ios/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ target_link_libraries(BabylonNative
7676
NativeTracing
7777
Foundation
7878
Window
79+
ShaderCache
7980
XMLHttpRequest
8081
Canvas
8182
${ADDITIONAL_LIBRARIES})

Modules/@babylonjs/react-native/react-native-babylon.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ items = ['/shared/BabylonNative/Repo/Polyfills/Canvas',
1919
'/shared/BabylonNative/Repo/Plugins/NativeOptimizations',
2020
'/shared/BabylonNative/Repo/Plugins/NativeTracing',
2121
'/shared/BabylonNative/Repo/Plugins/NativeXr',
22+
'/shared/BabylonNative/Repo/Plugins/ShaderCache',
2223
'/shared/BabylonNative/Repo/Core/Graphics',
2324
'/shared/BabylonNative/Repo/Dependencies/xr',
2425
'/_deps/bgfx.cmake-build/cmake/bgfx',
@@ -98,6 +99,7 @@ Pod::Spec.new do |s|
9899
'UrlLib',
99100
'Window',
100101
'XMLHttpRequest',
102+
'ShaderCache',
101103
'webp',
102104
'sharpyuv']
103105

Modules/@babylonjs/react-native/windows/BabylonReactNative/BabylonReactNative.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
$(BabylonNativeBuildDir)shared\babylonnative\Repo\Plugins\NativeInput\$(Configuration);
136136
$(BabylonNativeBuildDir)shared\babylonnative\Repo\Plugins\NativeOptimizations\$(Configuration);
137137
$(BabylonNativeBuildDir)shared\babylonnative\Repo\Plugins\NativeTracing\$(Configuration);
138+
$(BabylonNativeBuildDir)shared\babylonnative\Repo\Plugins\ShaderCache\$(Configuration);
138139
$(BabylonNativeBuildDir)shared\babylonnative\Repo\Polyfills\Window\$(Configuration);
139140
$(BabylonNativeBuildDir)shared\babylonnative\Repo\Polyfills\Canvas\$(Configuration);
140141
$(BabylonNativeBuildDir)jsi\$(Configuration);
@@ -179,6 +180,7 @@
179180
bimg.lib;
180181
bimg_encode.lib;
181182
bimg_decode.lib;
183+
shadercache.lib;
182184
minz.lib;
183185
bx.lib;
184186
Canvas.lib;
@@ -236,6 +238,7 @@
236238
bimg.lib;
237239
bimg_encode.lib;
238240
bimg_decode.lib;
241+
shadercache.lib;
239242
minz.lib;
240243
bx.lib;
241244
Canvas.lib;

Modules/@babylonjs/react-native/windows/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ target_link_libraries(BabylonNative
6464
Window
6565
Scheduling
6666
XMLHttpRequest
67+
ShaderCache
6768
Canvas
6869
${ADDITIONAL_LIBRARIES})
6970

Package/gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ const createPackage = async () => {
230230
exec('npm pack', 'Assembled');
231231
};
232232

233-
const COMMIT_ID = 'c215f451d5c926d0d9c8160942faf607403a82a4';
234-
const ZIP_URL = `https://github.com/cedricguillemet/BabylonNative/archive/${COMMIT_ID}.zip`;
233+
const COMMIT_ID = '6b338fc64c78fcf9fb4a672ee90134ee0355a8dc';
234+
const ZIP_URL = `https://github.com/BabylonJS/BabylonNative/archive/${COMMIT_ID}.zip`;
235235
const TARGET_DIR = path.resolve(__dirname, '../Modules/@babylonjs/react-native/shared/BabylonNative');
236236
const ZIP_PATH = path.join(TARGET_DIR, `${COMMIT_ID}.zip`);
237237
const UNZIP_FOLDER = path.join(TARGET_DIR, `Repo`);

0 commit comments

Comments
 (0)