Commit Graph

53 Commits

Author SHA1 Message Date
jakubtomsu
9e36e28217 Update d3d12.odin 2023-11-04 17:40:13 +01:00
gingerBill
f96579824b Merge pull request #2791 from ftphikari/master
[core:sys/windows] Added couple of procedures
2023-09-15 11:22:30 +01:00
AbdelHameed-Hamed
06d26df046 Move API into one file and use "system" calling convention, and move data definitions into platform specific files. 2023-09-14 19:24:44 +02:00
hikari
aaccaa19bf [vendor:directx/d3d11] Added CalcSubresource helper macro 2023-09-13 23:47:18 +03:00
AbdelHameed-Hamed
d0ef6d2a9b Add unix bindings for DXC. 2023-08-31 11:50:29 +02:00
hikari
d2375a79f2 [vendor:directx/d3d11] Added missing UUIDs for shader reflection 2023-07-25 14:42:08 +03:00
hikari
20dc8b222d [vendor:directx/dxgi] Removed GetDebugInterface
Since Windows 8.1 `DXGIGetDebugInterface1` is present, which eliminates the need for `GetDebugInterface`. Odin does not support Windows versions that Microsoft doesn't support, so anything Windows 7 and earlier is basically useless anyway.
2023-07-18 02:35:05 +03:00
ftphikari
ab7652010b [vendor:directx/dxgi] Rename debug_interface_init to InitDebugInterface 2023-07-13 17:41:21 +03:00
ftphikari
7990566f6b Code review fixes 2023-07-13 17:16:32 +03:00
ftphikari
b6baee5f77 [vendor:directx/dxgi] Added GetDebugInterface 2023-07-13 02:11:46 +03:00
ftphikari
24c3ec235a [vendor:directx/d3d_compiler] Added default include file handler 2023-07-12 00:56:01 +03:00
gingerBill
d56fdd2937 Add fmt:"s,0" tags to UTF-16 strings in dxgi.odin 2023-05-18 12:00:23 +01:00
gingerBill
6639b7d017 Merge pull request #2500 from Ahsan-Sarbaz/master
Fixed a bug in DXGI
2023-05-18 11:57:55 +01:00
Ahsan-Sarbaz
808e7ed4ae Fixed Bug in DXGI 2023-05-01 00:16:20 +05: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
Jeroen van Rijn
33ca85bd4e Fix #2385 2023-03-16 10:59:19 +01: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
Jeroen van Rijn
96fb5eb0ba Add license for dxcompiler libs. 2023-02-26 19:48:44 +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
gingerBill
9cfcb43725 Merge pull request #2345 from Hyp-X/pr-dxc
Add vendor:directx/dxc package
2023-02-24 11:57:59 +00:00
Hyp-X
450c535e9a Add vendor:directx/dxc package:
DirectX Shader Compiler
2023-02-24 11:34:00 +01: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
gingerBill
bc882e678d Merge pull request #2340 from Hyp-X/pr-shader-reflection-fix
Fixed d3d12 shader reflection vtables
2023-02-23 15:40:15 +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
d9bfe9e5d4 Add dxgidebug.h implementation to dxgi package 2023-02-23 14:39:39 +01:00
hikari
6ec7284467 vendor/d3d11: fixed function definition 2023-01-29 01:38:28 +02:00
gingerBill
b54fc8ff95 Fix UUID 2022-11-21 11:53:49 +00:00
gingerBill
8745942255 Fix #2174 2022-11-21 11:42:43 +00:00
Hyp-X
1d9d79542c d3d12: Fixed RESOURCE_STATE_GENERIC_READ flags 2022-11-03 10:49:45 +01:00
gingerBill
1a6d4c955a Add more bit_sets to direct packages 2022-11-02 23:12:43 +00: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
gingerBill
b7ea169c81 Fixed #2170 2022-11-02 11:36:49 +00:00
gingerBill
a5f8c3f692 Update many enums to bit_sets for D3D11 2022-10-23 13:17:37 +01:00
eadesmet
023cc8b572 Added support for ID3D11InfoQueue 2022-09-12 18:19:12 -04:00
Lucas Perlind
43b78e51a4 Add ID3D11Debug interface to d3d11 package 2022-08-10 22:28:24 +10:00
Hyp-X
0815b4d59f Update dxgi.odin
Fixed CreateDXGIFactory* last parameter to be ^rawptr instead of rawptr
2022-08-01 14:04:12 +02: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
Jeroen van Rijn
d10a2bc5d5 Format DXGI constants 2022-05-21 12:59:16 +02:00
Luxko
a5bf3b0bc5 add dxgi HRESULT constants 2022-05-21 15:53:20 +09: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
746d5fc322 Correct D3D packages 2022-02-17 20:48:50 +00:00