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

Use now available enum values. #2

Open
wants to merge 92 commits into
base: gpu_render
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
54d0db8
Add SDL_GPU
thatcosmonaut Mar 18, 2024
64b1761
Fix memory handling
meyraud705 Jun 16, 2024
d3a93db
Vulkan: Optionally load colorspace extension (#40)
thatcosmonaut Jun 18, 2024
1b534fe
include: Command buffer and swapchain usage clarification (#41)
thatcosmonaut Jun 18, 2024
a9a7e19
Transfer usage restructuring and D3D11 async readback (#42)
thatcosmonaut Jun 19, 2024
459c0cd
Debug API Rework (#45)
TheSpydog Jun 19, 2024
e8cb4df
gpu: Make some void*s const (#47)
flibitijibibo Jun 19, 2024
25e75e0
Rename transfer parameters to source and destination (#48)
thatcosmonaut Jun 19, 2024
b99191d
Remove depthBoundsTestEnable / minDepthBounds / maxDepthBounds (#49)
TheSpydog Jun 21, 2024
870d61b
Remove support for border colors (#50)
TheSpydog Jun 21, 2024
e5f77b1
Rework texture/buffer location/region structs (#52)
flibitijibibo Jun 21, 2024
aafba2d
clang-format update
flibitijibibo Jun 21, 2024
2b43f61
prefer Metal backend when available (#59)
thatcosmonaut Jun 25, 2024
5db0c3c
metal: Fix cast for CopyBufferToBuffer parameters
TheSpydog Jun 27, 2024
56cd8fc
Move uniforms to command buffer scope (#55)
thatcosmonaut Jun 27, 2024
ba2faab
Document that swapchain parameters should be queried before ClaimWind…
TheSpydog Jun 26, 2024
4aabff6
SetSwapchainParameters and PrepareDriver return SDL_bool (#61)
thatcosmonaut Jun 27, 2024
8c02225
vulkan: Update for new CreateSurface return value
flibitijibibo Jun 28, 2024
94638ba
gpu: clang-format update
flibitijibibo Jun 28, 2024
635438e
D3D11: fix segfault in PushUniformData
thatcosmonaut Jul 2, 2024
219f4d4
Texture format swizzling (#71)
TheSpydog Jul 4, 2024
111ad03
Add preferLowPower param to CreateDevice (#72)
flibitijibibo Jul 4, 2024
061adce
Document resource binding order (#73)
TheSpydog Jul 5, 2024
a667f63
Add null checks to gpu.c
flibitijibibo Jul 5, 2024
fb1a203
clang-format update
flibitijibibo Jul 5, 2024
4312704
Remove unused macro
flibitijibibo Jul 5, 2024
b044130
Fix typo as we're testing against feature level 11_1
bartwe Jul 4, 2024
88d49f6
fix url to id source
bartwe Jul 4, 2024
881f54e
depthStencilAttachmentInfo is allowed to be null (#75)
TheSpydog Jul 6, 2024
af15506
metal: Push*UniformData should not rely on a bound pipeline (#76)
TheSpydog Jul 6, 2024
04c8a90
metal: Improved texture type support (#81)
TheSpydog Jul 8, 2024
b2c9054
Track UBOs on acquisition from pool (#86)
thatcosmonaut Jul 8, 2024
4548a17
vulkan: Add device feature queries (#88)
TheSpydog Jul 11, 2024
4eb54d9
improved vulkan memory type iteration (#89)
thatcosmonaut Jul 11, 2024
925369f
Add debugMode layer, uses SDL_assert_release
flibitijibibo Jul 6, 2024
d4d0d07
Add SDL_LOG_CATEGORY_GPU
flibitijibibo Jul 6, 2024
f1f3cae
Validate pWidth/pHeight for GetSwapchainTexture
flibitijibibo Jul 6, 2024
95b8cdd
vulkan: Use Vulkan_GetPresentationSupport for PrepareDriver
flibitijibibo Jul 11, 2024
8647f60
vulkan: Allow falling back to RGBA surface formats
TheSpydog Jul 12, 2024
bfd3452
vulkan: Revamp extension checks, remove KHR_get_memory_requirements2
flibitijibibo Jul 12, 2024
92c2ab9
vulkan: Document extension requirements
flibitijibibo Jul 12, 2024
50a7166
gpu: Check texture usage flags in BeginComputePass
flibitijibibo Jul 12, 2024
0dd316f
d3d11: Update for libdxvk ABI
flibitijibibo Jul 13, 2024
53fb49a
Update for latest Properties API
flibitijibibo Jul 13, 2024
a16058c
d3d11: Win32 buildfix
flibitijibibo Jul 13, 2024
92f1c7b
Vulkan: Force swapchain recreation if window size changes (#110)
thatcosmonaut Jul 18, 2024
3a3ac10
Initial and partial dx12 support for SDL_gpu
bartwe Jul 19, 2024
a19b41d
CMake cleanups
flibitijibibo Jul 19, 2024
0b632fb
Android.mk only needs the Vulkan backend
flibitijibibo Jul 19, 2024
6b48d16
Clean up config_windows.h
flibitijibibo Jul 19, 2024
f749616
Clean up GpuShaderFormat
flibitijibibo Jul 19, 2024
7698cb5
Remove SDL_gpu_spirv
flibitijibibo Jul 19, 2024
a5bebcb
Update VisualC for gpu_d3d12
flibitijibibo Jul 19, 2024
69d95a1
Remove unused spirv includes
flibitijibibo Jul 19, 2024
afe00f5
SDL_gpu_driver -> SDL_sysgpu
flibitijibibo Jul 19, 2024
c6abaef
D3D12 buildfixes
flibitijibibo Jul 19, 2024
a176a59
d3d12: The interfaces for some D3D12 funcs vary between Windows and U…
flibitijibibo Jul 19, 2024
b42b930
DispatchComputeIndirect (#111)
thatcosmonaut Jul 20, 2024
cd8854b
metal: Leak fixes
TheSpydog Jul 21, 2024
5f3799c
metal: Fix Apple GPU-exclusive format checks
TheSpydog Jul 21, 2024
e5200ff
Don't ignore entryPointName in d3d11 backend. (#119)
playmer Jul 29, 2024
67db5c3
UWP buildfixes
flibitijibibo Jul 30, 2024
5b60b7b
Vulkan: Fix erroneous texture cycle disable
thatcosmonaut Jul 30, 2024
55ee31e
CMake fix for GPU_D3D12
flibitijibibo Aug 2, 2024
232bc97
Fix config_windows for D3D12
flibitijibibo Aug 2, 2024
5359f07
D3D12: Implement rendering/data transfer
thatcosmonaut Aug 3, 2024
0d5b147
Update VisualC-GDK for GPU
flibitijibibo Aug 4, 2024
64ce13f
Compile GPU_D3D12 as C++ on Xbox
flibitijibibo Aug 4, 2024
bdbf6cd
D3D12: Uninitialized memory fix
flibitijibibo Aug 4, 2024
895a5e9
Fix erroneous VK_DESCRIPTOR_TYPE_STORAGE_IMAGE
thatcosmonaut Aug 5, 2024
2b4c9d6
MSVC fixes (#138)
thatcosmonaut Aug 5, 2024
756aedd
Aggressively zero-init on D3D12 (#132)
bartwe Aug 5, 2024
271507e
Change primitiveCount to vertexCount (#136)
bartwe Aug 5, 2024
f36246c
D3D12 Compute Pass (#140)
thatcosmonaut Aug 6, 2024
5cd633e
Texture Validation (#116)
TheSpydog Aug 7, 2024
4f2e51a
d3d12: D3D_GUID() all the things!
TheSpydog Aug 7, 2024
f7e1343
d3d12: Cast all the things!
TheSpydog Aug 7, 2024
f28395f
d3d12: Remove/replace all instances of { 0 } (and many instances of =…
TheSpydog Aug 7, 2024
8575db8
fix driver symbols when compiling as C++
TheSpydog Aug 7, 2024
a77542f
Update Blit implementations to use vertexCount (#143)
TheSpydog Aug 8, 2024
ea63222
Remove SetTransferData/GetTransferData APIs (#144)
TheSpydog Aug 8, 2024
154605c
Add missing initialization of rtvDesc.Texture2DArray.PlaneSlice
bartwe Aug 8, 2024
35213b7
Remove HLSL shader format (#145)
TheSpydog Aug 8, 2024
7f067c0
D3D12 Copy Pass (#152)
thatcosmonaut Aug 9, 2024
d2589c5
Rename SDL_GpuIsTextureFormatSupported to SDL_GpuSupportsTextureFormat
flibitijibibo Aug 9, 2024
835d420
Rename multiSampleCount to sampleCount
flibitijibibo Aug 9, 2024
802fc5d
Rework GPU init to use properties, rename Backend to Driver
flibitijibibo Aug 9, 2024
6ce2159
Replace GpuColor/GpuRect with standard SDL structs
flibitijibibo Aug 9, 2024
784b450
Update testgpu_spinning_cube for new GetTicks return type
flibitijibibo Aug 9, 2024
6902dac
Ensure D3D12Renderer is sufficiently initialized before calling D3D12…
bartwe Aug 9, 2024
eb4f5e5
Begin implementation of GPU backend for SDL_Render
Akaricchi Aug 12, 2024
8c06794
Use now available enum values.
bartwe Aug 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ LOCAL_SRC_FILES := \
$(wildcard $(LOCAL_PATH)/src/dynapi/*.c) \
$(wildcard $(LOCAL_PATH)/src/events/*.c) \
$(wildcard $(LOCAL_PATH)/src/file/*.c) \
$(wildcard $(LOCAL_PATH)/src/gpu/*.c) \
$(wildcard $(LOCAL_PATH)/src/gpu/vulkan/*.c) \
$(wildcard $(LOCAL_PATH)/src/haptic/*.c) \
$(wildcard $(LOCAL_PATH)/src/haptic/android/*.c) \
$(wildcard $(LOCAL_PATH)/src/haptic/dummy/*.c) \
Expand Down
39 changes: 39 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ endmacro()

define_sdl_subsystem(Audio)
define_sdl_subsystem(Video)
define_sdl_subsystem(Gpu DEPS SDL_VIDEO)
define_sdl_subsystem(Render DEPS SDL_VIDEO)
define_sdl_subsystem(Camera DEPS SDL_VIDEO)
define_sdl_subsystem(Joystick)
Expand Down Expand Up @@ -331,6 +332,7 @@ dep_option(SDL_RENDER_D3D "Enable the Direct3D 9 render driver" ON "SDL
dep_option(SDL_RENDER_D3D11 "Enable the Direct3D 11 render driver" ON "SDL_RENDER;SDL_DIRECTX" OFF)
dep_option(SDL_RENDER_D3D12 "Enable the Direct3D 12 render driver" ON "SDL_RENDER;SDL_DIRECTX" OFF)
dep_option(SDL_RENDER_METAL "Enable the Metal render driver" ON "SDL_RENDER;${APPLE}" OFF)
set_option(SDL_RENDER_GPU "Enable the SDL_Gpu render driver" ON)
dep_option(SDL_VIVANTE "Use Vivante EGL video driver" ON "${UNIX_SYS};SDL_CPU_ARM32" OFF)
dep_option(SDL_VULKAN "Enable Vulkan support" ON "SDL_VIDEO;ANDROID OR APPLE OR LINUX OR FREEBSD OR WINDOWS" OFF)
dep_option(SDL_RENDER_VULKAN "Enable the Vulkan render driver" ON "SDL_RENDER;SDL_VULKAN" OFF)
Expand All @@ -350,6 +352,7 @@ set_option(SDL_LIBUDEV "Enable libudev support" ON)
set_option(SDL_ASAN "Use AddressSanitizer to detect memory errors" OFF)
set_option(SDL_CCACHE "Use Ccache to speed up build" OFF)
set_option(SDL_CLANG_TIDY "Run clang-tidy static analysis" OFF)
set_option(SDL_GPU_DXVK "Build SDL_Gpu with DXVK support" OFF)

set(SDL_VENDOR_INFO "" CACHE STRING "Vendor name and/or version to add to SDL_REVISION")

Expand Down Expand Up @@ -479,6 +482,7 @@ sdl_glob_sources(
"${SDL3_SOURCE_DIR}/src/events/*.c"
"${SDL3_SOURCE_DIR}/src/file/*.c"
"${SDL3_SOURCE_DIR}/src/filesystem/*.c"
"${SDL3_SOURCE_DIR}/src/gpu/*.c"
"${SDL3_SOURCE_DIR}/src/joystick/*.c"
"${SDL3_SOURCE_DIR}/src/haptic/*.c"
"${SDL3_SOURCE_DIR}/src/hidapi/*.c"
Expand Down Expand Up @@ -1688,6 +1692,16 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
)
endif()

if(SDL_GPU AND SDL_GPU_DXVK)
if(PKG_CONFIG_FOUND)
pkg_search_module(DXVK_NATIVE dxvk-dxgi)
if(DXVK_NATIVE_FOUND)
set(HAVE_D3D11_H TRUE)
sdl_include_directories(PRIVATE SYSTEM ${DXVK_NATIVE_INCLUDE_DIRS})
endif()
endif()
endif()

# Always compiled for Linux, unconditionally:
sdl_sources(
"${SDL3_SOURCE_DIR}/src/core/linux/SDL_evdev_capabilities.c"
Expand Down Expand Up @@ -2347,6 +2361,10 @@ elseif(APPLE)
set(SDL_VIDEO_RENDER_METAL 1)
set(HAVE_RENDER_METAL TRUE)
endif()
if (SDL_GPU)
set(SDL_GPU_METAL 1)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/gpu/metal/*.m")
endif()
endif()
endif()
endif()
Expand Down Expand Up @@ -2908,6 +2926,27 @@ if(SDL_VIDEO)
endif()
endif()

if(SDL_GPU)
if(HAVE_D3D11_H)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/gpu/d3d11/*.c")
set(SDL_GPU_D3D11 1)
set(HAVE_SDL_GPU TRUE)
endif()
if(SDL_RENDER_D3D12)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/gpu/d3d12/*.c")
set(SDL_GPU_D3D12 1)
set(HAVE_SDL_GPU TRUE)
endif()
if(SDL_VIDEO_VULKAN)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/gpu/vulkan/*.c")
set(SDL_GPU_VULKAN 1)
set(HAVE_SDL_GPU TRUE)
endif()
if(SDL_RENDER_GPU)
set(SDL_VIDEO_RENDER_GPU 1)
endif()
endif()

# Dummies
# configure.ac does it differently:
# if not have X
Expand Down
11 changes: 11 additions & 0 deletions VisualC-GDK/SDL/SDL.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@
<ClInclude Include="..\..\include\SDL3\SDL_events.h" />
<ClInclude Include="..\..\include\SDL3\SDL_filesystem.h" />
<ClInclude Include="..\..\include\SDL3\SDL_gamepad.h" />
<ClInclude Include="..\..\include\SDL3\SDL_gpu.h" />
<ClInclude Include="..\..\include\SDL3\SDL_guid.h" />
<ClInclude Include="..\..\include\SDL3\SDL_haptic.h" />
<ClInclude Include="..\..\include\SDL3\SDL_hints.h" />
Expand Down Expand Up @@ -424,6 +425,7 @@
<ClInclude Include="..\..\src\events\SDL_touch_c.h" />
<ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h" />
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h" />
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
<ClInclude Include="..\..\src\haptic\windows\SDL_dinputhaptic_c.h" />
Expand Down Expand Up @@ -865,6 +867,15 @@
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_lsx.c" />
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_sse.c" />
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_std.c" />
<ClCompile Include="..\..\src\gpu\SDL_gpu.c" />
<ClCompile Include="..\..\src\gpu\d3d11\SDL_gpu_d3d11.c" />
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\core\windows\version.rc" />
Expand Down
6 changes: 6 additions & 0 deletions VisualC-GDK/SDL/SDL.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
<ClCompile Include="..\..\src\events\SDL_windowevents.c" />
<ClCompile Include="..\..\src\file\SDL_iostream.c" />
<ClCompile Include="..\..\src\filesystem\gdk\SDL_sysfilesystem.cpp" />
<ClCompile Include="..\..\src\gpu\SDL_gpu.c" />
<ClCompile Include="..\..\src\gpu\d3d11\SDL_gpu_d3d11.c" />
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c" />
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c" />
<ClCompile Include="..\..\src\haptic\dummy\SDL_syshaptic.c" />
<ClCompile Include="..\..\src\haptic\SDL_haptic.c" />
<ClCompile Include="..\..\src\haptic\windows\SDL_dinputhaptic.c" />
Expand Down Expand Up @@ -249,6 +253,7 @@
<ClInclude Include="..\..\include\SDL3\SDL_events.h" />
<ClInclude Include="..\..\include\SDL3\SDL_filesystem.h" />
<ClInclude Include="..\..\include\SDL3\SDL_gamepad.h" />
<ClInclude Include="..\..\include\SDL3\SDL_gpu.h" />
<ClInclude Include="..\..\include\SDL3\SDL_guid.h" />
<ClInclude Include="..\..\include\SDL3\SDL_haptic.h" />
<ClInclude Include="..\..\include\SDL3\SDL_hints.h" />
Expand Down Expand Up @@ -341,6 +346,7 @@
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h">
<Filter>filesystem</Filter>
</ClInclude>
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h" />
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
<ClInclude Include="..\..\src\haptic\windows\SDL_dinputhaptic_c.h" />
Expand Down
4 changes: 4 additions & 0 deletions VisualC-WinRT/SDL-UWP.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<ClInclude Include="..\src\events\SDL_touch_c.h" />
<ClInclude Include="..\src\events\SDL_windowevents_c.h" />
<ClInclude Include="..\src\filesystem\SDL_sysfilesystem.h" />
<ClInclude Include="..\src\gpu\SDL_sysgpu.h" />
<ClInclude Include="..\src\haptic\SDL_haptic_c.h" />
<ClInclude Include="..\src\haptic\SDL_syshaptic.h" />
<ClInclude Include="..\src\haptic\windows\SDL_dinputhaptic_c.h" />
Expand Down Expand Up @@ -343,6 +344,9 @@
<ClCompile Include="..\src\file\SDL_iostream.c" />
<ClCompile Include="..\src\filesystem\SDL_filesystem.c" />
<ClCompile Include="..\src\filesystem\windows\SDL_sysfsops.c" />
<ClCompile Include="..\src\gpu\SDL_gpu.c "/>
<ClCompile Include="..\src\gpu\d3d11\SDL_gpu_d3d11.c "/>
<ClCompile Include="..\src\gpu\d3d12\SDL_gpu_d3d12.c "/>
<ClCompile Include="..\src\haptic\dummy\SDL_syshaptic.c" />
<ClCompile Include="..\src\haptic\SDL_haptic.c" />
<ClCompile Include="..\src\haptic\windows\SDL_dinputhaptic.c" />
Expand Down
7 changes: 7 additions & 0 deletions VisualC/SDL/SDL.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@
<ClInclude Include="..\..\include\SDL3\SDL_events.h" />
<ClInclude Include="..\..\include\SDL3\SDL_filesystem.h" />
<ClInclude Include="..\..\include\SDL3\SDL_gamepad.h" />
<ClInclude Include="..\..\include\SDL3\SDL_gpu.h" />
<ClInclude Include="..\..\include\SDL3\SDL_guid.h" />
<ClInclude Include="..\..\include\SDL3\SDL_haptic.h" />
<ClInclude Include="..\..\include\SDL3\SDL_hints.h" />
Expand Down Expand Up @@ -348,6 +349,8 @@
<ClInclude Include="..\..\src\events\SDL_touch_c.h" />
<ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h" />
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h" />
<ClInclude Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan_vkfuncs.h" />
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
<ClInclude Include="..\..\src\haptic\windows\SDL_dinputhaptic_c.h" />
Expand Down Expand Up @@ -408,6 +411,10 @@
<ClCompile Include="..\..\src\dialog\SDL_dialog_utils.c" />
<ClCompile Include="..\..\src\filesystem\SDL_filesystem.c" />
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfsops.c" />
<ClCompile Include="..\..\src\gpu\SDL_gpu.c" />
<ClCompile Include="..\..\src\gpu\d3d11\SDL_gpu_d3d11.c" />
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c" />
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c" />
<ClCompile Include="..\..\src\main\generic\SDL_sysmain_callbacks.c" />
<ClCompile Include="..\..\src\main\SDL_main_callbacks.c" />
<ClCompile Include="..\..\src\main\SDL_runapp.c" />
Expand Down
22 changes: 22 additions & 0 deletions VisualC/SDL/SDL.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@
</Filter>
<Filter Include="time\windows">
<UniqueIdentifier>{0000d7fda065b13b0ca4ab262c380000}</UniqueIdentifier>
<Filter Include="gpu">
<UniqueIdentifier>{098fbef9-d8a0-4b3b-b57b-d157d395335d}</UniqueIdentifier>
</Filter>
<Filter Include="dialog">
<UniqueIdentifier>{00008dfdfa0190856fbf3c7db52d0000}</UniqueIdentifier>
Expand Down Expand Up @@ -907,6 +909,14 @@
</ClInclude>
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenwindow.h">
<Filter>video\offscreen</Filter>
<ClInclude Include="..\..\include\SDL3\SDL_gpu.h">
<Filter>API Headers</Filter>
</ClInclude>
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h">
<Filter>gpu</Filter>
</ClInclude>
<ClInclude Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan_vkfuncs.h">
<Filter>gpu</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -1562,6 +1572,18 @@
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenwindow.c">
<Filter>video\offscreen</Filter>
</ClCompile>
<ClCompile Include="..\..\src\gpu\SDL_gpu.c">
<Filter>gpu</Filter>
</ClCompile>
<ClCompile Include="..\..\src\gpu\d3d11\SDL_gpu_d3d11.c">
<Filter>gpu</Filter>
</ClCompile>
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c">
<Filter>gpu</Filter>
</ClCompile>
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c">
<Filter>gpu</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\core\windows\version.rc" />
Expand Down
1 change: 1 addition & 0 deletions include/SDL3/SDL.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <SDL3/SDL_events.h>
#include <SDL3/SDL_filesystem.h>
#include <SDL3/SDL_gamepad.h>
#include <SDL3/SDL_gpu.h>
#include <SDL3/SDL_guid.h>
#include <SDL3/SDL_haptic.h>
#include <SDL3/SDL_hidapi.h>
Expand Down
Loading