103 Commits

Author SHA1 Message Date
Mohit Sethi
5398d2cfc1 Fix D3D12_BARRIER_SUBRESOURCE_RANGE struct
Should be all u32 in this struct, not uint

https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_barrier_subresource_range
2026-04-12 14:30:14 +01:00
connnnal
e77dd887aa Partial 1.619.x d3d12 bindings 2026-03-08 16:50:53 +00:00
jakubtomsu
a48a4b98ce remove FORCE_DWORD enum elements 2026-02-17 22:51:23 +01:00
jakubtomsu
97e09b19d1 refactor d3d11/d3d12/d3dcompiler dependencies 2026-02-17 18:27:34 +01:00
Ignacy Koper
dcbbb5792b vendor:directx/d3d12: changed backing integers of BARRIER* enums and bit-sets to u32 from i64
and added missing `Flags` field to `TEXTURE_BARRIER` struct

Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-02-07 09:58:42 +01:00
Ignacy Koper
a6ad74cea6 vendor:directx/d3d12: added IGraphicsCommandList7 with enhanced barriers
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-02-06 13:59:02 +01:00
Piotr Doan
65b147d4d3 Prefer LPCSTR/LPCWSTR types in DirectX bindings
- Replaces [^]u16 parameter types because they are not directly compatible with result of `win32.utf8_to_wstring()`
- Replaces some string/wstring types for consistency, similarly as other packages do to match original C declarations and documentation
2026-01-02 19:10:00 +01:00
connnnal
b9b3e909ad Fix FEATURE bitflag indentation 2025-11-18 12:16:25 +00:00
connnnal
8ffa55d664 Update d3d12 bindings for D3D12_FEATURE_D3D12_TIGHT_ALIGNMENT 2025-11-18 12:08:29 +00:00
gingerBill
2508b82878 Change ^i16 to cstring16 where appropriate 2025-10-28 14:50:13 +00:00
Jeroen van Rijn
998fbdc5c0 Doc lines for vendor:* 2025-10-10 17:51:28 +02:00
connnnal
17f9ad29af Make D3D12_FEATURE_DATA_D3D12_OPTIONS.MinPrecisionSupport a bitset
https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_feature_data_d3d12_options
2025-08-17 18:35:25 +01:00
connnnal
3a1171e25f Alias [^]u16 to Windows LPCWSTR 2025-08-07 13:15:12 +01:00
Jeroen van Rijn
6d01aa9069 Appease -vet for haiku 2025-06-16 23:30:22 +02:00
gingerBill
002b50360c Merge branch 'master' of https://github.com/odin-lang/Odin 2025-06-09 17:19:58 +01:00
gingerBill
2ffd6be20a Fix minor typo from ^[^] to [^]^ 2025-06-09 17:19:29 +01:00
Karl Zylinski
4a6c6cd398 Fixed broken bindings of ICompiler and ICompiler2. See https://learn.microsoft.com/en-us/windows/win32/api/dxcapi/ns-dxcapi-idxccompiler and https://learn.microsoft.com/en-us/windows/win32/api/dxcapi/ns-dxcapi-idxccompiler2 for correct signatures. 2025-06-08 00:11:31 +02:00
deadwanderer
9f559af530 Add GPU_UPLOAD heap type 2025-05-20 15:45:03 -04:00
deadwanderer
bcaba47e15 Fix incorrect resource state bit_set 2025-05-20 15:42:06 -04:00
gingerBill
30b6750778 Add missing , 2025-05-14 15:14:02 +01:00
deadwanderer
78f0992918 Fix bad whitespacing 2025-05-14 08:53:53 -04:00
deadwanderer
30434552a7 Adjust whitespace errors 2025-05-14 07:55:23 -04:00
deadwanderer
10a63ac498 Add more D3D12 FEATURE_DATA_OPTIONs 2025-05-13 23:45:58 -04:00
gingerBill
c45f39702a stdcall to system 2025-02-24 13:45:50 +00:00
gingerBill
e25507ca3b Merge pull request #2938 from moritzfalk/d3d11-annotations
Adding IUserDefinedAnnotation to D3D11 for better debugging.
2025-02-24 13:39:58 +00:00
denovodavid
ca17a5eb70 d3d12: fix some vtables 2025-02-11 16:58:26 +11:00
Karl Zylinski
1613728a64 d3d12 bindings -vet-tabs fix 2025-01-13 23:37:36 +01:00
denovodavid
c30cdaa7b0 add d3d12 shader component mapping constants and macro-procedures 2025-01-09 11:39:01 +11:00
gingerBill
6e49bbb668 Merge branch 'master' into d3d11-annotations 2025-01-06 13:43:01 +00:00
imlodinu
cce2cb79c9 Change single pointers to multipointers, fix UUIDs in d3d11 and d3d12 2024-12-19 12:23:00 +08:00
shashank
d02f575561 change pointer arg to multipointer in GetDisplayModeList and GetDisplayModeList1 2024-12-08 21:41:01 +05:30
Karl Zylinski
19f0127e55 Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax. 2024-09-14 18:27:49 +02:00
gingerBill
eb799393d5 Fix -vet-tabs issues 2024-08-24 13:56:41 +01:00
gingerBill
7e41340510 Unify IUnknown COM interface 2024-07-10 15:20:07 +01:00
Fabian Sperber
0e9bf86123 Fix d3d11 IInfoQueue_VTable & Add LoadLibraryExW
- wrong order & was missing PushStorageFilter & PushRetrievalFilter
2024-06-19 22:22:26 +02:00
Mark Sniffen
cd4375061c D3D11 - fixed VIDEO_SUPPORT flag 2024-06-05 10:11:18 -04:00
Andreas T Jonsson
6298d4a36c Fixed some build tags in vendor libs 2024-05-13 10:00:19 +02:00
gingerBill
944fdd11f2 Keep -vet happy 2024-05-10 12:03:08 +01:00
gingerBill
07739b48ee Merge pull request #3565 from wschiefer/update-d3d12
Update d3d12 API
2024-05-10 12:00:39 +01:00
Waldemar Schiefer
935865a978 Update d3d12 API 2024-05-09 19:46:02 +02:00
Waldemar Schiefer
cceac781e7 Add DXGI 1.5 & 1.6 APIs 2024-05-09 17:36:26 +02:00
gingerBill
2af777b6cb Merge pull request #3419 from puzzleddev/fixup-d3d12-thiscall-affected-methods
Fixup vendor/d3d12 calling convention mistakes
2024-04-15 13:19:19 +01:00
wrapperup
b22e43c335 add freebsd, openbsd to dxcdef_unix.odin 2024-04-13 15:27:02 -04:00
tim4242
d5bb67e9e6 Fixup vendor/d3d12 calling convention mistakes 2024-04-12 20:47:02 +02:00
Lucas Perlind
9469b90b01 Add ID3DUserDefinedAnnotation 2024-02-13 17:13:17 +11:00
gingerBill
8c2eb5df78 stdcall -> system 2024-01-17 16:54:50 +00:00
gingerBill
72d6b9b683 Replace stdcall with system 2024-01-17 16:43:27 +00:00
Igor Dreher
de84db85cb [vendor:directx/dxgi] change u32 flags to bit_sets 2023-12-28 09:42:37 -03:00
mfalk
bd96cd0af7 Fixed indentation and : binding 2023-12-04 05:49:42 +01:00
mfalk
6dffd412f9 Adding IUserDefinedAnnotation to D3D11 for better debugging. 2023-11-09 16:46:07 +01:00