mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
VK_NULL_HANDLE build fix.
This commit is contained in:
committed by
Baldur Karlsson
parent
539341a96f
commit
74ffa0ef87
@@ -284,14 +284,14 @@ vector<CounterResult> VulkanReplay::FetchCounters(const vector<uint32_t> &counte
|
||||
ObjDisp(dev)->CreateQueryPool(Unwrap(dev), &timeStampPoolCreateInfo, NULL, &timeStampPool);
|
||||
RDCASSERTEQUAL(vkr, VK_SUCCESS);
|
||||
|
||||
VkQueryPool occlusionPool = NULL;
|
||||
VkQueryPool occlusionPool = VK_NULL_HANDLE;
|
||||
if(availableFeatures.occlusionQueryPrecise)
|
||||
{
|
||||
vkr = ObjDisp(dev)->CreateQueryPool(Unwrap(dev), &occlusionPoolCreateInfo, NULL, &occlusionPool);
|
||||
RDCASSERTEQUAL(vkr, VK_SUCCESS);
|
||||
}
|
||||
|
||||
VkQueryPool pipeStatsPool = NULL;
|
||||
VkQueryPool pipeStatsPool = VK_NULL_HANDLE;
|
||||
if(availableFeatures.pipelineStatisticsQuery)
|
||||
{
|
||||
vkr = ObjDisp(dev)->CreateQueryPool(Unwrap(dev), &pipeStatsPoolCreateInfo, NULL, &pipeStatsPool);
|
||||
|
||||
Reference in New Issue
Block a user