Skip to content

Commit 999968d

Browse files
committed
[D3D12] Support List2
1 parent c6a8db9 commit 999968d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

backends/gpu/direct3d12/includes/kore3/direct3d12/commandlist_structs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ typedef struct kore_d3d12_command_list {
5151
uint8_t current_allocator_index;
5252

5353
#ifdef KORE_D3D12_NO_RAYTRACING
54-
struct ID3D12GraphicsCommandList3 *list;
54+
struct ID3D12GraphicsCommandList2 *list;
5555
#else
5656
struct ID3D12GraphicsCommandList4 *list;
5757
#endif

backends/gpu/direct3d12/sources/device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ void kore_d3d12_device_create_command_list(kore_gpu_device *device, kore_gpu_com
683683
list->d3d12.current_allocator_index = 0;
684684

685685
#ifdef KORE_D3D12_NO_RAYTRACING
686-
kore_microsoft_affirm(COM_CREATE(device->d3d12.device, CreateCommandList, ID3D12GraphicsCommandList3, &list->d3d12.list, 0, list_type,
686+
kore_microsoft_affirm(COM_CREATE(device->d3d12.device, CreateCommandList, ID3D12GraphicsCommandList2, &list->d3d12.list, 0, list_type,
687687
list->d3d12.allocator[list->d3d12.current_allocator_index], NULL));
688688
#else
689689
kore_microsoft_affirm(COM_CREATE(device->d3d12.device, CreateCommandList, ID3D12GraphicsCommandList4, &list->d3d12.list, 0, list_type,

0 commit comments

Comments
 (0)