Skip to content

Commit

Permalink
Regen Bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley committed May 22, 2024
1 parent aa4c2b3 commit 8518d32
Show file tree
Hide file tree
Showing 67 changed files with 539 additions and 144 deletions.
Binary file modified build/cache/assimp.json.gz
Binary file not shown.
Binary file modified build/cache/cl.json.gz
Binary file not shown.
Binary file modified build/cache/core.json.gz
Binary file not shown.
Binary file modified build/cache/d2d.json.gz
Binary file not shown.
Binary file modified build/cache/d3d11.json.gz
Binary file not shown.
Binary file modified build/cache/d3d12.json.gz
Binary file not shown.
Binary file modified build/cache/d3d9.json.gz
Binary file not shown.
Binary file modified build/cache/d3dcompiler.json.gz
Binary file not shown.
Binary file modified build/cache/dcomp.json.gz
Binary file not shown.
Binary file modified build/cache/dstorage.json.gz
Binary file not shown.
Binary file modified build/cache/dwrite.json.gz
Binary file not shown.
Binary file modified build/cache/dxc.json.gz
Binary file not shown.
Binary file modified build/cache/dxgi.json.gz
Binary file not shown.
Binary file modified build/cache/dxva.json.gz
Binary file not shown.
Binary file modified build/cache/gl.json.gz
Binary file not shown.
Binary file modified build/cache/glcore.json.gz
Binary file not shown.
Binary file modified build/cache/gles2.json.gz
Binary file not shown.
Binary file modified build/cache/openxr.json.gz
Binary file not shown.
Binary file modified build/cache/sdl.json.gz
Binary file not shown.
Binary file modified build/cache/shaderc.json.gz
Binary file not shown.
Binary file modified build/cache/spirv-cross.json.gz
Binary file not shown.
Binary file modified build/cache/spirv-reflect.json.gz
Binary file not shown.
Binary file modified build/cache/spirv.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan_video.json.gz
Binary file not shown.
Binary file modified build/cache/wgl.json.gz
Binary file not shown.
Binary file modified build/cache/wic.json.gz
Binary file not shown.
Binary file modified build/cache/win32extras.json.gz
Binary file not shown.
Binary file modified build/cache/xaudio.json.gz
Binary file not shown.
Binary file modified build/cache/xinput.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion build/submodules/MoltenVK
Submodule MoltenVK updated 71 files
+6 −11 .gitignore
+13 −1 Docs/MoltenVK_Configuration_Parameters.md
+3 −0 Docs/MoltenVK_Runtime_UserGuide.md
+33 −0 Docs/Whats_New.md
+1 −1 ExternalRevisions/SPIRV-Cross_repo_revision
+1 −1 ExternalRevisions/Volk_repo_revision
+1 −1 ExternalRevisions/Vulkan-Headers_repo_revision
+1 −1 ExternalRevisions/Vulkan-Tools_repo_revision
+1 −1 ExternalRevisions/glslang_repo_revision
+86 −2 MoltenVK/MoltenVK.xcodeproj/project.pbxproj
+1 −4 MoltenVK/MoltenVK/API/mvk_datatypes.h
+9 −9 MoltenVK/MoltenVK/API/mvk_private_api.h
+50 −42 MoltenVK/MoltenVK/Commands/MVKCmdDraw.mm
+6 −4 MoltenVK/MoltenVK/Commands/MVKCmdPipeline.mm
+17 −15 MoltenVK/MoltenVK/Commands/MVKCmdTransfer.mm
+0 −12 MoltenVK/MoltenVK/Commands/MVKCommandBuffer.h
+15 −18 MoltenVK/MoltenVK/Commands/MVKCommandBuffer.mm
+12 −11 MoltenVK/MoltenVK/Commands/MVKCommandEncoderState.mm
+3 −3 MoltenVK/MoltenVK/Commands/MVKCommandEncodingPool.mm
+11 −11 MoltenVK/MoltenVK/Commands/MVKCommandResourceFactory.mm
+3 −3 MoltenVK/MoltenVK/Commands/MVKMTLBufferAllocation.mm
+22 −16 MoltenVK/MoltenVK/GPUObjects/MVKBuffer.mm
+6 −5 MoltenVK/MoltenVK/GPUObjects/MVKDescriptor.mm
+10 −7 MoltenVK/MoltenVK/GPUObjects/MVKDescriptorSet.mm
+86 −89 MoltenVK/MoltenVK/GPUObjects/MVKDevice.h
+190 −108 MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm
+1 −0 MoltenVK/MoltenVK/GPUObjects/MVKDeviceFeatureStructs.def
+2 −2 MoltenVK/MoltenVK/GPUObjects/MVKDeviceMemory.h
+13 −13 MoltenVK/MoltenVK/GPUObjects/MVKDeviceMemory.mm
+2 −2 MoltenVK/MoltenVK/GPUObjects/MVKFramebuffer.mm
+21 −0 MoltenVK/MoltenVK/GPUObjects/MVKImage.h
+277 −51 MoltenVK/MoltenVK/GPUObjects/MVKImage.mm
+1 −3 MoltenVK/MoltenVK/GPUObjects/MVKInstance.h
+6 −1 MoltenVK/MoltenVK/GPUObjects/MVKInstance.mm
+5 −3 MoltenVK/MoltenVK/GPUObjects/MVKPipeline.h
+83 −49 MoltenVK/MoltenVK/GPUObjects/MVKPipeline.mm
+1 −3 MoltenVK/MoltenVK/GPUObjects/MVKPixelFormats.mm
+5 −4 MoltenVK/MoltenVK/GPUObjects/MVKQueryPool.mm
+3 −1 MoltenVK/MoltenVK/GPUObjects/MVKQueue.h
+29 −17 MoltenVK/MoltenVK/GPUObjects/MVKQueue.mm
+6 −6 MoltenVK/MoltenVK/GPUObjects/MVKRenderPass.mm
+10 −9 MoltenVK/MoltenVK/GPUObjects/MVKResource.h
+5 −5 MoltenVK/MoltenVK/GPUObjects/MVKShaderModule.h
+81 −38 MoltenVK/MoltenVK/GPUObjects/MVKShaderModule.mm
+11 −7 MoltenVK/MoltenVK/GPUObjects/MVKSwapchain.mm
+2 −2 MoltenVK/MoltenVK/GPUObjects/MVKSync.h
+6 −7 MoltenVK/MoltenVK/GPUObjects/MVKSync.mm
+1 −0 MoltenVK/MoltenVK/Layers/MVKExtensions.def
+11 −0 MoltenVK/MoltenVK/Utility/MVKBaseObject.h
+1 −11 MoltenVK/MoltenVK/Utility/MVKBaseObject.mm
+34 −19 MoltenVK/MoltenVK/Utility/MVKConfigMembers.def
+1 −0 MoltenVK/MoltenVK/Utility/MVKEnvironment.cpp
+6 −3 MoltenVK/MoltenVK/Utility/MVKEnvironment.h
+1 −0 MoltenVK/MoltenVK/Utility/MVKFoundation.cpp
+1 −0 MoltenVK/MoltenVK/Utility/MVKFoundation.h
+1 −1 MoltenVK/MoltenVK/Vulkan/mvk_api.mm
+0 −25 MoltenVK/MoltenVK/Vulkan/mvk_datatypes.mm
+59 −0 MoltenVK/MoltenVK/Vulkan/vulkan.mm
+5 −3 MoltenVKPackaging.xcodeproj/project.pbxproj
+0 −67 MoltenVKPackaging.xcodeproj/xcshareddata/xcschemes/MVKShaderConverterTool Package.xcscheme
+0 −81 MoltenVKPackaging.xcodeproj/xcshareddata/xcschemes/MoltenVK Package (Debug).xcscheme
+2 −2 MoltenVKPackaging.xcodeproj/xcshareddata/xcschemes/MoltenVK Package (MacCat only).xcscheme
+2 −2 MoltenVKPackaging.xcodeproj/xcshareddata/xcschemes/MoltenVK Package (iOS only).xcscheme
+2 −2 MoltenVKPackaging.xcodeproj/xcshareddata/xcschemes/MoltenVK Package (macOS only).xcscheme
+2 −2 MoltenVKPackaging.xcodeproj/xcshareddata/xcschemes/MoltenVK Package (tvOS only).xcscheme
+2 −2 MoltenVKPackaging.xcodeproj/xcshareddata/xcschemes/MoltenVK Package (visionOS only).xcscheme
+1 −1 MoltenVKPackaging.xcodeproj/xcshareddata/xcschemes/MoltenVK Package.xcscheme
+0 −153 ...VKShaderConverter/MoltenVKShaderConverter.xcodeproj/xcshareddata/xcschemes/MoltenVKShaderConverter.xcscheme
+9 −0 Scripts/clean_dynamic.sh
+4 −0 Scripts/package_dylibs.sh
+ Templates/spirv-tools/build.zip
2 changes: 1 addition & 1 deletion build/submodules/SDL
Submodule SDL updated 48 files
+1 −0 .github/workflows/main.yml
+3 −17 CMakeLists.txt
+1 −1 Makefile.os2
+1 −1 Makefile.w32
+0 −1 VisualC-GDK/SDL/SDL.vcxproj
+0 −3 VisualC-GDK/SDL/SDL.vcxproj.filters
+3 −3 VisualC-GDK/tests/testgamecontroller/testgamecontroller.vcxproj
+0 −1 VisualC/SDL/SDL.vcxproj
+0 −3 VisualC/SDL/SDL.vcxproj.filters
+2 −2 Xcode/SDL/Info-Framework.plist
+6 −46 Xcode/SDL/SDL.xcodeproj/project.pbxproj
+1 −1 Xcode/SDL/pkg-support/SDL.info
+1 −1 android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
+9 −7 android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java
+13 −77 configure
+2 −34 configure.ac
+2 −0 include/SDL_config.h.cmake
+2 −0 include/SDL_config.h.in
+3 −1 include/SDL_platform.h
+1 −1 include/SDL_stdinc.h
+1 −1 include/SDL_version.h
+21 −0 src/core/gdk/SDL_gdk.cpp
+39 −40 src/core/linux/SDL_udev.c
+10 −10 src/file/SDL_rwops.c
+0 −2 src/filesystem/gdk/SDL_sysfilesystem.cpp
+1 −1 src/joystick/SDL_gamecontroller.c
+2 −2 src/joystick/SDL_gamecontrollerdb.h
+30 −17 src/joystick/SDL_joystick.c
+4 −0 src/joystick/hidapi/SDL_hidapijoystick.c
+77 −31 src/joystick/linux/SDL_sysjoystick.c
+3 −1 src/joystick/psp/SDL_sysjoystick.c
+11 −2 src/joystick/sort_controllers.py
+1 −0 src/joystick/usb_ids.h
+9 −1 src/joystick/windows/SDL_dinputjoystick.c
+1 −0 src/joystick/windows/SDL_windowsjoystick_c.h
+4 −5 src/locale/n3ds/SDL_syslocale.c
+4 −4 src/main/windows/version.rc
+25 −11 src/video/cocoa/SDL_cocoawindow.m
+2 −1 src/video/kmsdrm/SDL_kmsdrmvideo.c
+4 −2 src/video/wayland/SDL_waylandevents.c
+67 −21 src/video/wayland/SDL_waylandmouse.c
+1 −1 src/video/wayland/SDL_waylandopengles.c
+1 −1 src/video/wayland/SDL_waylandwindow.c
+55 −4 src/video/windows/SDL_windowsevents.c
+16 −1 src/video/x11/SDL_x11mouse.c
+8 −0 src/video/x11/SDL_x11video.c
+2 −0 src/video/x11/SDL_x11video.h
+2 −2 test/watcom.mif
2 changes: 1 addition & 1 deletion build/submodules/SPIRV-Cross
Submodule SPIRV-Cross updated 53 files
+4 −1 reference/opt/shaders-msl/asm/comp/image-load-store-short-vector.invalid.asm.comp
+2 −2 reference/opt/shaders-msl/asm/comp/uint_smulextended.asm.comp
+25 −0 reference/opt/shaders-msl/asm/comp/ulong_smulextended.asm.msl23.comp
+3 −3 ...rs-msl/comp/argument-buffers-runtime-array-buffer.argument.device-argument-buffer.argument-tier-1.msl2.comp
+3 −3 ...ment-buffers-runtime-array-buffer.rich-descriptor.argument.device-argument-buffer.argument-tier-1.msl2.comp
+3 −3 ...t/shaders-msl/comp/argument-buffers-runtime-array.argument.device-argument-buffer.argument-tier-1.msl2.comp
+37 −37 reference/opt/shaders-msl/comp/composite-array-initialization.force-native-array.comp
+162 −0 ...indings.msl31.argument.argument-tier-1.decoration-binding.device-argument-buffer.texture-buffer-native.comp
+23 −16 ...l/comp/raw-buffer-descriptor-aliasing.argument.discrete.device-argument-buffer.msl2.decoration-binding.comp
+10 −10 reference/opt/shaders-msl/comp/raw-buffer-descriptor-aliasing.argument.discrete.msl2.descriptor-binding.comp
+6 −1 reference/opt/shaders-msl/desktop-only/frag/image-ms.desktop.frag
+37 −0 reference/opt/shaders-msl/frag/block-io-inherited-interpolation-qualifiers.frag
+64 −0 reference/opt/shaders-msl/frag/fp16-trancendentals.frag
+3 −3 reference/opt/shaders-msl/frag/runtime_array_as_argument_buffer.msl3.argument-tier-1.rich-descriptor.frag
+15 −0 reference/opt/shaders/asm/comp/private-storage-lut.asm.comp
+39 −39 reference/shaders-msl-no-opt/asm/comp/device-array-load-temporary.asm.comp
+39 −39 reference/shaders-msl-no-opt/asm/comp/device-array-load-temporary.force-native-array.asm.comp
+44 −44 reference/shaders-msl-no-opt/asm/comp/device-constant-array-load-store.asm.comp
+44 −44 reference/shaders-msl-no-opt/asm/comp/device-constant-array-load-store.force-native-array.asm.comp
+25 −0 reference/shaders-msl-no-opt/asm/comp/image-atomic-mismatch-sign.asm.msl31.comp
+37 −37 reference/shaders-msl-no-opt/asm/frag/copy-memory-block-like-thread-local.asm.frag
+4 −4 reference/shaders-msl-no-opt/frag/fp16.desktop.invalid.frag
+38 −38 reference/shaders-msl-no-opt/vert/pass-array-by-value.force-native-array.vert
+4 −1 reference/shaders-msl/asm/comp/image-load-store-short-vector.invalid.asm.comp
+2 −2 reference/shaders-msl/asm/comp/uint_smulextended.asm.comp
+25 −0 reference/shaders-msl/asm/comp/ulong_smulextended.asm.msl23.comp
+3 −3 ...rs-msl/comp/argument-buffers-runtime-array-buffer.argument.device-argument-buffer.argument-tier-1.msl2.comp
+3 −3 ...ment-buffers-runtime-array-buffer.rich-descriptor.argument.device-argument-buffer.argument-tier-1.msl2.comp
+3 −3 ...e/shaders-msl/comp/argument-buffers-runtime-array.argument.device-argument-buffer.argument-tier-1.msl2.comp
+37 −37 reference/shaders-msl/comp/composite-array-initialization.force-native-array.comp
+87 −195 reference/shaders-msl/comp/copy-array-of-arrays.force-native-array.comp
+196 −0 ...indings.msl31.argument.argument-tier-1.decoration-binding.device-argument-buffer.texture-buffer-native.comp
+21 −14 ...l/comp/raw-buffer-descriptor-aliasing.argument.discrete.device-argument-buffer.msl2.decoration-binding.comp
+10 −10 reference/shaders-msl/comp/raw-buffer-descriptor-aliasing.argument.discrete.msl2.descriptor-binding.comp
+6 −1 reference/shaders-msl/desktop-only/frag/image-ms.desktop.frag
+37 −0 reference/shaders-msl/frag/block-io-inherited-interpolation-qualifiers.frag
+64 −0 reference/shaders-msl/frag/fp16-trancendentals.frag
+3 −3 reference/shaders-msl/frag/runtime_array_as_argument_buffer.msl3.argument-tier-1.rich-descriptor.frag
+38 −38 reference/shaders-msl/vert/return-array.force-native-array.vert
+22 −0 reference/shaders/asm/comp/private-storage-lut.asm.comp
+71 −0 shaders-msl-no-opt/asm/comp/image-atomic-mismatch-sign.asm.msl31.comp
+63 −0 shaders-msl/asm/comp/ulong_smulextended.asm.msl23.comp
+89 −0 ...indings.msl31.argument.argument-tier-1.decoration-binding.device-argument-buffer.texture-buffer-native.comp
+10 −10 ...l/comp/raw-buffer-descriptor-aliasing.argument.discrete.device-argument-buffer.msl2.decoration-binding.comp
+0 −0 shaders-msl/comp/raw-buffer-descriptor-aliasing.argument.discrete.msl2.descriptor-binding.comp
+15 −0 shaders-msl/frag/block-io-inherited-interpolation-qualifiers.frag
+33 −0 shaders-msl/frag/fp16-trancendentals.frag
+92 −0 shaders/asm/comp/private-storage-lut.asm.comp
+5 −0 spirv_common.hpp
+32 −2 spirv_cross.cpp
+12 −2 spirv_glsl.cpp
+364 −219 spirv_msl.cpp
+11 −16 spirv_msl.hpp
2 changes: 1 addition & 1 deletion build/submodules/SPIRV-Headers
2 changes: 1 addition & 1 deletion build/submodules/SPIRV-Tools
Submodule SPIRV-Tools updated 57 files
+3 −0 .bazelrc
+1 −1 .bazelversion
+1 −1 .github/workflows/autoroll.yml
+2 −2 .github/workflows/bazel.yml
+2 −2 .github/workflows/ios.yml
+1 −1 .github/workflows/release.yml
+3 −3 .github/workflows/scorecard.yml
+1 −1 .github/workflows/wasm.yml
+1 −0 .gitignore
+1 −0 Android.mk
+31 −28 BUILD.bazel
+4 −0 BUILD.gn
+15 −0 CHANGES
+9 −4 CMakeLists.txt
+3 −3 DEPS
+7 −0 MODULE.bazel
+16 −12 README.md
+1 −34 WORKSPACE
+17 −12 docs/downloads.md
+5 −0 include/spirv-tools/libspirv.h
+8 −7 include/spirv-tools/libspirv.hpp
+10 −9 include/spirv-tools/linker.hpp
+2 −2 include/spirv-tools/linter.hpp
+3 −3 include/spirv-tools/optimizer.hpp
+5 −5 kokoro/macos-clang-release-bazel/build.sh
+1 −1 kokoro/scripts/linux/build-docker.sh
+1 −0 source/CMakeLists.txt
+9 −1 source/ext_inst.cpp
+5 −0 source/fuzz/transformation_add_no_contraction_decoration.cpp
+6 −0 source/fuzz/transformation_add_relaxed_decoration.cpp
+3 −0 source/opcode.cpp
+2 −2 source/opt/constants.cpp
+13 −0 source/opt/inline_pass.cpp
+3 −0 source/opt/ir_context.cpp
+1 −1 source/opt/ir_context.h
+2 −1 source/opt/trim_capabilities_pass.h
+40 −24 source/opt/type_manager.cpp
+3 −1 source/opt/type_manager.h
+1 −1 source/table.h
+3 −0 source/val/validate.cpp
+7 −0 source/val/validate.h
+2 −1 source/val/validate_annotation.cpp
+8 −13 source/val/validate_decorations.cpp
+63 −12 source/val/validate_image.cpp
+1 −14 source/val/validate_interfaces.cpp
+123 −0 source/val/validate_memory.cpp
+66 −0 source/val/validate_mode_setting.cpp
+2 −0 source/val/validation_state.cpp
+2 −6 test/fuzz/transformation_add_no_contraction_decoration_test.cpp
+2 −4 test/fuzz/transformation_add_relaxed_decoration_test.cpp
+49 −0 test/opt/inline_test.cpp
+36 −2 test/opt/type_manager_test.cpp
+1 −0 test/val/CMakeLists.txt
+510 −0 test/val/val_extension_spv_nv_raw_access_chains.cpp
+21 −10 test/val/val_image_test.cpp
+14 −11 test/val/val_interfaces_test.cpp
+156 −0 test/val/val_modes_test.cpp
2 changes: 1 addition & 1 deletion build/submodules/SwiftShader
Submodule SwiftShader updated 284 files
2 changes: 1 addition & 1 deletion build/submodules/Vulkan-Loader
Submodule Vulkan-Loader updated 46 files
+8 −8 .github/workflows/build.yml
+3 −3 .github/workflows/codeql.yml
+1 −1 CMakeLists.txt
+120 −83 loader/debug_utils.c
+14 −11 loader/extension_manual.c
+17 −17 loader/generated/vk_loader_extensions.c
+9 −0 loader/generated/vk_loader_extensions.h
+301 −75 loader/loader.c
+9 −3 loader/loader.h
+2 −2 loader/loader.rc
+46 −5 loader/loader_common.h
+0 −2 loader/loader_linux.c
+9 −10 loader/loader_windows.c
+18 −6 loader/trampoline.c
+382 −482 loader/wsi.c
+1 −1 loader/wsi.h
+1 −1 scripts/known_good.json
+20 −15 scripts/loader_extension_generator.py
+3 −13 tests/framework/CMakeLists.txt
+0 −1 tests/framework/README.md
+1 −1 tests/framework/framework_config.h.in
+4 −4 tests/framework/icd/CMakeLists.txt
+3 −0 tests/framework/icd/export_definitions/test_icd_7.def
+0 −6 tests/framework/icd/export_definitions/test_icd_7_with_exports.def
+3 −0 tests/framework/icd/export_definitions/test_icd_7_without_exports.def
+104 −44 tests/framework/icd/test_icd.cpp
+6 −2 tests/framework/icd/test_icd.h
+33 −0 tests/framework/layer/test_layer.cpp
+5 −1 tests/framework/layer/test_layer.h
+29 −28 tests/framework/shim/shim.h
+52 −50 tests/framework/shim/shim_common.cpp
+5 −5 tests/framework/shim/unix_shim.cpp
+6 −5 tests/framework/shim/windows_shim.cpp
+80 −54 tests/framework/test_environment.cpp
+94 −33 tests/framework/test_environment.h
+56 −169 tests/framework/test_util.cpp
+41 −104 tests/framework/test_util.h
+3 −0 tests/live_verification/CMakeLists.txt
+74 −0 tests/live_verification/time_dynamic_loading.cpp
+8 −6 tests/loader_alloc_callback_tests.cpp
+16 −16 tests/loader_envvar_tests.cpp
+130 −63 tests/loader_layer_tests.cpp
+479 −19 tests/loader_regression_tests.cpp
+77 −84 tests/loader_settings_tests.cpp
+10 −10 tests/loader_testing_main.cpp
+6 −4 tests/loader_version_tests.cpp
2 changes: 1 addition & 1 deletion build/submodules/dawn
Submodule dawn updated 8950 files
2 changes: 1 addition & 1 deletion build/submodules/shaderc
Submodule shaderc updated 3 files
+4 −0 CHANGES
+4 −4 DEPS
+5 −0 third_party/CMakeLists.txt
2 changes: 1 addition & 1 deletion build/submodules/vkd3d
Submodule vkd3d updated 130 files
2 changes: 1 addition & 1 deletion build/submodules/webgpu-headers
Submodule webgpu-headers updated 2 files
+2 −2 webgpu.h
+3 −1 webgpu.yml
2 changes: 1 addition & 1 deletion build/submodules/wgpu-native
Submodule wgpu-native updated 48 files
+129 −285 .github/workflows/cd.yml
+122 −209 .github/workflows/ci.yml
+1 −1 .gitignore
+0 −3 .gitmodules
+366 −550 Cargo.lock
+35 −117 Cargo.toml
+52 −85 Makefile
+3 −10 README.md
+53 −42 build.rs
+0 −238 checks.py
+0 −40 examples/CMakeLists.txt
+0 −3 examples/capture/.gitattributes
+0 −1 examples/capture/.gitignore
+27 −20 examples/capture/CMakeLists.txt
+136 −194 examples/capture/main.c
+0 −1,724 examples/capture/stb_image_write.h
+28 −18 examples/compute/CMakeLists.txt
+135 −161 examples/compute/main.c
+11 −13 examples/compute/shader.wgsl
+0 −24 examples/enumerate_adapters/CMakeLists.txt
+0 −47 examples/enumerate_adapters/main.c
+60 −0 examples/framework.c
+11 −0 examples/framework.h
+0 −23 examples/framework/CMakeLists.txt
+0 −166 examples/framework/framework.c
+0 −26 examples/framework/framework.h
+11 −0 examples/helper.h
+5 −0 examples/helper/Cargo.lock
+13 −0 examples/helper/Cargo.toml
+71 −0 examples/helper/src/lib.rs
+0 −27 examples/texture_arrays/CMakeLists.txt
+0 −61 examples/texture_arrays/indexing.wgsl
+0 −790 examples/texture_arrays/main.c
+0 −33 examples/texture_arrays/non_uniform_indexing.wgsl
+36 −25 examples/triangle/CMakeLists.txt
+229 −336 examples/triangle/main.c
+5 −5 examples/triangle/shader.wgsl
+0 −1 examples/vendor/glfw
+1 −1 ffi/webgpu-headers
+24 −226 ffi/wgpu.h
+2 −2 meson.build
+389 −0 src/command.rs
+152 −1,250 src/conv.rs
+691 −0 src/device.rs
+229 −4,232 src/lib.rs
+34 −45 src/logging.rs
+0 −200 src/unimplemented.rs
+0 −347 src/utils.rs

This file was deleted.

3 changes: 0 additions & 3 deletions src/Core/Silk.NET.Core.Win32Extras/Windows.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4682,9 +4682,6 @@ public unsafe partial class Windows : NativeAPI
[NativeName("Name", "IO_REPARSE_TAG_RESERVED_RANGE")]
public const int IOReparseTagReservedRange = unchecked((int) 0x2);
[NativeName("Type", "unsigned long")]
[NativeName("Name", "IO_REPARSE_TAG_RESERVED_INVALID")]
public const uint IOReparseTagReservedInvalid = unchecked((uint) 0xFFFFFFFFC0008000);
[NativeName("Type", "unsigned long")]
[NativeName("Name", "IO_REPARSE_TAG_MOUNT_POINT")]
public const uint IOReparseTagMountPoint = unchecked((uint) 0xFFFFFFFFA0000003);
[NativeName("Type", "unsigned long")]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.


using System;
using Silk.NET.Core.Attributes;

#pragma warning disable 1591

namespace Silk.NET.OpenCL.Extensions.KHR
{
[System.Flags]
[NativeName("Name", "cl_device_kernel_clock_capabilities_khr")]
public enum DeviceKernelClockCapabilities : ulong
{
[NativeName("Name", "")]
None = 0,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_SCOPE_DEVICE_KHR")]
Device = 0x1,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_SCOPE_WORK_GROUP_KHR")]
WorkGroup = 0x2,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_SCOPE_SUB_GROUP_KHR")]
SubGroup = 0x4,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ public enum ExternalMemoryHandleType : int
{
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_DMA_BUF_KHR")]
DmaBuf = 0x2067,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D11_TEXTURE_KHR")]
D3D11Texture = 0x2063,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D11_TEXTURE_KMT_KHR")]
D3D11TextureKmt = 0x2064,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D12_HEAP_KHR")]
D3D12Heap = 0x2065,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D12_RESOURCE_KHR")]
D3D12Resource = 0x2066,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHR")]
OpaqueFD = 0x2060,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KHR")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ namespace Silk.NET.OpenCL.Extensions.KHR
[NativeName("Name", "cl_external_semaphore_handle_type_khr")]
public enum ExternalSemaphoreHandleType : int
{
[NativeName("Name", "CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR")]
D3D12Fence = 0x2059,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_OPAQUE_FD_KHR")]
OpaqueFD = 0x2055,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_SYNC_FD_KHR")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ public enum KHR : int
Packed = 0x1,
[NativeName("Name", "CL_DEVICE_INTEGER_DOT_PRODUCT_INPUT_4x8BIT_PACKED_KHR")]
DeviceIntegerDotProductInput4x8BitPackedKhr = 0x1,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_SCOPE_DEVICE_KHR")]
DeviceKernelClockScopeDeviceKhr = 0x1,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_SCOPE_WORK_GROUP_KHR")]
WorkGroup = 0x2,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_SCOPE_WORK_GROUP_KHR")]
DeviceKernelClockScopeWorkGroupKhr = 0x2,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_SCOPE_SUB_GROUP_KHR")]
SubGroup = 0x4,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_SCOPE_SUB_GROUP_KHR")]
DeviceKernelClockScopeSubGroupKhr = 0x4,
[NativeName("Name", "CL_DEVICE_TERMINATE_CAPABILITY_CONTEXT_KHR")]
DeviceTerminateCapabilityContextKhr = 0x1,
[NativeName("Name", "CL_EGL_YUV_PLANE_INTEL")]
Expand All @@ -149,22 +159,6 @@ public enum KHR : int
DmaBuf = 0x2067,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_DMA_BUF_KHR")]
ExternalMemoryHandleDmaBufKhr = 0x2067,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D11_TEXTURE_KHR")]
D3D11Texture = 0x2063,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D11_TEXTURE_KHR")]
ExternalMemoryHandleD3D11TextureKhr = 0x2063,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D11_TEXTURE_KMT_KHR")]
D3D11TextureKmt = 0x2064,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D11_TEXTURE_KMT_KHR")]
ExternalMemoryHandleD3D11TextureKmtKhr = 0x2064,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D12_HEAP_KHR")]
D3D12Heap = 0x2065,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D12_HEAP_KHR")]
ExternalMemoryHandleD3D12HeapKhr = 0x2065,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D12_RESOURCE_KHR")]
D3D12Resource = 0x2066,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_D3D12_RESOURCE_KHR")]
ExternalMemoryHandleD3D12ResourceKhr = 0x2066,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHR")]
OpaqueFD = 0x2060,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHR")]
Expand All @@ -177,10 +171,6 @@ public enum KHR : int
OpaqueWin32Kmt = 0x2062,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KMT_KHR")]
ExternalMemoryHandleOpaqueWin32KmtKhr = 0x2062,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR")]
D3D12Fence = 0x2059,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR")]
SemaphoreHandleD3D12FenceKhr = 0x2059,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_OPAQUE_FD_KHR")]
SemaphoreHandleOpaqueFDKhr = 0x2055,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_SYNC_FD_KHR")]
Expand Down Expand Up @@ -571,6 +561,10 @@ public enum KHR : int
CommandBufferSyncDevicesKhr = 0x12AC,
[NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SYNC_DEVICES_KHR")]
DeviceCommandBufferSyncDevicesKhr = 0x12AC,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")]
KernelClockCapabilitiesKhr = 0x1076,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")]
DeviceKernelClockCapabilitiesKhr = 0x1076,
[NativeName("Name", "CL_INVALID_D3D10_DEVICE_KHR")]
InvalidD3D10DeviceKhr = unchecked((int) 0xFFFFFFFFFFFFFC16),
[NativeName("Name", "CL_INVALID_D3D10_RESOURCE_KHR")]
Expand Down
4 changes: 4 additions & 0 deletions src/OpenCL/Silk.NET.OpenCL/Enums/CLEnum.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1478,6 +1478,10 @@ public enum CLEnum : int
CommandBufferSyncDevicesKhr = 0x12AC,
[NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SYNC_DEVICES_KHR")]
DeviceCommandBufferSyncDevicesKhr = 0x12AC,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")]
KernelClockCapabilitiesKhr = 0x1076,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")]
DeviceKernelClockCapabilitiesKhr = 0x1076,
[NativeName("Name", "CL_LOCAL")]
Local = 0x1,
[NativeName("Name", "CL_GLOBAL")]
Expand Down
2 changes: 2 additions & 0 deletions src/OpenCL/Silk.NET.OpenCL/Enums/DeviceInfo.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -434,5 +434,7 @@ public enum DeviceInfo : int
CommandBufferNumSyncDevicesKhr = 0x12AB,
[NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SYNC_DEVICES_KHR")]
CommandBufferSyncDevicesKhr = 0x12AC,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")]
KernelClockCapabilitiesKhr = 0x1076,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,9 @@ public enum GetTextureParameter : int
TextureUnnormalizedCoordinatesArm = 0x8F6A,
[NativeName("Name", "GL_SURFACE_COMPRESSION_EXT")]
SurfaceCompressionExt = 0x96C0,
[NativeName("Name", "GL_TEXTURE_Y_DEGAMMA_QCOM")]
TextureYDegammaQCom = 0x9710,
[NativeName("Name", "GL_TEXTURE_CBCR_DEGAMMA_QCOM")]
TextureCbcrDegammaQCom = 0x9711,
}
}
26 changes: 26 additions & 0 deletions src/OpenGL/Silk.NET.OpenGL.Legacy/Enums/TextureParameter.gen.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.


using System;
using Silk.NET.Core.Attributes;

#pragma warning disable 1591

namespace Silk.NET.OpenGL.Legacy
{
[NativeName("Name", "TextureParameter")]
public enum TextureParameter : int
{
[Obsolete("Deprecated in favour of \"YDegammaQCom\"")]
[NativeName("Name", "GL_TEXTURE_Y_DEGAMMA_QCOM")]
TextureYDegammaQCom = 0x9710,
[Obsolete("Deprecated in favour of \"CbcrDegammaQCom\"")]
[NativeName("Name", "GL_TEXTURE_CBCR_DEGAMMA_QCOM")]
TextureCbcrDegammaQCom = 0x9711,
[NativeName("Name", "GL_TEXTURE_Y_DEGAMMA_QCOM")]
YDegammaQCom = 0x9710,
[NativeName("Name", "GL_TEXTURE_CBCR_DEGAMMA_QCOM")]
CbcrDegammaQCom = 0x9711,
}
}
4 changes: 4 additions & 0 deletions src/OpenGL/Silk.NET.OpenGL/Enums/GetTextureParameter.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,9 @@ public enum GetTextureParameter : int
TextureUnnormalizedCoordinatesArm = 0x8F6A,
[NativeName("Name", "GL_SURFACE_COMPRESSION_EXT")]
SurfaceCompressionExt = 0x96C0,
[NativeName("Name", "GL_TEXTURE_Y_DEGAMMA_QCOM")]
TextureYDegammaQCom = 0x9710,
[NativeName("Name", "GL_TEXTURE_CBCR_DEGAMMA_QCOM")]
TextureCbcrDegammaQCom = 0x9711,
}
}
26 changes: 26 additions & 0 deletions src/OpenGL/Silk.NET.OpenGL/Enums/TextureParameter.gen.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.


using System;
using Silk.NET.Core.Attributes;

#pragma warning disable 1591

namespace Silk.NET.OpenGL
{
[NativeName("Name", "TextureParameter")]
public enum TextureParameter : int
{
[Obsolete("Deprecated in favour of \"YDegammaQCom\"")]
[NativeName("Name", "GL_TEXTURE_Y_DEGAMMA_QCOM")]
TextureYDegammaQCom = 0x9710,
[Obsolete("Deprecated in favour of \"CbcrDegammaQCom\"")]
[NativeName("Name", "GL_TEXTURE_CBCR_DEGAMMA_QCOM")]
TextureCbcrDegammaQCom = 0x9711,
[NativeName("Name", "GL_TEXTURE_Y_DEGAMMA_QCOM")]
YDegammaQCom = 0x9710,
[NativeName("Name", "GL_TEXTURE_CBCR_DEGAMMA_QCOM")]
CbcrDegammaQCom = 0x9711,
}
}
4 changes: 4 additions & 0 deletions src/OpenGL/Silk.NET.OpenGLES/Enums/GetTextureParameter.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,9 @@ public enum GetTextureParameter : int
TextureUnnormalizedCoordinatesArm = 0x8F6A,
[NativeName("Name", "GL_SURFACE_COMPRESSION_EXT")]
SurfaceCompressionExt = 0x96C0,
[NativeName("Name", "GL_TEXTURE_Y_DEGAMMA_QCOM")]
TextureYDegammaQCom = 0x9710,
[NativeName("Name", "GL_TEXTURE_CBCR_DEGAMMA_QCOM")]
TextureCbcrDegammaQCom = 0x9711,
}
}
26 changes: 26 additions & 0 deletions src/OpenGL/Silk.NET.OpenGLES/Enums/TextureParameter.gen.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.


using System;
using Silk.NET.Core.Attributes;

#pragma warning disable 1591

namespace Silk.NET.OpenGLES
{
[NativeName("Name", "TextureParameter")]
public enum TextureParameter : int
{
[Obsolete("Deprecated in favour of \"YDegammaQCom\"")]
[NativeName("Name", "GL_TEXTURE_Y_DEGAMMA_QCOM")]
TextureYDegammaQCom = 0x9710,
[Obsolete("Deprecated in favour of \"CbcrDegammaQCom\"")]
[NativeName("Name", "GL_TEXTURE_CBCR_DEGAMMA_QCOM")]
TextureCbcrDegammaQCom = 0x9711,
[NativeName("Name", "GL_TEXTURE_Y_DEGAMMA_QCOM")]
YDegammaQCom = 0x9710,
[NativeName("Name", "GL_TEXTURE_CBCR_DEGAMMA_QCOM")]
CbcrDegammaQCom = 0x9711,
}
}
2 changes: 2 additions & 0 deletions src/Vulkan/Silk.NET.Vulkan/Enums/Format.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ public enum Format : int
A4R4G4B4UnormPack16Ext = 1000340000,
[NativeName("Name", "VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT")]
A4B4G4R4UnormPack16Ext = 1000340001,
[NativeName("Name", "VK_FORMAT_R16G16_SFIXED5_NV")]
R16G16Sfixed5NV = 1000464000,
[NativeName("Name", "VK_FORMAT_R16G16_S10_5_NV")]
R16G16S105NV = 1000464000,
[NativeName("Name", "VK_FORMAT_A1B5G5R5_UNORM_PACK16_KHR")]
Expand Down
Loading

0 comments on commit 8518d32

Please sign in to comment.