Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regen Bindings #2184

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft
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/webgpu.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.
6 changes: 3 additions & 3 deletions build/nuke/Native/SPIRVCross.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ pub fn build(b: *std.Build) void {
{ //Windows
//Build for Windows x86_64
InheritedShell($"zig build {releaseMode} -Dtarget=x86_64-windows --verbose", SPIRVCrossPath).AssertZeroExitCode();
CopyFile(SPIRVCrossPath / "zig-out" / "lib" / "spirv-cross.dll", runtimes / "win-x64" / "native" / "spirv-cross.dll", FileExistsPolicy.Overwrite);
CopyFile(SPIRVCrossPath / "zig-out" / "bin" / "spirv-cross.dll", runtimes / "win-x64" / "native" / "spirv-cross.dll", FileExistsPolicy.Overwrite);

//Build for Windows x86
InheritedShell($"zig build {releaseMode} -Dtarget=x86-windows --verbose", SPIRVCrossPath).AssertZeroExitCode();
CopyFile(SPIRVCrossPath / "zig-out" / "lib" / "spirv-cross.dll", runtimes / "win-x86" / "native" / "spirv-cross.dll", FileExistsPolicy.Overwrite);
CopyFile(SPIRVCrossPath / "zig-out" / "bin" / "spirv-cross.dll", runtimes / "win-x86" / "native" / "spirv-cross.dll", FileExistsPolicy.Overwrite);

//Build for Windows arm64
InheritedShell($"zig build {releaseMode} -Dtarget=aarch64-windows --verbose", SPIRVCrossPath).AssertZeroExitCode();
CopyFile(SPIRVCrossPath / "zig-out" / "lib" / "spirv-cross.dll", runtimes / "win-arm64" / "native" / "spirv-cross.dll", FileExistsPolicy.Overwrite);
CopyFile(SPIRVCrossPath / "zig-out" / "bin" / "spirv-cross.dll", runtimes / "win-arm64" / "native" / "spirv-cross.dll", FileExistsPolicy.Overwrite);
}

{ //MacOS
Expand Down
6 changes: 3 additions & 3 deletions build/nuke/Native/SPIRVReflect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ pub fn build(b: *std.Build) void {
{ //Windows
//Build for Windows x86_64
InheritedShell($"zig build {buildMode} -Dtarget=x86_64-windows --verbose", SPIRVReflectPath).AssertZeroExitCode();
CopyFile(SPIRVReflectPath / "zig-out" / "lib" / "spirv-reflect.dll", runtimes / "win-x64" / "native" / "spirv-reflect.dll", FileExistsPolicy.Overwrite);
CopyFile(SPIRVReflectPath / "zig-out" / "bin" / "spirv-reflect.dll", runtimes / "win-x64" / "native" / "spirv-reflect.dll", FileExistsPolicy.Overwrite);

//Build for Windows x86
InheritedShell($"zig build {buildMode} -Dtarget=x86-windows --verbose", SPIRVReflectPath).AssertZeroExitCode();
CopyFile(SPIRVReflectPath / "zig-out" / "lib" / "spirv-reflect.dll", runtimes / "win-x86" / "native" / "spirv-reflect.dll", FileExistsPolicy.Overwrite);
CopyFile(SPIRVReflectPath / "zig-out" / "bin" / "spirv-reflect.dll", runtimes / "win-x86" / "native" / "spirv-reflect.dll", FileExistsPolicy.Overwrite);

//Build for Windows arm64
InheritedShell($"zig build {buildMode} -Dtarget=aarch64-windows --verbose", SPIRVReflectPath).AssertZeroExitCode();
CopyFile(SPIRVReflectPath / "zig-out" / "lib" / "spirv-reflect.dll", runtimes / "win-arm64" / "native" / "spirv-reflect.dll", FileExistsPolicy.Overwrite);
CopyFile(SPIRVReflectPath / "zig-out" / "bin" / "spirv-reflect.dll", runtimes / "win-arm64" / "native" / "spirv-reflect.dll", FileExistsPolicy.Overwrite);
}

{ //MacOS
Expand Down
39 changes: 20 additions & 19 deletions build/nuke/Native/Shaderc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,18 @@ fn spvTools(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.built
spirv_tools.step.dependOn(&spvtoolsVendorTables(b, ""opencl.debuginfo.100"", ""CLDEBUG100_"").step);
spirv_tools.step.dependOn(&spvtoolsVendorTables(b, ""nonsemantic.shader.debuginfo.100"", ""SHDEBUG100_"").step);
spirv_tools.step.dependOn(&spvtoolsVendorTables(b, ""nonsemantic.clspvreflection"", """").step);
spirv_tools.step.dependOn(&spvtoolsVendorTables(b, ""nonsemantic.vkspreflection"", """").step);

//them headers
spirv_tools.step.dependOn(&debug_info_header.step);
spirv_tools.step.dependOn(&cl_debug_info_header_100.step);
spirv_tools.step.dependOn(&non_semantic_shader_debug_info_100.step);

spirv_tools.addIncludePath(.{ .path = spirv_tools_root ++ ""include"" });
spirv_tools.addIncludePath(.{ .path = spirv_tools_root ++ ""source"" });
spirv_tools.addIncludePath(.{ .path = spirv_tools_root });
spirv_tools.addIncludePath(b.path(spirv_tools_root ++ ""include""));
spirv_tools.addIncludePath(b.path(spirv_tools_root ++ ""source""));
spirv_tools.addIncludePath(b.path(spirv_tools_root));

spirv_tools.addIncludePath(.{ .path = ""third_party/spirv-headers/include/"" });
spirv_tools.addIncludePath(b.path(""third_party/spirv-headers/include/""));

spirv_tools.addCSourceFiles(.{
.files = &.{
Expand Down Expand Up @@ -406,8 +407,8 @@ fn glslangLib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.bui
glslang.linkLibC();
glslang.linkLibCpp();

glslang.addIncludePath(.{ .path = root_glslang_path ++ ""Include"" });
glslang.addIncludePath(.{ .path = root_glslang_path });
glslang.addIncludePath(b.path(root_glslang_path ++ ""Include""));
glslang.addIncludePath(b.path(root_glslang_path));

glslang.defineCMacro(""ENABLE_HLSL"", ""1"");

Expand Down Expand Up @@ -505,12 +506,12 @@ pub fn build(b: *std.Build) void {
});
shaderc_util.linkLibC();
shaderc_util.linkLibCpp();
shaderc_util.addIncludePath(.{ .path = ""libshaderc/include"" });
shaderc_util.addIncludePath(.{ .path = ""libshaderc_util/include"" });
shaderc_util.addIncludePath(b.path(""libshaderc/include""));
shaderc_util.addIncludePath(b.path(""libshaderc_util/include""));

shaderc_util.addIncludePath(.{ .path = ""third_party/glslang"" });
shaderc_util.addIncludePath(.{ .path = ""third_party/spirv-tools/include"" });
shaderc_util.addIncludePath(.{ .path = ""third_party/spirv-headers/include/"" });
shaderc_util.addIncludePath(b.path(""third_party/glslang""));
shaderc_util.addIncludePath(b.path(""third_party/spirv-tools/include""));
shaderc_util.addIncludePath(b.path(""third_party/spirv-headers/include/""));

shaderc_util.defineCMacro(""ENABLE_HLSL"", ""1"");

Expand Down Expand Up @@ -547,12 +548,12 @@ pub fn build(b: *std.Build) void {
shaderc.root_module.strip = true;
}

shaderc.addIncludePath(.{ .path = ""libshaderc/include"" });
shaderc.addIncludePath(.{ .path = ""libshaderc_util/include"" });
shaderc.addIncludePath(b.path(""libshaderc/include""));
shaderc.addIncludePath(b.path(""libshaderc_util/include""));

shaderc.addIncludePath(.{ .path = ""third_party/glslang"" });
shaderc.addIncludePath(.{ .path = ""third_party/spirv-tools/include"" });
shaderc.addIncludePath(.{ .path = ""third_party/spirv-headers/include/"" });
shaderc.addIncludePath(b.path(""third_party/glslang""));
shaderc.addIncludePath(b.path(""third_party/spirv-tools/include""));
shaderc.addIncludePath(b.path(""third_party/spirv-headers/include/""));

shaderc.addCSourceFiles(.{
.files = &.{
Expand Down Expand Up @@ -600,15 +601,15 @@ pub fn build(b: *std.Build) void {

//Build shaderc for Windows x86
InheritedShell($"zig build -Dtarget=x86-windows-gnu {optimizeMode}", ShadercPath).AssertZeroExitCode();
CopyFile(ShadercPath / "zig-out" / "lib" / $"{libname}.dll", runtimes / "win-x86" / "native" / $"{libname}.dll", FileExistsPolicy.Overwrite);
CopyFile(ShadercPath / "zig-out" / "bin" / $"{libname}.dll", runtimes / "win-x86" / "native" / $"{libname}.dll", FileExistsPolicy.Overwrite);

//Build shaderc for Windows x86_64
InheritedShell($"zig build -Dtarget=x86_64-windows-gnu {optimizeMode}", ShadercPath).AssertZeroExitCode();
CopyFile(ShadercPath / "zig-out" / "lib" / $"{libname}.dll", runtimes / "win-x64" / "native" / $"{libname}.dll", FileExistsPolicy.Overwrite);
CopyFile(ShadercPath / "zig-out" / "bin" / $"{libname}.dll", runtimes / "win-x64" / "native" / $"{libname}.dll", FileExistsPolicy.Overwrite);

//Build shaderc for Windows ARM64
InheritedShell($"zig build -Dtarget=aarch64-windows-gnu {optimizeMode}", ShadercPath).AssertZeroExitCode();
CopyFile(ShadercPath / "zig-out" / "lib" / $"{libname}.dll", runtimes / "win-arm64" / "native" / $"{libname}.dll", FileExistsPolicy.Overwrite);
CopyFile(ShadercPath / "zig-out" / "bin" / $"{libname}.dll", runtimes / "win-arm64" / "native" / $"{libname}.dll", FileExistsPolicy.Overwrite);

//Build shaderc for MacOS x86_64
InheritedShell($"zig build -Dtarget=x86_64-macos {optimizeMode}", ShadercPath).AssertZeroExitCode();
Expand Down
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
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
10 changes: 5 additions & 5 deletions src/Microsoft/Vkd3dCompiler/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ pub fn build(b: *std.Build) void {
if (optimize != .Debug)
vkd3d_compiler.root_module.strip = true;

vkd3d_compiler.addLibraryPath(.{ .path = "." });
vkd3d_compiler.addLibraryPath(b.path("."));

vkd3d_compiler.linkLibC();

//Since we include vkd3d-shader sources, we need to dynamically link against SPIRV-Tools ourselves
vkd3d_compiler.linkSystemLibrary("SPIRV-Tools-shared");

vkd3d_compiler.addIncludePath(.{ .path = vulkan_header_folder ++ "include/" });
vkd3d_compiler.addIncludePath(b.path(vulkan_header_folder ++ "include/"));

vkd3d_compiler.addIncludePath(.{ .path = vkd3d_folder ++ "include/" });
vkd3d_compiler.addIncludePath(.{ .path = vkd3d_folder ++ "include/private/" });
vkd3d_compiler.addIncludePath(.{ .path = vkd3d_folder ++ "libs/vkd3d-utils/" });
vkd3d_compiler.addIncludePath(b.path(vkd3d_folder ++ "include/"));
vkd3d_compiler.addIncludePath(b.path(vkd3d_folder ++ "include/private/"));
vkd3d_compiler.addIncludePath(b.path(vkd3d_folder ++ "libs/vkd3d-utils/"));

vkd3d_compiler.addCSourceFiles(.{
.files = &.{vkd3d_folder ++ "libs/vkd3d-utils/vkd3d_utils_main.c"},
Expand Down
Loading
Loading