@babylonjs/react-native 2.0.0 → 2.0.1-preview
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/react-native-babylon.podspec +2 -0
- package/shared/BabylonNative/CMakeLists.txt +2 -0
- package/shared/BabylonNative/Repo/CMakeLists.txt +16 -12
- package/shared/BabylonNative/Repo/Core/Graphics/CMakeLists.txt +41 -21
- package/shared/BabylonNative/Repo/Core/Graphics/Include/Platform/iOS/Babylon/Graphics/Platform.h +2 -2
- package/shared/BabylonNative/Repo/Core/Graphics/Include/Platform/macOS/Babylon/Graphics/Platform.h +2 -2
- package/shared/BabylonNative/Repo/Core/Graphics/Include/Platform/visionOS/Babylon/Graphics/Platform.h +2 -2
- package/shared/BabylonNative/Repo/Core/Graphics/Include/RendererType/Metal/Babylon/Graphics/RendererType.h +6 -6
- package/shared/BabylonNative/Repo/Core/Graphics/InternalInclude/Babylon/Graphics/BgfxCallback.h +1 -1
- package/shared/BabylonNative/Repo/Core/Graphics/Source/BgfxCallback.cpp +32 -9
- package/shared/BabylonNative/Repo/Core/Graphics/Source/DeviceImpl.cpp +7 -5
- package/shared/BabylonNative/Repo/Core/Graphics/Source/{DeviceImpl_Metal.cpp → DeviceImpl_Metal.mm} +4 -3
- package/shared/BabylonNative/Repo/Core/Graphics/Source/DeviceImpl_iOS.mm +5 -3
- package/shared/BabylonNative/Repo/Core/Graphics/Source/DeviceImpl_macOS.mm +10 -1
- package/shared/BabylonNative/Repo/Core/Graphics/Source/DeviceImpl_visionOS.mm +2 -4
- package/shared/BabylonNative/Repo/Dependencies/CMakeLists.txt +77 -12
- package/shared/BabylonNative/Repo/Dependencies/xr/CMakeLists.txt +1 -3
- package/shared/BabylonNative/Repo/Plugins/ExternalTexture/CMakeLists.txt +1 -6
- package/shared/BabylonNative/Repo/Plugins/ExternalTexture/Source/ExternalTexture_D3D11.cpp +4 -0
- package/shared/BabylonNative/Repo/Plugins/ExternalTexture/Source/ExternalTexture_D3D12.cpp +4 -0
- package/shared/BabylonNative/Repo/Plugins/ExternalTexture/Source/{ExternalTexture_Metal.mm → ExternalTexture_Metal.cpp} +128 -120
- package/shared/BabylonNative/Repo/Plugins/NativeCamera/CMakeLists.txt +2 -2
- package/shared/BabylonNative/Repo/Plugins/NativeCamera/Source/Apple/CameraDevice.mm +5 -5
- package/shared/BabylonNative/Repo/Plugins/NativeEngine/CMakeLists.txt +2 -1
- package/shared/BabylonNative/Repo/Plugins/NativeEngine/Source/NativeEngine.cpp +2 -1
- package/shared/BabylonNative/Repo/Plugins/NativeEngine/Source/ShaderProvider.cpp +6 -6
- package/shared/BabylonNative/Repo/Plugins/NativeOptimizations/CMakeLists.txt +1 -2
- package/shared/BabylonNative/Repo/Plugins/NativeTracing/CMakeLists.txt +1 -2
- package/shared/BabylonNative/Repo/Plugins/NativeXr/Source/NativeXrImpl.cpp +1 -0
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/CMakeLists.txt +0 -2
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/Include/Babylon/Plugins/ShaderCache.h +2 -2
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/Source/ShaderCache.cpp +2 -2
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/Source/ShaderCacheImpl.cpp +4 -4
- package/shared/BabylonNative/Repo/Plugins/ShaderCache/Source/ShaderCacheImpl.h +2 -2
- package/shared/BabylonNative/Repo/Plugins/ShaderCompiler/Source/ShaderCompilerCommon.cpp +2 -0
- package/shared/BabylonNative/Repo/Plugins/ShaderCompiler/Source/ShaderCompilerTraversers.cpp +4 -0
- package/shared/BabylonNative/Repo/Plugins/TestUtils/CMakeLists.txt +6 -8
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Include/Babylon/Plugins/TestUtils.h +0 -1
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtils.cpp +20 -6
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtils.h +13 -13
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/{Android/TestUtilsImpl.cpp → TestUtils_Android.cpp} +1 -10
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/{Unix/TestUtilsImpl.cpp → TestUtils_Unix.cpp} +10 -20
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/{Win32/TestUtilsImpl.cpp → TestUtils_Win32.cpp} +10 -20
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/{WinRT/TestUtilsImpl.cpp → TestUtils_WinRT.cpp} +9 -13
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtils_iOS.mm +25 -0
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtils_macOS.mm +50 -0
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/fs_boxblur.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/fs_gaussblur.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/fs_nanovg_fill.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/vs_fspass.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/Source/Shaders/dx11/vs_nanovg_fill.h +1 -1
- package/shared/BabylonNative/Repo/Polyfills/Canvas/shaderc.cmake +2 -2
- package/shared/BabylonNative/Repo/azure-pipelines.yml +36 -24
- package/shared/BabylonNative/deps/arcana.cpp-src/CMakeLists.txt +17 -1
- package/shared/BabylonNative/deps/arcana.cpp-src/README.md +1 -1
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Shared/arcana/string.h +0 -12
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Shared/arcana/threading/cancellation.h +25 -12
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Windows.Test/Threading/CancellationMemoryLeakTest.cpp +37 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/CMakeLists.txt +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/README.md +5 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/LICENSE +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/README.md +31 -14
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/args.h +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/aviwriter.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/bgfx_utils.cpp +4 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/bgfx_utils.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/common.h +43 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/common.sh +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/debugdraw.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/debugdraw.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill.bin.h +180 -29
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill_lit.bin.h +305 -92
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill_lit.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill_texture.bin.h +328 -26
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_fill_texture.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_lines.bin.h +227 -13
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_lines.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_lines_stipple.bin.h +290 -38
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/fs_debugdraw_lines_stipple.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill.bin.h +319 -95
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill.sc +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_lit.bin.h +410 -133
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_lit.sc +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_lit_mesh.bin.h +378 -120
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_lit_mesh.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_mesh.bin.h +290 -85
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_mesh.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_texture.bin.h +259 -18
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_fill_texture.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_lines.bin.h +228 -14
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_lines.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_lines_stipple.bin.h +255 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/debugdraw/vs_debugdraw_lines_stipple.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/cmd.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/cmd.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/dbg.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/dialog.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/dialog.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_android.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_glfw.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_html5.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_ios.mm +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_noop.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_osx.mm +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_p.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_sdl.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_windows.cpp +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/entry_x11.cpp +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/input.cpp +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/entry/input.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/example-glue.cpp +21 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_basic.bin.h +391 -75
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field.bin.h +382 -119
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_drop_shadow.bin.h +587 -227
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_drop_shadow_image.bin.h +655 -265
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_outline.bin.h +452 -164
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_outline_drop_shadow_image.bin.h +719 -307
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_outline_image.bin.h +535 -208
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/fs_font_distance_field_subpixel.bin.h +495 -125
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_basic.bin.h +254 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field.bin.h +254 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_drop_shadow.bin.h +340 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_drop_shadow_image.bin.h +340 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_outline.bin.h +310 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_outline_drop_shadow_image.bin.h +340 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_outline_image.bin.h +310 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/font/vs_font_distance_field_subpixel.bin.h +254 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_image.bin.h +277 -59
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_ocornut_imgui.bin.h +324 -25
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/imgui.cpp +9 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/imgui.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_image.bin.h +219 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_ocornut_imgui.bin.h +239 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/fs_nanovg_fill.bin.h +925 -472
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/nanovg_bgfx.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/nanovg_bgfx.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/nanovg/vs_nanovg_fill.bin.h +223 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/packrect.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/fs_particle.bin.h +382 -70
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/fs_particle.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/particle_system.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/particle_system.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/vs_particle.bin.h +263 -18
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/ps/vs_particle.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/shaderlib.sh +10 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/bgfx.h +149 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/c99/bgfx.h +225 -101
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/defines.h +30 -21
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/embedded_shader.h +110 -60
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/include/bgfx/platform.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/makefile +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bgfx.idl +189 -70
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bgfx.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bindings-bf.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bindings-c3.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bindings-cs.lua +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/bindings-zig.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/example-common.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/genie.lua +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/geometryc.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/geometryv.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/shader-embeded.mk +18 -4
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/shader.mk +21 -6
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/shaderc.lua +139 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/temp.bgfx.h +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/temp.bgfx.hpp +2 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/temp.bgfx.idl.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/temp.defines.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/texturec.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/texturev.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/scripts/tools.mk +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/amalgamated.cpp +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/amalgamated.mm +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx.cpp +406 -164
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx.idl.inl +37 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx_compute.sh +40 -43
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx_p.h +795 -170
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/bgfx_shader.sh +205 -73
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/charset.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/config.h +18 -4
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/debug_renderdoc.cpp +8 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/debug_renderdoc.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/dxgi.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/dxgi.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/emscripten.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear0.bin.h +190 -36
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear0.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear1.bin.h +223 -46
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear1.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear2.bin.h +253 -55
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear2.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear3.bin.h +283 -65
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear3.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear4.bin.h +314 -75
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear4.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear5.bin.h +343 -85
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear5.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear6.bin.h +373 -94
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear6.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear7.bin.h +404 -105
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_clear7.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_debugfont.bin.h +401 -67
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/fs_debugfont.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_egl.cpp +114 -36
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_egl.h +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_html5.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_html5.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_wgl.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glcontext_wgl.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/glimports.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/makefile +17 -13
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/nvapi.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/nvapi.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer.h +50 -29
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_agc.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d.h +7 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d11.cpp +291 -180
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d11.h +5 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d12.cpp +635 -218
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_d3d12.h +78 -10
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_gl.cpp +65 -45
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_gl.h +24 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_gnm.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_mtl.h +50 -24
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_mtl.mm +158 -56
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_noop.cpp +8 -12
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_nvn.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_vk.cpp +810 -445
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_vk.h +194 -133
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_webgpu.cpp +6239 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/renderer_webgpu.h +897 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader_dxbc.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader_dxbc.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader_spirv.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/shader_spirv.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/topology.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/topology.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/version.h +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vertexlayout.cpp +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vertexlayout.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vs_clear.bin.h +186 -24
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vs_clear.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vs_debugfont.bin.h +314 -44
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/src/vs_debugfont.sc +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/3rdparty/nvtt/bc7/avpcl_mode4.cpp +2 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/3rdparty/nvtt/nvcore/debug.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/3rdparty/nvtt/nvtt.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/LICENSE +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/README.md +2 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/include/bimg/bimg.h +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/include/bimg/decode.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/include/bimg/encode.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/makefile +183 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/bimg.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/bimg_decode.lua +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/bimg_encode.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/genie.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/scripts/texturec.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/bimg_p.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/config.h +52 -40
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image.cpp +136 -120
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image_cubemap_filter.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image_decode.cpp +17 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image_encode.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/src/image_gnf.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bimg/tools/texturec/texturec.cpp +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/LICENSE +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/README.md +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/allocator.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/bounds.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/bx.h +43 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/commandline.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/config.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/constants.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/cpu.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/debug.h +15 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/easing.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/endian.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/error.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/file.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/filepath.h +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/float4x4_t.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/handlealloc.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/hash.h +31 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/allocator.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/bounds.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/bx.inl +141 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/cpu.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/easing.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/endian.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/error.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/float4x4_t.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/handlealloc.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/hash.inl +28 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/math.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/mpscqueue.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/mutex.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/os.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/pixelformat.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/readerwriter.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/ringbuffer.inl +76 -8
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/rng.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd128_langext.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd128_neon.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd128_ref.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd128_sse.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd256_avx.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd256_ref.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/simd_ni.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/sort.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/spscqueue.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/string.inl +237 -48
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/timer.inl +67 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/typetraits.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/inline/uint32_t.inl +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/macros.h +6 -6
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/math.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/mpscqueue.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/mutex.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/os.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/pixelformat.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/platform.h +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/process.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/readerwriter.h +9 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/ringbuffer.h +145 -14
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/rng.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/semaphore.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/settings.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/simd_t.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/sort.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/spscqueue.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/string.h +111 -42
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/thread.h +5 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/timer.h +59 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/typetraits.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/uint32_t.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/include/bx/url.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/scripts/bin2c.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/scripts/bx.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/scripts/genie.lua +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/scripts/toolchain.lua +36 -18
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/allocator.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/amalgamated.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/bounds.cpp +10 -10
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/bx.cpp +3 -3
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/commandline.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/crtnone.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/debug.cpp +866 -64
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/dtoa.cpp +3 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/easing.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/file.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/filepath.cpp +7 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/hash.cpp +195 -37
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/math.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/mutex.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/os.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/process.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/semaphore.cpp +27 -6
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/settings.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/sort.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/string.cpp +206 -49
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/thread.cpp +35 -38
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/timer.cpp +5 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/src/url.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/allocator_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/atomic_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/cast_test.cpp +99 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/crt_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/dbg.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/easing_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/filepath_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/handle_bench.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/handle_test.cpp +6 -6
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/hash_test.cpp +37 -8
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/macros_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/main_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/math_bench.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/math_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/os_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/pixelformat_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/queue_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/readerwriter_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/ringbuffer_test.cpp +112 -7
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/rng_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/run_test.cpp +6 -4
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/settings_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/simd_bench.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/simd_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/sort_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/string_test.cpp +92 -39
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/test.h +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/thread_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/tokenizecmd_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/typetraits_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/uint32_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/url_test.cpp +1 -1
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tests/vsnprintf_test.cpp +365 -77
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tools/bin/darwin/genie +0 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tools/bin/linux/genie +0 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tools/bin/windows/genie.exe +0 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/bx/tools/bin2c/bin2c.cpp +2 -2
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/3rdparty/glslang.cmake +6 -5
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/3rdparty/spirv-opt.cmake +5 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/3rdparty/tint.cmake +98 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/CMakeLists.txt +1 -0
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/bgfx.cmake +11 -9
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/examples.cmake +16 -4
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bgfx/shaderc.cmake +21 -10
- package/shared/BabylonNative/deps/bgfx.cmake-src/cmake/bx/bx.cmake +5 -0
- package/shared/BabylonNative/deps/cmakeextensions-src/CMakeLists.txt +31 -5
- package/shared/BabylonNative/deps/cmakeextensions-src/README.md +6 -1
- package/shared/BabylonNative/deps/jsruntimehost-src/CMakeLists.txt +6 -5
- package/shared/BabylonNative/deps/jsruntimehost-src/Core/Node-API/Source/js_native_api_javascriptcore.cc +58 -4
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/CMakeLists.txt +4 -0
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/TextDecoder/CMakeLists.txt +15 -0
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/TextDecoder/Include/Babylon/Polyfills/TextDecoder.h +9 -0
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/TextDecoder/README.md +39 -0
- package/shared/BabylonNative/deps/jsruntimehost-src/Polyfills/TextDecoder/Source/TextDecoder.cpp +91 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/Foundation.hpp +47 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSArray.hpp +124 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSAutoreleasePool.hpp +83 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSBundle.hpp +374 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSData.hpp +54 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSDate.hpp +53 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSDefines.hpp +45 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSDictionary.hpp +128 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSEnumerator.hpp +78 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSError.hpp +173 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSLock.hpp +118 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSNotification.hpp +110 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSNumber.hpp +501 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSObjCRuntime.hpp +43 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSObject.hpp +302 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSPrivate.hpp +531 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSProcessInfo.hpp +386 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSRange.hpp +83 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSSet.hpp +87 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSSharedPtr.hpp +310 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSString.hpp +255 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSTypes.hpp +51 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Foundation/NSURL.hpp +90 -0
- package/shared/BabylonNative/deps/metal-cpp-src/LICENSE.txt +202 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4AccelerationStructure.hpp +1395 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4Archive.hpp +93 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4ArgumentTable.hpp +187 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4BinaryFunction.hpp +50 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4BinaryFunctionDescriptor.hpp +97 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommandAllocator.hpp +100 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommandBuffer.hpp +193 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommandEncoder.hpp +134 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommandQueue.hpp +283 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CommitFeedback.hpp +62 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4Compiler.hpp +345 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4CompilerTask.hpp +63 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4ComputeCommandEncoder.hpp +300 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4ComputePipeline.hpp +158 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4Counters.hpp +138 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4FunctionDescriptor.hpp +49 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4LibraryDescriptor.hpp +98 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4LibraryFunctionDescriptor.hpp +86 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4LinkingDescriptor.hpp +204 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4MachineLearningCommandEncoder.hpp +66 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4MachineLearningPipeline.hpp +172 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4MeshRenderPipeline.hpp +413 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4PipelineDataSetSerializer.hpp +85 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4PipelineState.hpp +150 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4RenderCommandEncoder.hpp +340 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4RenderPass.hpp +280 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4RenderPipeline.hpp +587 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4SpecializedFunctionDescriptor.hpp +100 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4StitchedFunctionDescriptor.hpp +86 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTL4TileRenderPipeline.hpp +173 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLAccelerationStructure.hpp +1887 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLAccelerationStructureCommandEncoder.hpp +260 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLAccelerationStructureTypes.hpp +292 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLAllocation.hpp +40 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLArgument.hpp +787 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLArgumentEncoder.hpp +235 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLBinaryArchive.hpp +152 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLBlitCommandEncoder.hpp +226 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLBlitPass.hpp +154 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLBuffer.hpp +119 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCaptureManager.hpp +217 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCaptureScope.hpp +91 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCommandBuffer.hpp +464 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCommandEncoder.hpp +117 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCommandQueue.hpp +158 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLComputeCommandEncoder.hpp +324 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLComputePass.hpp +169 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLComputePipeline.hpp +439 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLCounters.hpp +243 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDataType.hpp +129 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDefines.hpp +41 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDepthStencil.hpp +277 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDevice.hpp +1493 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDrawable.hpp +90 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLDynamicLibrary.hpp +78 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLEvent.hpp +170 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFence.hpp +55 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionConstantValues.hpp +76 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionDescriptor.hpp +153 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionHandle.hpp +65 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionLog.hpp +101 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLFunctionStitching.hpp +319 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLGPUAddress.hpp +36 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLHeaderBridge.hpp +3120 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLHeap.hpp +318 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIOCommandBuffer.hpp +182 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIOCommandQueue.hpp +211 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIOCompressor.hpp +94 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIndirectCommandBuffer.hpp +376 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIndirectCommandEncoder.hpp +272 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLIntersectionFunctionTable.hpp +173 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLLibrary.hpp +786 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLLinkedFunctions.hpp +110 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLLogState.hpp +111 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLParallelRenderCommandEncoder.hpp +83 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLPipeline.hpp +104 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLPixelFormat.hpp +173 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLPrivate.hpp +156 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLRasterizationRate.hpp +337 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLRenderCommandEncoder.hpp +1019 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLRenderPass.hpp +792 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLRenderPipeline.hpp +1876 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResidencySet.hpp +178 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResource.hpp +190 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResourceStateCommandEncoder.hpp +98 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResourceStatePass.hpp +154 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLResourceViewPool.hpp +118 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLSampler.hpp +345 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLStageInputOutputDescriptor.hpp +356 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLTensor.hpp +297 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLTexture.hpp +803 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLTextureViewPool.hpp +59 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLTypes.hpp +164 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLVersion.hpp +32 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLVertexDescriptor.hpp +326 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/MTLVisibleFunctionTable.hpp +96 -0
- package/shared/BabylonNative/deps/metal-cpp-src/Metal/Metal.hpp +120 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTL4FXFrameInterpolator.hpp +47 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTL4FXSpatialScaler.hpp +49 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTL4FXTemporalDenoisedScaler.hpp +49 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTL4FXTemporalScaler.hpp +49 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXDefines.hpp +41 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXFrameInterpolator.hpp +719 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXPrivate.hpp +482 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXSpatialScaler.hpp +397 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXTemporalDenoisedScaler.hpp +1208 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MTLFXTemporalScaler.hpp +803 -0
- package/shared/BabylonNative/deps/metal-cpp-src/MetalFX/MetalFX.hpp +35 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/CADefines.hpp +41 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/CAMetalDrawable.hpp +57 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/CAMetalLayer.hpp +216 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/CAPrivate.hpp +150 -0
- package/shared/BabylonNative/deps/metal-cpp-src/QuartzCore/QuartzCore.hpp +28 -0
- package/shared/BabylonNative/deps/metal-cpp-src/README.md +313 -0
- package/shared/BabylonNative/deps/metal-cpp-src/SingleHeader/MakeSingleHeader.py +271 -0
- package/shared/BabylonNative/deps/metal-cpp-src/SingleHeader/Metal.hpp +28735 -0
- package/shared/BabylonNative/deps/spirv-cross-src/spirv_hlsl.cpp +173 -222
- package/shared/BabylonNative/deps/urllib-src/CMakeLists.txt +6 -7
- package/shared/BabylonNative/deps/urllib-src/Source/UrlRequest_Unix.cpp +1 -1
- package/shared/BabylonNative.cpp +4 -0
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/Apple/TestUtilsImpl.mm +0 -57
- package/shared/BabylonNative/Repo/Plugins/TestUtils/Source/TestUtilsImplData.h +0 -18
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Android/Arcana.Android.vcxproj +0 -186
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Shared/Arcana.vcxitems +0 -47
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Windows/Arcana.Windows.Reference.vcxitems +0 -30
- package/shared/BabylonNative/deps/arcana.cpp-src/Source/Windows/Arcana.Windows.vcxproj +0 -218
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/bounds.cpp +0 -2178
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/bounds.h +0 -448
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_color.bin.h +0 -100
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_color.sc +0 -13
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_cubemap.bin.h +0 -223
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_cubemap.sc +0 -21
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_image_swizz.bin.h +0 -256
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_image_swizz.sc +0 -22
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_latlong.bin.h +0 -308
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_latlong.sc +0 -38
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_texture.bin.h +0 -180
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/fs_imgui_texture.sc +0 -16
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_color.bin.h +0 -195
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_color.sc +0 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_cubemap.bin.h +0 -203
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_cubemap.sc +0 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_latlong.bin.h +0 -205
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_latlong.sc +0 -15
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_texture.bin.h +0 -233
- package/shared/BabylonNative/deps/bgfx.cmake-src/bgfx/examples/common/imgui/vs_imgui_texture.sc +0 -16
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright 2011-
|
|
2
|
+
* Copyright 2011-2026 Branimir Karadzic. All rights reserved.
|
|
3
3
|
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -107,120 +107,125 @@
|
|
|
107
107
|
VK_IMPORT_INSTANCE_FUNC(true, vkGetPhysicalDeviceSurfaceSupportKHR); \
|
|
108
108
|
VK_IMPORT_INSTANCE_FUNC(true, vkDestroySurfaceKHR); \
|
|
109
109
|
/* VK_KHR_get_physical_device_properties2 */ \
|
|
110
|
+
VK_IMPORT_INSTANCE_FUNC(true, vkGetPhysicalDeviceProperties2KHR); \
|
|
110
111
|
VK_IMPORT_INSTANCE_FUNC(true, vkGetPhysicalDeviceFeatures2KHR); \
|
|
111
112
|
VK_IMPORT_INSTANCE_FUNC(true, vkGetPhysicalDeviceMemoryProperties2KHR); \
|
|
112
113
|
/* VK_EXT_debug_report */ \
|
|
113
114
|
VK_IMPORT_INSTANCE_FUNC(true, vkCreateDebugReportCallbackEXT); \
|
|
114
115
|
VK_IMPORT_INSTANCE_FUNC(true, vkDestroyDebugReportCallbackEXT); \
|
|
116
|
+
/* VK_KHR_fragment_shading_rate */ \
|
|
117
|
+
VK_IMPORT_INSTANCE_FUNC(true, vkGetPhysicalDeviceFragmentShadingRatesKHR); \
|
|
115
118
|
VK_IMPORT_INSTANCE_PLATFORM
|
|
116
119
|
|
|
117
|
-
#define VK_IMPORT_DEVICE
|
|
118
|
-
VK_IMPORT_DEVICE_FUNC(false, vkGetDeviceQueue);
|
|
119
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateFence);
|
|
120
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyFence);
|
|
121
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateSemaphore);
|
|
122
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroySemaphore);
|
|
123
|
-
VK_IMPORT_DEVICE_FUNC(false, vkResetFences);
|
|
124
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateCommandPool);
|
|
125
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyCommandPool);
|
|
126
|
-
VK_IMPORT_DEVICE_FUNC(false, vkResetCommandPool);
|
|
127
|
-
VK_IMPORT_DEVICE_FUNC(false, vkAllocateCommandBuffers);
|
|
128
|
-
VK_IMPORT_DEVICE_FUNC(false, vkFreeCommandBuffers);
|
|
129
|
-
VK_IMPORT_DEVICE_FUNC(false, vkGetBufferMemoryRequirements);
|
|
130
|
-
VK_IMPORT_DEVICE_FUNC(false, vkGetImageMemoryRequirements);
|
|
131
|
-
VK_IMPORT_DEVICE_FUNC(false, vkGetImageSubresourceLayout);
|
|
132
|
-
VK_IMPORT_DEVICE_FUNC(false, vkAllocateMemory);
|
|
133
|
-
VK_IMPORT_DEVICE_FUNC(false, vkFreeMemory);
|
|
134
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateImage);
|
|
135
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyImage);
|
|
136
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateImageView);
|
|
137
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyImageView);
|
|
138
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateBuffer);
|
|
139
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyBuffer);
|
|
140
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateFramebuffer);
|
|
141
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyFramebuffer);
|
|
142
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateRenderPass);
|
|
143
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyRenderPass);
|
|
144
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateShaderModule);
|
|
145
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyShaderModule);
|
|
146
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreatePipelineCache);
|
|
147
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyPipelineCache);
|
|
148
|
-
VK_IMPORT_DEVICE_FUNC(false, vkGetPipelineCacheData);
|
|
149
|
-
VK_IMPORT_DEVICE_FUNC(false, vkMergePipelineCaches);
|
|
150
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateGraphicsPipelines);
|
|
151
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateComputePipelines);
|
|
152
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyPipeline);
|
|
153
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreatePipelineLayout);
|
|
154
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyPipelineLayout);
|
|
155
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateSampler);
|
|
156
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroySampler);
|
|
157
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateDescriptorSetLayout);
|
|
158
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyDescriptorSetLayout);
|
|
159
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateDescriptorPool);
|
|
160
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyDescriptorPool);
|
|
161
|
-
VK_IMPORT_DEVICE_FUNC(false, vkResetDescriptorPool);
|
|
162
|
-
VK_IMPORT_DEVICE_FUNC(false, vkAllocateDescriptorSets);
|
|
163
|
-
VK_IMPORT_DEVICE_FUNC(false, vkFreeDescriptorSets);
|
|
164
|
-
VK_IMPORT_DEVICE_FUNC(false, vkUpdateDescriptorSets);
|
|
165
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCreateQueryPool);
|
|
166
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDestroyQueryPool);
|
|
167
|
-
VK_IMPORT_DEVICE_FUNC(false, vkQueueSubmit);
|
|
168
|
-
VK_IMPORT_DEVICE_FUNC(false, vkQueueWaitIdle);
|
|
169
|
-
VK_IMPORT_DEVICE_FUNC(false, vkDeviceWaitIdle);
|
|
170
|
-
VK_IMPORT_DEVICE_FUNC(false, vkWaitForFences);
|
|
171
|
-
VK_IMPORT_DEVICE_FUNC(false, vkBeginCommandBuffer);
|
|
172
|
-
VK_IMPORT_DEVICE_FUNC(false, vkEndCommandBuffer);
|
|
173
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdPipelineBarrier);
|
|
174
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdBeginRenderPass);
|
|
175
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdEndRenderPass);
|
|
176
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdSetViewport);
|
|
177
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdDraw);
|
|
178
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdDrawIndexed);
|
|
179
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdDrawIndirect);
|
|
180
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdDrawIndexedIndirect);
|
|
181
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdDispatch);
|
|
182
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdDispatchIndirect);
|
|
183
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdBindPipeline);
|
|
184
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdSetStencilReference);
|
|
185
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdSetBlendConstants);
|
|
186
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdSetScissor);
|
|
187
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdBindDescriptorSets);
|
|
188
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdBindIndexBuffer);
|
|
189
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdBindVertexBuffers);
|
|
190
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdClearColorImage);
|
|
191
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdClearDepthStencilImage);
|
|
192
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdClearAttachments);
|
|
193
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdResolveImage);
|
|
194
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyBuffer);
|
|
195
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyBufferToImage);
|
|
196
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyImage);
|
|
197
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyImageToBuffer);
|
|
198
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdBlitImage);
|
|
199
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdResetQueryPool);
|
|
200
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdWriteTimestamp);
|
|
201
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdBeginQuery);
|
|
202
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdEndQuery);
|
|
203
|
-
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyQueryPoolResults);
|
|
204
|
-
VK_IMPORT_DEVICE_FUNC(false, vkMapMemory);
|
|
205
|
-
VK_IMPORT_DEVICE_FUNC(false, vkUnmapMemory);
|
|
206
|
-
VK_IMPORT_DEVICE_FUNC(false, vkFlushMappedMemoryRanges);
|
|
207
|
-
VK_IMPORT_DEVICE_FUNC(false, vkInvalidateMappedMemoryRanges);
|
|
208
|
-
VK_IMPORT_DEVICE_FUNC(false, vkBindBufferMemory);
|
|
209
|
-
VK_IMPORT_DEVICE_FUNC(false, vkBindImageMemory);
|
|
210
|
-
/* VK_KHR_swapchain */
|
|
211
|
-
VK_IMPORT_DEVICE_FUNC(true, vkCreateSwapchainKHR);
|
|
212
|
-
VK_IMPORT_DEVICE_FUNC(true, vkDestroySwapchainKHR);
|
|
213
|
-
VK_IMPORT_DEVICE_FUNC(true, vkGetSwapchainImagesKHR);
|
|
214
|
-
VK_IMPORT_DEVICE_FUNC(true, vkAcquireNextImageKHR);
|
|
215
|
-
VK_IMPORT_DEVICE_FUNC(true, vkQueuePresentKHR);
|
|
216
|
-
/* VK_EXT_debug_utils */
|
|
217
|
-
VK_IMPORT_DEVICE_FUNC(true, vkSetDebugUtilsObjectNameEXT);
|
|
218
|
-
VK_IMPORT_DEVICE_FUNC(true, vkCmdBeginDebugUtilsLabelEXT);
|
|
219
|
-
VK_IMPORT_DEVICE_FUNC(true, vkCmdEndDebugUtilsLabelEXT);
|
|
220
|
-
VK_IMPORT_DEVICE_FUNC(true, vkCmdInsertDebugUtilsLabelEXT);
|
|
221
|
-
/* VK_KHR_draw_indirect_count */
|
|
222
|
-
VK_IMPORT_DEVICE_FUNC(true, vkCmdDrawIndirectCountKHR);
|
|
223
|
-
VK_IMPORT_DEVICE_FUNC(true, vkCmdDrawIndexedIndirectCountKHR);
|
|
120
|
+
#define VK_IMPORT_DEVICE \
|
|
121
|
+
VK_IMPORT_DEVICE_FUNC(false, vkGetDeviceQueue); \
|
|
122
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateFence); \
|
|
123
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyFence); \
|
|
124
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateSemaphore); \
|
|
125
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroySemaphore); \
|
|
126
|
+
VK_IMPORT_DEVICE_FUNC(false, vkResetFences); \
|
|
127
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateCommandPool); \
|
|
128
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyCommandPool); \
|
|
129
|
+
VK_IMPORT_DEVICE_FUNC(false, vkResetCommandPool); \
|
|
130
|
+
VK_IMPORT_DEVICE_FUNC(false, vkAllocateCommandBuffers); \
|
|
131
|
+
VK_IMPORT_DEVICE_FUNC(false, vkFreeCommandBuffers); \
|
|
132
|
+
VK_IMPORT_DEVICE_FUNC(false, vkGetBufferMemoryRequirements); \
|
|
133
|
+
VK_IMPORT_DEVICE_FUNC(false, vkGetImageMemoryRequirements); \
|
|
134
|
+
VK_IMPORT_DEVICE_FUNC(false, vkGetImageSubresourceLayout); \
|
|
135
|
+
VK_IMPORT_DEVICE_FUNC(false, vkAllocateMemory); \
|
|
136
|
+
VK_IMPORT_DEVICE_FUNC(false, vkFreeMemory); \
|
|
137
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateImage); \
|
|
138
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyImage); \
|
|
139
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateImageView); \
|
|
140
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyImageView); \
|
|
141
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateBuffer); \
|
|
142
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyBuffer); \
|
|
143
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateFramebuffer); \
|
|
144
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyFramebuffer); \
|
|
145
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateRenderPass); \
|
|
146
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyRenderPass); \
|
|
147
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateShaderModule); \
|
|
148
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyShaderModule); \
|
|
149
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreatePipelineCache); \
|
|
150
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyPipelineCache); \
|
|
151
|
+
VK_IMPORT_DEVICE_FUNC(false, vkGetPipelineCacheData); \
|
|
152
|
+
VK_IMPORT_DEVICE_FUNC(false, vkMergePipelineCaches); \
|
|
153
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateGraphicsPipelines); \
|
|
154
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateComputePipelines); \
|
|
155
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyPipeline); \
|
|
156
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreatePipelineLayout); \
|
|
157
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyPipelineLayout); \
|
|
158
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateSampler); \
|
|
159
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroySampler); \
|
|
160
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateDescriptorSetLayout); \
|
|
161
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyDescriptorSetLayout); \
|
|
162
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateDescriptorPool); \
|
|
163
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyDescriptorPool); \
|
|
164
|
+
VK_IMPORT_DEVICE_FUNC(false, vkResetDescriptorPool); \
|
|
165
|
+
VK_IMPORT_DEVICE_FUNC(false, vkAllocateDescriptorSets); \
|
|
166
|
+
VK_IMPORT_DEVICE_FUNC(false, vkFreeDescriptorSets); \
|
|
167
|
+
VK_IMPORT_DEVICE_FUNC(false, vkUpdateDescriptorSets); \
|
|
168
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCreateQueryPool); \
|
|
169
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDestroyQueryPool); \
|
|
170
|
+
VK_IMPORT_DEVICE_FUNC(false, vkQueueSubmit); \
|
|
171
|
+
VK_IMPORT_DEVICE_FUNC(false, vkQueueWaitIdle); \
|
|
172
|
+
VK_IMPORT_DEVICE_FUNC(false, vkDeviceWaitIdle); \
|
|
173
|
+
VK_IMPORT_DEVICE_FUNC(false, vkWaitForFences); \
|
|
174
|
+
VK_IMPORT_DEVICE_FUNC(false, vkBeginCommandBuffer); \
|
|
175
|
+
VK_IMPORT_DEVICE_FUNC(false, vkEndCommandBuffer); \
|
|
176
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdPipelineBarrier); \
|
|
177
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdBeginRenderPass); \
|
|
178
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdEndRenderPass); \
|
|
179
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdSetViewport); \
|
|
180
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdDraw); \
|
|
181
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdDrawIndexed); \
|
|
182
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdDrawIndirect); \
|
|
183
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdDrawIndexedIndirect); \
|
|
184
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdDispatch); \
|
|
185
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdDispatchIndirect); \
|
|
186
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdBindPipeline); \
|
|
187
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdSetStencilReference); \
|
|
188
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdSetBlendConstants); \
|
|
189
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdSetScissor); \
|
|
190
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdBindDescriptorSets); \
|
|
191
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdBindIndexBuffer); \
|
|
192
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdBindVertexBuffers); \
|
|
193
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdClearColorImage); \
|
|
194
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdClearDepthStencilImage); \
|
|
195
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdClearAttachments); \
|
|
196
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdResolveImage); \
|
|
197
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyBuffer); \
|
|
198
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyBufferToImage); \
|
|
199
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyImage); \
|
|
200
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyImageToBuffer); \
|
|
201
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdBlitImage); \
|
|
202
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdResetQueryPool); \
|
|
203
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdWriteTimestamp); \
|
|
204
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdBeginQuery); \
|
|
205
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdEndQuery); \
|
|
206
|
+
VK_IMPORT_DEVICE_FUNC(false, vkCmdCopyQueryPoolResults); \
|
|
207
|
+
VK_IMPORT_DEVICE_FUNC(false, vkMapMemory); \
|
|
208
|
+
VK_IMPORT_DEVICE_FUNC(false, vkUnmapMemory); \
|
|
209
|
+
VK_IMPORT_DEVICE_FUNC(false, vkFlushMappedMemoryRanges); \
|
|
210
|
+
VK_IMPORT_DEVICE_FUNC(false, vkInvalidateMappedMemoryRanges); \
|
|
211
|
+
VK_IMPORT_DEVICE_FUNC(false, vkBindBufferMemory); \
|
|
212
|
+
VK_IMPORT_DEVICE_FUNC(false, vkBindImageMemory); \
|
|
213
|
+
/* VK_KHR_swapchain */ \
|
|
214
|
+
VK_IMPORT_DEVICE_FUNC(true, vkCreateSwapchainKHR); \
|
|
215
|
+
VK_IMPORT_DEVICE_FUNC(true, vkDestroySwapchainKHR); \
|
|
216
|
+
VK_IMPORT_DEVICE_FUNC(true, vkGetSwapchainImagesKHR); \
|
|
217
|
+
VK_IMPORT_DEVICE_FUNC(true, vkAcquireNextImageKHR); \
|
|
218
|
+
VK_IMPORT_DEVICE_FUNC(true, vkQueuePresentKHR); \
|
|
219
|
+
/* VK_EXT_debug_utils */ \
|
|
220
|
+
VK_IMPORT_DEVICE_FUNC(true, vkSetDebugUtilsObjectNameEXT); \
|
|
221
|
+
VK_IMPORT_DEVICE_FUNC(true, vkCmdBeginDebugUtilsLabelEXT); \
|
|
222
|
+
VK_IMPORT_DEVICE_FUNC(true, vkCmdEndDebugUtilsLabelEXT); \
|
|
223
|
+
VK_IMPORT_DEVICE_FUNC(true, vkCmdInsertDebugUtilsLabelEXT); \
|
|
224
|
+
/* VK_KHR_draw_indirect_count */ \
|
|
225
|
+
VK_IMPORT_DEVICE_FUNC(true, vkCmdDrawIndirectCountKHR); \
|
|
226
|
+
VK_IMPORT_DEVICE_FUNC(true, vkCmdDrawIndexedIndirectCountKHR); \
|
|
227
|
+
/* VK_KHR_fragment_shading_rate */ \
|
|
228
|
+
VK_IMPORT_DEVICE_FUNC(true, vkCmdSetFragmentShadingRateKHR); \
|
|
224
229
|
|
|
225
230
|
#define VK_DESTROY \
|
|
226
231
|
VK_DESTROY_FUNC(Buffer); \
|
|
@@ -241,17 +246,19 @@
|
|
|
241
246
|
VK_DESTROY_FUNC(ShaderModule); \
|
|
242
247
|
VK_DESTROY_FUNC(SwapchainKHR); \
|
|
243
248
|
|
|
244
|
-
#define _VK_CHECK(_check, _call)
|
|
245
|
-
BX_MACRO_BLOCK_BEGIN
|
|
246
|
-
/*BX_TRACE(#_call);*/
|
|
247
|
-
VkResult vkresult = _call;
|
|
248
|
-
_check(VK_SUCCESS == vkresult, #_call "; VK error
|
|
249
|
+
#define _VK_CHECK(_check, _call) \
|
|
250
|
+
BX_MACRO_BLOCK_BEGIN \
|
|
251
|
+
/*BX_TRACE(#_call);*/ \
|
|
252
|
+
VkResult vkresult = _call; \
|
|
253
|
+
_check(VK_SUCCESS == vkresult, #_call "; VK error %d: %s", vkresult, getName(vkresult) ); \
|
|
249
254
|
BX_MACRO_BLOCK_END
|
|
250
255
|
|
|
251
256
|
#if BGFX_CONFIG_DEBUG
|
|
252
|
-
# define VK_CHECK(_call)
|
|
257
|
+
# define VK_CHECK(_call) _VK_CHECK(BX_ASSERT, _call)
|
|
258
|
+
# define VK_CHECK_W(_call) _VK_CHECK(BX_WARN, _call)
|
|
253
259
|
#else
|
|
254
|
-
# define VK_CHECK(_call)
|
|
260
|
+
# define VK_CHECK(_call) _call
|
|
261
|
+
# define VK_CHECK_W(_call) _call
|
|
255
262
|
#endif // BGFX_CONFIG_DEBUG
|
|
256
263
|
|
|
257
264
|
#if BGFX_CONFIG_DEBUG_ANNOTATION
|
|
@@ -423,14 +430,13 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
423
430
|
bool m_isFromScratch;
|
|
424
431
|
};
|
|
425
432
|
|
|
426
|
-
|
|
433
|
+
struct StagingScratchBufferVK
|
|
427
434
|
{
|
|
428
|
-
|
|
429
|
-
ScratchBufferVK()
|
|
435
|
+
StagingScratchBufferVK()
|
|
430
436
|
{
|
|
431
437
|
}
|
|
432
438
|
|
|
433
|
-
~
|
|
439
|
+
~StagingScratchBufferVK()
|
|
434
440
|
{
|
|
435
441
|
}
|
|
436
442
|
|
|
@@ -438,7 +444,7 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
438
444
|
void createUniform(uint32_t _size, uint32_t _count);
|
|
439
445
|
void createStaging(uint32_t _size);
|
|
440
446
|
void destroy();
|
|
441
|
-
uint32_t alloc(uint32_t _size, uint32_t _minAlign
|
|
447
|
+
uint32_t alloc(uint32_t _size, uint32_t _minAlign);
|
|
442
448
|
uint32_t write(const void* _data, uint32_t _size, uint32_t _minAlign = 1);
|
|
443
449
|
void flush(bool _reset = true);
|
|
444
450
|
|
|
@@ -447,8 +453,60 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
447
453
|
|
|
448
454
|
uint8_t* m_data;
|
|
449
455
|
uint32_t m_size;
|
|
450
|
-
uint32_t
|
|
456
|
+
uint32_t m_chunkPos;
|
|
457
|
+
uint32_t m_align;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
struct ChunkedScratchBufferOffset
|
|
461
|
+
{
|
|
462
|
+
VkBuffer buffer;
|
|
463
|
+
uint32_t offsets[2];
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
struct ChunkedScratchBufferAlloc
|
|
467
|
+
{
|
|
468
|
+
uint32_t offset;
|
|
469
|
+
uint32_t chunkIdx;
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
struct ChunkedScratchBufferVK
|
|
473
|
+
{
|
|
474
|
+
ChunkedScratchBufferVK()
|
|
475
|
+
: m_chunkControl(0)
|
|
476
|
+
{
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
void create(uint32_t _chunkSize, uint32_t _numChunks, VkBufferUsageFlags usage, uint32_t _align);
|
|
480
|
+
void createUniform(uint32_t _chunkSize, uint32_t _numChunks);
|
|
481
|
+
void destroy();
|
|
482
|
+
|
|
483
|
+
void addChunk(uint32_t _at = UINT32_MAX);
|
|
484
|
+
ChunkedScratchBufferAlloc alloc(uint32_t _size);
|
|
485
|
+
|
|
486
|
+
void write(ChunkedScratchBufferOffset& _outSbo, const void* _vsData, uint32_t _vsSize, const void* _fsData = NULL, uint32_t _fsSize = 0);
|
|
487
|
+
|
|
488
|
+
void begin();
|
|
489
|
+
void end();
|
|
490
|
+
|
|
491
|
+
struct Chunk
|
|
492
|
+
{
|
|
493
|
+
VkBuffer buffer;
|
|
494
|
+
DeviceMemoryAllocationVK deviceMem;
|
|
495
|
+
uint8_t* data;
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
using ScratchBufferChunksArray = stl::vector<Chunk>;
|
|
499
|
+
|
|
500
|
+
ScratchBufferChunksArray m_chunks;
|
|
501
|
+
bx::RingBufferControl m_chunkControl;
|
|
502
|
+
|
|
503
|
+
uint32_t m_chunkPos;
|
|
504
|
+
uint32_t m_chunkSize;
|
|
451
505
|
uint32_t m_align;
|
|
506
|
+
VkBufferUsageFlags m_usage;
|
|
507
|
+
|
|
508
|
+
uint32_t m_consume[BGFX_CONFIG_MAX_FRAME_LATENCY];
|
|
509
|
+
uint32_t m_totalUsed;
|
|
452
510
|
};
|
|
453
511
|
|
|
454
512
|
struct BufferVK
|
|
@@ -677,6 +735,7 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
677
735
|
{
|
|
678
736
|
TextureVK()
|
|
679
737
|
: m_directAccessPtr(NULL)
|
|
738
|
+
, m_flags(0)
|
|
680
739
|
, m_sampler({ 1, VK_SAMPLE_COUNT_1_BIT })
|
|
681
740
|
, m_format(VK_FORMAT_UNDEFINED)
|
|
682
741
|
, m_aspectFlags(VK_IMAGE_ASPECT_NONE)
|
|
@@ -689,7 +748,7 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
689
748
|
{
|
|
690
749
|
}
|
|
691
750
|
|
|
692
|
-
void* create(VkCommandBuffer _commandBuffer, const Memory* _mem, uint64_t _flags, uint8_t _skip);
|
|
751
|
+
void* create(VkCommandBuffer _commandBuffer, const Memory* _mem, uint64_t _flags, uint8_t _skip, uint64_t _external);
|
|
693
752
|
// internal render target
|
|
694
753
|
VkResult create(VkCommandBuffer _commandBuffer, uint32_t _width, uint32_t _height, uint64_t _flags, VkFormat _format);
|
|
695
754
|
|
|
@@ -699,7 +758,7 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
699
758
|
void resolve(VkCommandBuffer _commandBuffer, uint8_t _resolve, uint32_t _layer, uint32_t _numLayers, uint32_t _mip);
|
|
700
759
|
|
|
701
760
|
void copyBufferToTexture(VkCommandBuffer _commandBuffer, VkBuffer _stagingBuffer, uint32_t _bufferImageCopyCount, VkBufferImageCopy* _bufferImageCopy);
|
|
702
|
-
|
|
761
|
+
void setState(VkCommandBuffer _commandBuffer, VkImageLayout _newImageLayout, bool _singleMsaaImage = false);
|
|
703
762
|
|
|
704
763
|
VkResult createView(uint32_t _layer, uint32_t _numLayers, uint32_t _mip, uint32_t _numMips, VkImageViewType _type, VkImageAspectFlags _aspectMask, bool _renderTarget, ::VkImageView* _view) const;
|
|
705
764
|
|
|
@@ -721,20 +780,20 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
721
780
|
VkComponentMapping m_components;
|
|
722
781
|
VkImageAspectFlags m_aspectFlags;
|
|
723
782
|
|
|
724
|
-
VkImage
|
|
783
|
+
VkImage m_textureImage;
|
|
725
784
|
DeviceMemoryAllocationVK m_textureDeviceMem;
|
|
726
|
-
VkImageLayout
|
|
785
|
+
VkImageLayout m_currentImageLayout;
|
|
727
786
|
|
|
728
|
-
VkImage
|
|
787
|
+
VkImage m_singleMsaaImage;
|
|
729
788
|
DeviceMemoryAllocationVK m_singleMsaaDeviceMem;
|
|
730
|
-
VkImageLayout
|
|
789
|
+
VkImageLayout m_currentSingleMsaaImageLayout;
|
|
731
790
|
|
|
732
791
|
VkImageLayout m_sampledLayout;
|
|
733
792
|
|
|
734
793
|
ReadbackVK m_readback;
|
|
735
794
|
|
|
736
795
|
private:
|
|
737
|
-
VkResult createImages(VkCommandBuffer _commandBuffer);
|
|
796
|
+
VkResult createImages(VkCommandBuffer _commandBuffer, uint64_t _external = 0);
|
|
738
797
|
static VkImageAspectFlags getAspectMask(VkFormat _format);
|
|
739
798
|
};
|
|
740
799
|
|
|
@@ -876,11 +935,11 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
876
935
|
|
|
877
936
|
struct CommandQueueVK
|
|
878
937
|
{
|
|
879
|
-
VkResult init(uint32_t _queueFamily, VkQueue _queue
|
|
938
|
+
VkResult init(uint32_t _queueFamily, VkQueue _queue);
|
|
880
939
|
VkResult reset();
|
|
881
940
|
void shutdown();
|
|
882
941
|
|
|
883
|
-
VkResult alloc(VkCommandBuffer*
|
|
942
|
+
VkResult alloc(VkCommandBuffer* _outCommandBuffer);
|
|
884
943
|
void addWaitSemaphore(VkSemaphore _semaphore, VkPipelineStageFlags _waitFlags = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT);
|
|
885
944
|
void addSignalSemaphore(VkSemaphore _semaphore);
|
|
886
945
|
void kick(bool _wait = false);
|
|
@@ -890,11 +949,12 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
890
949
|
void recycleMemory(DeviceMemoryAllocationVK _mem);
|
|
891
950
|
void consume();
|
|
892
951
|
|
|
952
|
+
void addExternal(TextureHandle _handle);
|
|
953
|
+
void removeExternal(TextureHandle _handle);
|
|
954
|
+
|
|
893
955
|
uint32_t m_queueFamily;
|
|
894
956
|
VkQueue m_queue;
|
|
895
957
|
|
|
896
|
-
uint32_t m_numFramesInFlight;
|
|
897
|
-
|
|
898
958
|
uint32_t m_currentFrameInFlight;
|
|
899
959
|
uint32_t m_consumeIndex;
|
|
900
960
|
|
|
@@ -929,7 +989,8 @@ VK_DESTROY_FUNC(DescriptorSet);
|
|
|
929
989
|
typedef stl::vector<Resource> ResourceArray;
|
|
930
990
|
ResourceArray m_release[BGFX_CONFIG_MAX_FRAME_LATENCY];
|
|
931
991
|
stl::vector<DeviceMemoryAllocationVK> m_recycleAllocs[BGFX_CONFIG_MAX_FRAME_LATENCY];
|
|
932
|
-
|
|
992
|
+
typedef stl::vector<TextureHandle> ExternalTextureArray;
|
|
993
|
+
ExternalTextureArray m_external;
|
|
933
994
|
|
|
934
995
|
private:
|
|
935
996
|
template<typename Ty>
|