Commit Graph

45 Commits

Author SHA1 Message Date
connnnal
e77dd887aa Partial 1.619.x d3d12 bindings 2026-03-08 16:50:53 +00: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
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
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
imlodinu
cce2cb79c9 Change single pointers to multipointers, fix UUIDs in d3d11 and d3d12 2024-12-19 12:23:00 +08:00
gingerBill
eb799393d5 Fix -vet-tabs issues 2024-08-24 13:56:41 +01:00
Waldemar Schiefer
935865a978 Update d3d12 API 2024-05-09 19:46:02 +02:00
tim4242
d5bb67e9e6 Fixup vendor/d3d12 calling convention mistakes 2024-04-12 20:47:02 +02:00
gingerBill
8c2eb5df78 stdcall -> system 2024-01-17 16:54:50 +00:00
jakubtomsu
9e36e28217 Update d3d12.odin 2023-11-04 17:40:13 +01:00
Charlie Shenton
c7d4af5c79 Add Dynamic Resource Root Signature flags
Add flag values associated with dynamics resources (ResourceDescriptorHeap and SamplerDescriptorHeap) see https://microsoft.github.io/DirectX-Specs/d3d/HLSL_SM_6_6_DynamicResources.html for details
2023-04-22 16:39:01 +10:00
Marko
ede57720fd Fix brace style and indentation 2023-03-13 23:08:15 +01:00
Marko
731b9c902f Add RegisterMessageCallback for d3d12 2023-03-11 05:25:17 +01:00
gingerBill
de6c0f682f Merge pull request #2343 from Hyp-X/pr-heapflags
Fix d3d12 HEAP_FLAG_ALLOW_ONLY_BUFFERS flags
2023-02-24 11:58:30 +00:00
Hyp-X
0dc166e594 Add d3d12shader missing types and UUID's 2023-02-24 10:02:12 +01:00
Hyp-X
8ba080a66d Fix d3d12 HEAP_FLAG_ALLOW_ONLY_BUFFERS flags 2023-02-23 17:15:13 +01:00
gingerBill
7801582819 Merge pull request #2341 from Hyp-X/pr-getresourceallocationinfo
Fix d3d12 GetResourceAllocationInfo signature
2023-02-23 15:48:02 +00:00
Hyp-X
b7d7b9d6b3 Fix d3d12 GetResourceAllocationInfo signature 2023-02-23 16:30:28 +01:00
Hyp-X
cf091a48b4 Fixed d3d12 shader reflection vtables 2023-02-23 14:48:58 +01:00
Hyp-X
1d9d79542c d3d12: Fixed RESOURCE_STATE_GENERIC_READ flags 2022-11-03 10:49:45 +01:00
gingerBill
717522efe4 Correct more flags for d3d12 2022-11-02 22:45:05 +00:00
gingerBill
765c1546c5 Make many d3d12 flags enums into bit_set 2022-11-02 16:43:29 +00:00
Luxko
d89c4606bd Add missing field for TEXTURE_COPY_LOCATION
Add missing anonymous union field for [D3D12_TEXTURE_COPY_LOCATION ](https://docs.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_texture_copy_location):
```C
union {
    D3D12_PLACED_SUBRESOURCE_FOOTPRINT PlacedFootprint;
    UINT                               SubresourceIndex;
  };
```
2022-06-19 19:06:31 +08:00
Karl Zylinski
03c9212600 Added some additional IID versions of Direct3D 12 UUIDs that I missed during my first pass. All are accounted for now. 2022-04-27 22:30:28 +02:00
Karl Zylinski
67689ecb21 Typo fix in d3d12.odin 2022-04-27 20:47:05 +02:00
Karl Zylinski
cd13dedb36 D3D12 binding fixes: Added dxgi.IID versions of all the UUIDs in d3d12.odin so that the IIDs can be used to fetch interfaces properly. Also fixed an issue where GetDesc, GetCPUDescriptorHandleForHeapStart and GetGPUDescriptorHandleForHeapStart had the wrong signature due to an old D3D12 header bug, more info: https://stackoverflow.com/questions/34118929/getcpudescriptorhandleforheapstart-stack-corruption 2022-04-27 20:12:44 +02:00
gingerBill
1d147ba993 Fix typo 2022-03-14 12:44:35 +00:00
gingerBill
23be56af59 Remove prefixes from D3D12 constants 2022-02-18 21:45:20 +00:00
gingerBill
002ac6a1b7 Add vendor:directx packages: dxgi, d3d11, and d3d12
TODO: enums marked with `bit_set` may need conversions
2022-02-16 21:26:34 +00:00