Skip to content

Commit 584fdc0

Browse files
authored
Merge pull request #4827 from denovodavid/pr-d3d12-vtable-fixes
vendor:directx/d3d12: fix some vtables
2 parents 4678186 + ca17a5e commit 584fdc0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vendor/directx/d3d12/d3d12.odin

+4-4
Original file line numberDiff line numberDiff line change
@@ -2423,7 +2423,7 @@ IFence1 :: struct #raw_union {
24232423
using id3d12fence1_vtable: ^IFence1_VTable,
24242424
}
24252425
IFence1_VTable :: struct {
2426-
#subtype id3d12fence_vtable: IFence_VTable,
2426+
using id3d12fence_vtable: IFence_VTable,
24272427
GetCreationFlags: proc "system" (this: ^IFence1) -> FENCE_FLAGS,
24282428
}
24292429

@@ -2456,14 +2456,14 @@ IDescriptorHeap_VTable :: struct {
24562456
IQueryHeap_UUID_STRING :: "0d9658ae-ed45-469e-a61d-970ec583cab4"
24572457
IQueryHeap_UUID := &IID{0x0d9658ae, 0xed45, 0x469e, {0xa6, 0x1d, 0x97, 0x0e, 0xc5, 0x83, 0xca, 0xb4}}
24582458
IQueryHeap :: struct {
2459-
#subtype id3d12pageable: IPageable,
2459+
using id3d12pageable: IPageable,
24602460
}
24612461

24622462

24632463
ICommandSignature_UUID_STRING :: "c36a797c-ec80-4f0a-8985-a7b2475082d1"
24642464
ICommandSignature_UUID := &IID{0xc36a797c, 0xec80, 0x4f0a, {0x89, 0x85, 0xa7, 0xb2, 0x47, 0x50, 0x82, 0xd1}}
24652465
ICommandSignature :: struct {
2466-
#subtype id3d12pageable: IPageable,
2466+
using id3d12pageable: IPageable,
24672467
}
24682468

24692469

@@ -2921,7 +2921,7 @@ META_COMMAND_DESC :: struct {
29212921
IStateObject_UUID_STRING :: "47016943-fca8-4594-93ea-af258b55346d"
29222922
IStateObject_UUID := &IID{0x47016943, 0xfca8, 0x4594, {0x93, 0xea, 0xaf, 0x25, 0x8b, 0x55, 0x34, 0x6d}}
29232923
IStateObject :: struct #raw_union {
2924-
#subtype id3d12pageable: IPageable,
2924+
using id3d12pageable: IPageable,
29252925
}
29262926

29272927

0 commit comments

Comments
 (0)