Commit Graph
44 Commits
Author SHA1 Message Date
Caleb Cornett 6c10cdb6eb gpu: Metal fence fixes
(cherry picked from commit 3561f81400)
2026-07-06 05:44:50 -07:00
Caleb Cornett de5e0f1784 GPU: Query UnrestrictedBufferTextureCopyPitchSupported to avoid D3D12 realignment copies
(cherry picked from commit 742a6fd092)
2026-01-31 16:04:03 -08:00
Caleb Cornett 44710a248c gpu: alpha-to-coverage support 2025-04-04 11:39:08 -07:00
Caleb Cornett 6d0fb0a2e6 gpu: Fix MTLLibrary dispatch data destructor 2025-03-17 18:53:40 -07:00
Caleb Cornett 0e29c6295c gpu: Clean up unused code in Vulkan and D3D12 drivers 2025-03-13 09:30:36 -04:00
Caleb Cornett 9fcca83512 gpu: Validate that CopyGPUTextureToTexture formats match 2025-03-09 17:29:47 -04:00
Caleb Cornett 113eb6f01d gpu: Add BC2_RGBA_UNORM_SRGB to GetBlockWidth/Height functions 2025-03-03 01:35:16 -05:00
Caleb Cornett b0d2a4f355 gpu: Fix Z offset for D3D12 realigned 3D texture uploads
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions
2025-03-02 00:04:57 -05:00
Caleb Cornett 60b7faa987 gpu: Validate that reserved struct members are unset 2025-02-24 08:57:09 -08:00
Caleb Cornett 0815637cf0 vulkan build fix 2025-02-23 12:19:12 -08:00
Caleb Cornett ea77472d75 Document/ignore GPU features without universal support 2025-02-23 12:19:12 -08:00
Caleb Cornett abe6d9db97 Automatically detect SDL_main_private.h 2025-01-20 20:48:17 -05:00
Caleb Cornett a27c139b12 GPU: Explicitly check Metal hardware support on device creation 2024-12-24 12:36:52 -05:00
Caleb Cornett aa817a67d1 GPU: Document system requirements for each driver 2024-12-24 12:36:52 -05:00
Caleb Cornett 62124e2c28 GPU: Enable Metal validation in debug mode (#11691) 2024-12-23 18:08:14 -05:00
Caleb Cornett c080bb8417 GPU: Fix non-triangle D3D12 primitive topology types 2024-12-21 22:38:40 -05:00
Caleb Cornett 45869d6177 GPU: Vulkan requires drawIndirectFirstInstance feature (#11583) 2024-12-04 15:05:35 -05:00
Caleb Cornett d8eb68a6c5 GPU: Clean up D3D12 blit shader compilation 2024-12-04 14:56:36 -05:00
Caleb Cornett 5c8bed3780 GPU: Fix D3D12 tearing query 2024-11-25 22:33:48 -05:00
Caleb Cornett feb10434a1 Order by subsystem 2024-10-29 08:50:50 -07:00
Caleb Cornett b2f216f9e2 Add GPU to iOS build config 2024-10-29 08:50:50 -07:00
Caleb Cornett 54836050c9 metal: Add availability checks 2024-10-29 08:13:51 -07:00
Caleb Cornett 9af5ffcfbe Improve support for private platforms (#11220) 2024-10-15 18:02:07 -04:00
Caleb Cornett cdaaabb978 GPU: Fix Metal sampler address mode order 2024-10-15 10:46:04 -04:00
Caleb Cornett 3db10a6b2c GPU: ASTC block size fixes (#11157) 2024-10-10 15:40:21 -07:00
Caleb Cornett 5ff6e8d522 GPU: Add enable_depth_clip to RasterizerState (#10964) 2024-09-27 11:18:54 -05:00
Caleb Cornett 97d1056e16 GPU: MSAA fixes (#10917) 2024-09-21 17:38:10 -05:00
Caleb Cornett c499f79fe9 GPU: Fix multisample texture usage validation 2024-09-16 17:55:27 -05:00
Caleb Cornett 9416917353 GPU: Rework MSAA (#10859) 2024-09-16 12:19:09 -05:00
Caleb Cornett 4f722d372a GPU: Metal vertex buffer indices should grow upward (#10837) 2024-09-15 20:17:43 -05:00
Caleb Cornett 94436a938d GPU: Remove unused and incorrect D16 format checks from Vulkan driver 2024-09-13 10:16:02 -05:00
Caleb Cornett 5771b502f8 GPU: Fix D3D11/D3D12 vertex strides for multiple vertex buffers (#10818) 2024-09-13 09:57:55 -05:00
Caleb Cornett a45a2caf49 GPU: Rename VertexBinding to VertexBufferDescription (#10811) 2024-09-12 18:02:39 -05:00
Caleb Cornett d5e1385c91 Fixed typos in SDL_gpu.h 2024-09-12 09:10:20 -05:00
Caleb Cornett ddd5723e2e GPU: Remove pitch parameters from indirect draw calls (#10803) 2024-09-11 23:30:14 -07:00
Caleb CornettandEvan Hemsley 9730f62e8c GPU: Rename struct members and parameters for SDL3 naming conventions (#10730)
---------

Co-authored-by: Evan Hemsley <2342303+thatcosmonaut@users.noreply.github.com>
2024-09-06 16:38:23 -07:00
Caleb Cornett 2d4eb29c37 Add SDL_SetGPUBlendConstants, SDL_SetGPUStencilReference (#10704) 2024-09-05 17:41:23 -05:00
Caleb Cornett b233beca47 GPU: Minor documentation cleanup 2024-09-02 18:01:43 -07:00
Caleb Cornett f405def691 Change GPU flag enums to defines (#10681) 2024-09-02 15:19:43 -07:00
Caleb Cornett d9a5ed75b9 GDK: Xbox should have input focus by default 2024-08-25 22:12:02 -04:00
Caleb Cornett d766f68cb3 Fix compile error with XInputOnGameInput.h 2024-01-10 12:51:27 -08:00
Caleb Cornett 376a3cd100 Fix Xbox link error from IsRectEmpty 2023-05-21 19:09:28 -07:00
Caleb Cornett 19039b6ca4 Fix GDK OpenGL build error 2022-12-20 23:18:04 -05:00
Caleb Cornett 3ebfb15469 gdk: Add support for building with OpenGL on Xbox 2022-12-19 17:57:06 -05:00