Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22454>
batch->has_errors = true;
return;
}
+ if (FAILED(ctx->cmdlist->QueryInterface(IID_PPV_ARGS(&ctx->cmdlist8)))) {
+ ctx->cmdlist8 = nullptr;
+ }
}
ctx->cmdlist->SetDescriptorHeaps(2, heaps);
for (unsigned i = 0; i < ARRAY_SIZE(ctx->batches); ++i)
d3d12_destroy_batch(ctx, &ctx->batches[i]);
ctx->cmdlist->Release();
+ if (ctx->cmdlist8)
+ ctx->cmdlist8->Release();
d3d12_descriptor_pool_free(ctx->sampler_pool);
util_primconvert_destroy(ctx->primconvert);
slab_destroy_child(&ctx->transfer_pool);
uint64_t submit_id;
ID3D12GraphicsCommandList *cmdlist;
+ ID3D12GraphicsCommandList8 *cmdlist8;
ID3D12GraphicsCommandList *state_fixup_cmdlist;
struct list_head active_queries;