vkd3d: Remove unused unsafe_impl_from_ID3D12CommandAllocator.

Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
This commit is contained in:
Philip Rebohle 2021-04-12 16:37:59 +02:00 committed by Hans-Kristian Arntzen
parent 4f9ca6c3df
commit 62cbf3d78a
2 changed files with 0 additions and 9 deletions

View File

@ -1638,14 +1638,6 @@ static CONST_VTBL struct ID3D12CommandAllocatorVtbl d3d12_command_allocator_vtbl
d3d12_command_allocator_Reset,
};
struct d3d12_command_allocator *unsafe_impl_from_ID3D12CommandAllocator(ID3D12CommandAllocator *iface)
{
if (!iface)
return NULL;
assert(iface->lpVtbl == &d3d12_command_allocator_vtbl);
return impl_from_ID3D12CommandAllocator(iface);
}
struct vkd3d_queue_family_info *d3d12_device_get_vkd3d_queue_family(struct d3d12_device *device,
D3D12_COMMAND_LIST_TYPE type)
{

View File

@ -1536,7 +1536,6 @@ HRESULT d3d12_command_allocator_create(struct d3d12_device *device,
bool d3d12_command_allocator_allocate_query_from_type_index(
struct d3d12_command_allocator *allocator,
uint32_t type_index, VkQueryPool *query_pool, uint32_t *query_index);
struct d3d12_command_allocator *unsafe_impl_from_ID3D12CommandAllocator(ID3D12CommandAllocator *iface);
enum vkd3d_pipeline_dirty_flag
{