-
-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
1,187 additions
and
15 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Submodule ANGLE
updated
from 24dabd to 803c3b
Submodule Assimp
updated
1210 files
Submodule GLFW
updated
34 files
+4 −5 | .github/workflows/build.yml | |
+3 −1 | CMakeLists.txt | |
+0 −5 | CONTRIBUTORS.md | |
+68 −7 | README.md | |
+38 −0 | docs/Doxyfile.in | |
+1 −1 | docs/build.dox | |
+3 −3 | docs/compat.dox | |
+5 −6 | docs/compile.dox | |
+3 −3 | docs/context.dox | |
+2 −2 | docs/input.dox | |
+7 −7 | docs/intro.dox | |
+2 −2 | docs/monitor.dox | |
+3 −3 | docs/moving.dox | |
+0 −13 | docs/news.dox | |
+5 −1 | docs/quick.dox | |
+1 −1 | docs/vulkan.dox | |
+1 −2 | docs/window.dox | |
+1 −1 | include/GLFW/glfw3.h | |
+3 −9 | include/GLFW/glfw3native.h | |
+10 −17 | src/context.c | |
+29 −67 | src/egl_context.c | |
+0 −4 | src/glx_context.c | |
+1 −0 | src/glx_context.h | |
+1 −1 | src/linux_joystick.c | |
+17 −5 | src/wgl_context.c | |
+0 −2 | src/win32_platform.h | |
+78 −100 | src/win32_window.c | |
+40 −51 | src/wl_init.c | |
+6 −8 | src/wl_monitor.c | |
+22 −24 | src/wl_platform.h | |
+271 −267 | src/wl_window.c | |
+19 −80 | src/x11_window.c | |
+1 −1 | tests/events.c | |
+0 −26 | tests/glfwinfo.c |
Submodule MoltenVK
updated
65 files
Submodule SDL
updated
20 files
+1 −1 | CMakeLists.txt | |
+1 −1 | Makefile.os2 | |
+1 −1 | Makefile.w32 | |
+2 −2 | Xcode/SDL/Info-Framework.plist | |
+6 −6 | 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 | |
+1 −1 | configure | |
+1 −1 | configure.ac | |
+1 −1 | include/SDL_version.h | |
+2 −3 | src/file/SDL_rwops.c | |
+1 −8 | src/joystick/SDL_gamecontroller.c | |
+0 −1 | src/joystick/SDL_gamecontrollerdb.h | |
+2 −2 | src/joystick/SDL_joystick.c | |
+0 −2 | src/joystick/hidapi/SDL_hidapi_nintendo.h | |
+53 −69 | src/joystick/hidapi/SDL_hidapi_switch.c | |
+4 −4 | src/main/windows/version.rc | |
+0 −8 | src/video/SDL_pixels.c | |
+0 −3 | src/video/wayland/SDL_waylandsym.h | |
+0 −1 | src/video/windows/SDL_windowsmouse.c |
Submodule SPIRV-Cross
updated
392 files
Submodule SPIRV-Headers
updated
13 files
+0 −13 | SECURITY.md | |
+10 −13 | include/spirv/unified1/spirv.bf | |
+17 −36 | include/spirv/unified1/spirv.core.grammar.json | |
+10 −13 | include/spirv/unified1/spirv.cs | |
+10 −13 | include/spirv/unified1/spirv.h | |
+10 −13 | include/spirv/unified1/spirv.hpp | |
+10 −13 | include/spirv/unified1/spirv.hpp11 | |
+6 −9 | include/spirv/unified1/spirv.json | |
+10 −13 | include/spirv/unified1/spirv.lua | |
+10 −13 | include/spirv/unified1/spirv.py | |
+10 −13 | include/spirv/unified1/spv.d | |
+0 −2 | tools/buildHeaders/bin/makeHeaders | |
+0 −2 | tools/buildHeaders/jsonToSpirv.cpp |
Submodule SPIRV-Reflect
updated
58 files
Submodule SPIRV-Tools
updated
98 files
Submodule Vulkan-Headers
updated
72 files
Submodule Vulkan-Loader
updated
69 files
Submodule shaderc
updated
12 files
+5 −12 | CHANGES | |
+16 −6 | CMakeLists.txt | |
+6 −6 | DEPS | |
+1 −1 | README.md | |
+2 −2 | kokoro/android-release/build-docker.sh | |
+1 −1 | kokoro/linux/build-docker.sh | |
+0 −16 | kokoro/linux/presubmit_mingw_release.cfg | |
+1 −1 | kokoro/macos/build.sh | |
+1 −1 | kokoro/ndk-build/build-docker.sh | |
+1 −1 | kokoro/windows/build.bat | |
+0 −10 | third_party/CMakeLists.txt | |
+1 −1 | utils/update_build_version.py |
Submodule wgpu-native
updated
18 files
+1 −19 | .github/workflows/ci.yml | |
+1 −1 | .gitignore | |
+128 −177 | Cargo.lock | |
+6 −6 | Cargo.toml | |
+0 −12 | Makefile | |
+0 −3 | examples/CMakeLists.txt | |
+4 −33 | examples/framework/framework.c | |
+0 −14 | examples/framework/framework.h | |
+0 −27 | examples/texture_arrays/CMakeLists.txt | |
+0 −61 | examples/texture_arrays/indexing.wgsl | |
+0 −786 | examples/texture_arrays/main.c | |
+0 −33 | examples/texture_arrays/non_uniform_indexing.wgsl | |
+1 −1 | ffi/webgpu-headers | |
+0 −28 | ffi/wgpu.h | |
+7 −230 | src/conv.rs | |
+154 −98 | src/lib.rs | |
+15 −0 | src/unimplemented.rs | |
+1 −59 | src/utils.rs |
133 changes: 133 additions & 0 deletions
133
src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCudaKernelLaunch.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
// 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 System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
using Silk.NET.Vulkan; | ||
using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.Vulkan.Extensions.NV | ||
{ | ||
[Extension("VK_NV_cuda_kernel_launch")] | ||
public unsafe partial class NVCudaKernelLaunch : NativeExtension<Vk> | ||
{ | ||
public const string ExtensionName = "VK_NV_cuda_kernel_launch"; | ||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCmdCudaLaunchKernelNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial void CmdCudaLaunchKernel([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CudaLaunchInfoNV* pLaunchInfo); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCmdCudaLaunchKernelNV", Convention = CallingConvention.Winapi)] | ||
public partial void CmdCudaLaunchKernel([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in CudaLaunchInfoNV pLaunchInfo); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CudaFunctionCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CudaFunctionNV* pFunction); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CudaFunctionCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CudaFunctionNV pFunction); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CudaFunctionCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CudaFunctionNV* pFunction); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CudaFunctionCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CudaFunctionNV pFunction); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in CudaFunctionCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CudaFunctionNV* pFunction); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in CudaFunctionCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CudaFunctionNV pFunction); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in CudaFunctionCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CudaFunctionNV* pFunction); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public partial Result CreateCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in CudaFunctionCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CudaFunctionNV pFunction); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaModule([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CudaModuleCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CudaModuleNV* pModule); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaModule([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CudaModuleCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CudaModuleNV pModule); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaModule([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CudaModuleCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CudaModuleNV* pModule); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaModule([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CudaModuleCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CudaModuleNV pModule); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaModule([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in CudaModuleCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CudaModuleNV* pModule); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaModule([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in CudaModuleCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CudaModuleNV pModule); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result CreateCudaModule([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in CudaModuleCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CudaModuleNV* pModule); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkCreateCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public partial Result CreateCudaModule([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in CudaModuleCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CudaModuleNV pModule); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkDestroyCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial void DestroyCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0)] CudaFunctionNV function, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkDestroyCudaFunctionNV", Convention = CallingConvention.Winapi)] | ||
public partial void DestroyCudaFunction([Count(Count = 0)] Device device, [Count(Count = 0)] CudaFunctionNV function, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkDestroyCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial void DestroyCudaModule([Count(Count = 0)] Device device, [Count(Count = 0)] CudaModuleNV module, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkDestroyCudaModuleNV", Convention = CallingConvention.Winapi)] | ||
public partial void DestroyCudaModule([Count(Count = 0)] Device device, [Count(Count = 0)] CudaModuleNV module, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in AllocationCallbacks pAllocator); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkGetCudaModuleCacheNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result GetCudaModuleCache([Count(Count = 0)] Device device, [Count(Count = 0)] CudaModuleNV module, [Count(Count = 0)] nuint* pCacheSize, [Count(Parameter = "pCacheSize")] void* pCacheData); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkGetCudaModuleCacheNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result GetCudaModuleCache<T0>([Count(Count = 0)] Device device, [Count(Count = 0)] CudaModuleNV module, [Count(Count = 0)] nuint* pCacheSize, [Count(Parameter = "pCacheSize")] ref T0 pCacheData) where T0 : unmanaged; | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkGetCudaModuleCacheNV", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result GetCudaModuleCache([Count(Count = 0)] Device device, [Count(Count = 0)] CudaModuleNV module, [Count(Count = 0)] ref nuint pCacheSize, [Count(Parameter = "pCacheSize")] void* pCacheData); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "vkGetCudaModuleCacheNV", Convention = CallingConvention.Winapi)] | ||
public partial Result GetCudaModuleCache<T0>([Count(Count = 0)] Device device, [Count(Count = 0)] CudaModuleNV module, [Count(Count = 0)] ref nuint pCacheSize, [Count(Parameter = "pCacheSize")] ref T0 pCacheData) where T0 : unmanaged; | ||
|
||
public NVCudaKernelLaunch(INativeContext ctx) | ||
: base(ctx) | ||
{ | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.