vkd3d: Use vk_append_struct() in more places.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia
2019-07-06 07:36:32 +02:00
committed by Alexandre Julliard
parent 8ba2b2baec
commit 56d260b40e
3 changed files with 36 additions and 42 deletions

View File

@@ -19,16 +19,6 @@
#include "vkd3d_private.h"
static void vk_append_struct(void *h, void *structure)
{
VkBaseOutStructure *header = h;
while (header->pNext)
header = header->pNext;
header->pNext = structure;
}
/* ID3D12RootSignature */
static inline struct d3d12_root_signature *impl_from_ID3D12RootSignature(ID3D12RootSignature *iface)
{