libs/vkd3d: Remember the Query Heap creation properties.

This commit is contained in:
Sven Hesse 2017-08-25 15:08:05 +02:00
parent 65f63d14fa
commit 67587f81e4
2 changed files with 4 additions and 0 deletions

View File

@ -1718,6 +1718,7 @@ HRESULT d3d12_query_heap_create(struct d3d12_device *device, struct d3d12_query_
object->ID3D12QueryHeap_iface.lpVtbl = &d3d12_query_heap_vtbl;
object->refcount = 1;
object->device = device;
object->desc = *desc;
pool_info.sType = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO;
pool_info.pNext = NULL;

View File

@ -257,6 +257,9 @@ struct d3d12_query_heap
{
ID3D12QueryHeap ID3D12QueryHeap_iface;
LONG refcount;
D3D12_QUERY_HEAP_DESC desc;
VkQueryPool vk_query_pool;
struct d3d12_device *device;