Lines Matching refs:m_device
109 vkQueueSubmit(m_device->m_queue, 1, &submitInfo, VK_NULL_HANDLE); in TEST_F()
119 vkQueueSubmit(m_device->m_queue, 1, &submitInfo, VK_NULL_HANDLE); in TEST_F()
129 vkQueueSubmit(m_device->m_queue, 1, &submitInfo, VK_NULL_HANDLE); in TEST_F()
278 pool_create_info.queueFamilyIndex = m_device->graphics_queue_node_index_; in TEST_F()
415 pool_create_info.queueFamilyIndex = m_device->graphics_queue_node_index_; in TEST_F()
499 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
569 vkCreateSemaphore(m_device->device(), &semaphore_create_info, nullptr, &semaphore); in TEST_F()
579 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
580 vkDestroySemaphore(m_device->device(), semaphore, nullptr); in TEST_F()
636 testFence.init(*m_device, fenceInfo); in TEST_F()
649 vkQueueSubmit(m_device->m_queue, 1, &submit_info, testFence.handle()); in TEST_F()
650 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
708 auto features = m_device->phy().features(); in TEST_F()
792 auto queue_family_properties = m_device->phy().queue_properties(); in TEST_F()
806 vkGetDeviceQueue(m_device->device(), other_queue_family, 0, &other_queue); in TEST_F()
808 VkCommandPoolObj cmd_pool(m_device, queue_family); in TEST_F()
809 VkCommandBufferObj cmd_buff(m_device, &cmd_pool); in TEST_F()
875 err = vkCreateSemaphore(m_device->device(), &sci, nullptr, &export_semaphore); in TEST_F()
881 err = vkCreateSemaphore(m_device->device(), &sci, nullptr, &import_semaphore); in TEST_F()
890 …(PFN_vkGetSemaphoreWin32HandleKHR)vkGetDeviceProcAddr(m_device->device(), "vkGetSemaphoreWin32Hand… in TEST_F()
891 err = vkGetSemaphoreWin32HandleKHR(m_device->device(), &ghi, &handle); in TEST_F()
903 …(PFN_vkImportSemaphoreWin32HandleKHR)vkGetDeviceProcAddr(m_device->device(), "vkImportSemaphoreWin… in TEST_F()
904 err = vkImportSemaphoreWin32HandleKHR(m_device->device(), &ihi); in TEST_F()
910 …auto vkGetSemaphoreFdKHR = (PFN_vkGetSemaphoreFdKHR)vkGetDeviceProcAddr(m_device->device(), "vkGet… in TEST_F()
911 err = vkGetSemaphoreFdKHR(m_device->device(), &ghi, &fd); in TEST_F()
917 …auto vkImportSemaphoreFdKHR = (PFN_vkImportSemaphoreFdKHR)vkGetDeviceProcAddr(m_device->device(), … in TEST_F()
918 err = vkImportSemaphoreFdKHR(m_device->device(), &ihi); in TEST_F()
931 vkQueueSubmit(m_device->m_queue, 4, si, VK_NULL_HANDLE); in TEST_F()
934 auto index = m_device->graphics_queue_node_index_; in TEST_F()
935 if (m_device->queue_props[index].queueFlags & VK_QUEUE_SPARSE_BINDING_BIT) { in TEST_F()
944 vkQueueBindSparse(m_device->m_queue, 4, bi, VK_NULL_HANDLE); in TEST_F()
949 err = vkQueueWaitIdle(m_device->m_queue); in TEST_F()
951 vkDestroySemaphore(m_device->device(), export_semaphore, nullptr); in TEST_F()
952 vkDestroySemaphore(m_device->device(), import_semaphore, nullptr); in TEST_F()
1003 err = vkCreateFence(m_device->device(), &fci, nullptr, &export_fence); in TEST_F()
1011 err = vkCreateFence(m_device->device(), &fci, nullptr, &import_fence); in TEST_F()
1021 … (PFN_vkGetFenceWin32HandleKHR)vkGetDeviceProcAddr(m_device->device(), "vkGetFenceWin32HandleKHR"); in TEST_F()
1022 err = vkGetFenceWin32HandleKHR(m_device->device(), &ghi, &handle); in TEST_F()
1036 …(PFN_vkImportFenceWin32HandleKHR)vkGetDeviceProcAddr(m_device->device(), "vkImportFenceWin32Handle… in TEST_F()
1037 err = vkImportFenceWin32HandleKHR(m_device->device(), &ifi); in TEST_F()
1045 …auto vkGetFenceFdKHR = (PFN_vkGetFenceFdKHR)vkGetDeviceProcAddr(m_device->device(), "vkGetFenceFdK… in TEST_F()
1046 err = vkGetFenceFdKHR(m_device->device(), &gfi, &fd); in TEST_F()
1054 …auto vkImportFenceFdKHR = (PFN_vkImportFenceFdKHR)vkGetDeviceProcAddr(m_device->device(), "vkImpor… in TEST_F()
1055 err = vkImportFenceFdKHR(m_device->device(), &ifi); in TEST_F()
1061 vkResetFences(m_device->device(), 1, &import_fence); in TEST_F()
1064 vkQueueSubmit(m_device->m_queue, 0, nullptr, import_fence); in TEST_F()
1066 vkQueueSubmit(m_device->m_queue, 0, nullptr, import_fence); in TEST_F()
1070 err = vkQueueWaitIdle(m_device->m_queue); in TEST_F()
1072 vkDestroyFence(m_device->device(), export_fence, nullptr); in TEST_F()
1073 vkDestroyFence(m_device->device(), import_fence, nullptr); in TEST_F()
1083 VkResult result = vkCreateEvent(m_device->device(), &evci, NULL, &event); in TEST_F()
1093 vkDestroyEvent(m_device->device(), event, NULL); in TEST_F()
1099 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
1113 VkResult result = vkCreateQueryPool(m_device->device(), &qpci, nullptr, &query_pool); in TEST_F()
1123 vkDestroyQueryPool(m_device->device(), query_pool, NULL); in TEST_F()
1129 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
1146 vk_testing::QueueCreateInfoArray queue_info(m_device->queue_props); in TEST_F()
1222 vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F()
1227 vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F()
1299 …ASSERT_VK_SUCCESS(vkCreateSemaphore(m_device->device(), &semaphore_create_info, nullptr, &semaphor… in TEST_F()
1301 …ASSERT_VK_SUCCESS(vkCreateSemaphore(m_device->device(), &semaphore_create_info, nullptr, &semaphor… in TEST_F()
1305 ASSERT_VK_SUCCESS(vkCreateFence(m_device->device(), &fence_create_info, nullptr, &fence)); in TEST_F()
1318 vkAcquireNextImage2KHR(m_device->device(), &acquire_next_image_info, &imageIndex); in TEST_F()
1321 vkWaitForFences(m_device->device(), 1, &fence, VK_TRUE, std::numeric_limits<int>::max()); in TEST_F()
1322 vkResetFences(m_device->device(), 1, &fence); in TEST_F()
1328 vkAcquireNextImage2KHR(m_device->device(), &acquire_next_image_info, &imageIndex); in TEST_F()
1351 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
1353 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
1355 vkWaitForFences(m_device->device(), 1, &fence, VK_TRUE, std::numeric_limits<int>::max()); in TEST_F()
1356 vkDestroyFence(m_device->device(), fence, nullptr); in TEST_F()
1357 vkDestroySemaphore(m_device->device(), semaphore, nullptr); in TEST_F()
1358 vkDestroySemaphore(m_device->device(), semaphore2, nullptr); in TEST_F()
1373 …(PFN_vkCreateValidationCacheEXT)vkGetDeviceProcAddr(m_device->device(), "vkCreateValidationCacheEX… in TEST_F()
1375 …(PFN_vkDestroyValidationCacheEXT)vkGetDeviceProcAddr(m_device->device(), "vkDestroyValidationCache… in TEST_F()
1377 …(PFN_vkMergeValidationCachesEXT)vkGetDeviceProcAddr(m_device->device(), "vkMergeValidationCachesEX… in TEST_F()
1390 …VkResult res = fpCreateValidationCache(m_device->device(), &validationCacheCreateInfo, nullptr, &v… in TEST_F()
1394 res = fpMergeValidationCaches(m_device->device(), validationCache, 1, &validationCache); in TEST_F()
1397 fpDestroyValidationCache(m_device->device(), validationCache, nullptr); in TEST_F()
1424 if (m_device->queue_props.size() > 2) { in TEST_F()
1432 ib.init(*m_device, buffCI); in TEST_F()
1447 vk_testing::QueueCreateInfoArray queue_info(m_device->queue_props); in TEST_F()
1451 auto features = m_device->phy().features(); in TEST_F()
1487 vkCreateEvent(m_device->device(), &event_create_info, nullptr, &event); in TEST_F()
1490 vkGetDeviceQueue(m_device->device(), m_device->graphics_queue_node_index_, 0, &queue); in TEST_F()
1500 vkCreateQueryPool(m_device->device(), &query_pool_create_info, nullptr, &query_pool); in TEST_F()
1508 vkDestroyQueryPool(m_device->device(), query_pool, nullptr); in TEST_F()
1509 vkDestroyEvent(m_device->device(), event, nullptr); in TEST_F()
1525 auto features = m_device->phy().features(); in TEST_F()
1532 vkCreateEvent(m_device->handle(), &event_create_info, nullptr, &event); in TEST_F()
1542 vkCreateQueryPool(m_device->handle(), &query_pool_create_info, nullptr, &query_pool); in TEST_F()
1549 vkDestroyQueryPool(m_device->handle(), query_pool, nullptr); in TEST_F()
1550 vkDestroyEvent(m_device->handle(), event, nullptr); in TEST_F()
1612 auto features = m_device->phy().features(); in TEST_F()
1665 VkImageObj image(m_device); in TEST_F()
1673 VkResult err = vkCreateSampler(m_device->device(), &sampler_ci, NULL, &sampler); in TEST_F()
1677 VkShaderObj fs(m_device, bindStateFragSamplerShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
1717 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
1720 vkDestroyDescriptorPool(m_device->device(), pipe.descriptor_set_->pool_, NULL); in TEST_F()
1722 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
1724 vkDestroySampler(m_device->device(), sampler, NULL); in TEST_F()
1740 VkImageObj image(m_device); in TEST_F()
1747 err = vkCreateFramebuffer(m_device->device(), &fci, nullptr, &fb); in TEST_F()
1762 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
1765 vkDestroyFramebuffer(m_device->device(), fb, NULL); in TEST_F()
1768 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
1771 vkDestroyFramebuffer(m_device->device(), fb, nullptr); in TEST_F()
1798 VkImageObj image(m_device); in TEST_F()
1805 err = vkCreateFramebuffer(m_device->device(), &fci, nullptr, &fb); in TEST_F()
1821 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
1824 vkDestroyImage(m_device->device(), image.handle(), NULL); in TEST_F()
1827 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
1830 vkDestroyFramebuffer(m_device->device(), fb, nullptr); in TEST_F()
1842 vkCreateEvent(m_device->device(), &event_create_info, nullptr, &event); in TEST_F()
1846 vkDestroyEvent(m_device->device(), event, nullptr); in TEST_F()
1853 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
1870 …ASSERT_VK_SUCCESS(vkCreateSemaphore(m_device->device(), &semaphore_create_info, nullptr, &semaphor… in TEST_F()
1874 ASSERT_VK_SUCCESS(vkCreateFence(m_device->device(), &fence_create_info, nullptr, &fence)); in TEST_F()
1876 VkBufferTest buffer_test(m_device, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT); in TEST_F()
1889 vkCreateEvent(m_device->device(), &event_create_info, nullptr, &event); in TEST_F()
1907 vkQueueSubmit(m_device->m_queue, 1, &submit_info, fence); in TEST_F()
1911 vkDestroyEvent(m_device->device(), event, nullptr); in TEST_F()
1915 vkDestroySemaphore(m_device->device(), semaphore, nullptr); in TEST_F()
1919 vkDestroyFence(m_device->device(), fence, nullptr); in TEST_F()
1922 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
1925 vkDestroySemaphore(m_device->device(), semaphore, nullptr); in TEST_F()
1928 vkDestroyFence(m_device->device(), fence, nullptr); in TEST_F()
1931 vkDestroyEvent(m_device->device(), event, nullptr); in TEST_F()
1945 vkCreateQueryPool(m_device->device(), &query_pool_ci, nullptr, &query_pool); in TEST_F()
1957 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
1958 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
1964 …vkGetQueryPoolResults(m_device->handle(), query_pool, 0, 1, sizeof(data_space), &data_space, sizeo… in TEST_F()
1969 vkDestroyQueryPool(m_device->handle(), query_pool, NULL); in TEST_F()
1983 vkCreateQueryPool(m_device->device(), &query_pool_ci, nullptr, &query_pool); in TEST_F()
1996 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
1999 vkDestroyQueryPool(m_device->handle(), query_pool, NULL); in TEST_F()
2002 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
2006 vkDestroyQueryPool(m_device->handle(), query_pool, NULL); in TEST_F()
2015 const VkPipelineLayoutObj pipeline_layout(m_device); in TEST_F()
2041 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
2045 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
2048 vkDestroyPipeline(m_device->handle(), delete_this_pipeline, nullptr); in TEST_F()
2061 err = vkCreateSampler(m_device->device(), &sampler_ci, NULL, &sampler); in TEST_F()
2064 VkImageObj image(m_device); in TEST_F()
2071 VkShaderObj fs(m_device, bindStateFragSamplerShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
2114 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
2116 vkDestroyImageView(m_device->device(), view, nullptr); in TEST_F()
2118 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
2122 vkDestroySampler(m_device->device(), sampler, nullptr); in TEST_F()
2139 buffer.init(*m_device, buffer_create_info); in TEST_F()
2148 VkResult err = vkCreateBufferView(m_device->device(), &bvci, NULL, &view); in TEST_F()
2159 VkShaderObj fs(m_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
2200 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
2202 vkDestroyBufferView(m_device->device(), view, nullptr); in TEST_F()
2204 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
2208 vkDestroyBufferView(m_device->device(), view, NULL); in TEST_F()
2221 err = vkCreateSampler(m_device->device(), &sampler_ci, NULL, &sampler); in TEST_F()
2224 VkImageObj image(m_device); in TEST_F()
2231 VkShaderObj fs(m_device, bindStateFragSamplerShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
2274 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
2276 vkDestroySampler(m_device->device(), sampler, nullptr); // Destroyed too soon in TEST_F()
2278 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
2283 vkDestroySampler(m_device->device(), sampler, NULL); // Destroyed for real in TEST_F()
2294 VkCommandBufferObj cb1(m_device, m_commandPool); in TEST_F()
2301 …ASSERT_VK_SUCCESS(vkCreateSemaphore(m_device->device(), &semaphore_create_info, nullptr, &semaphor… in TEST_F()
2308 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
2314 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
2317 vkDeviceWaitIdle(m_device->device()); in TEST_F()
2318 vkDestroySemaphore(m_device->device(), semaphore, nullptr); in TEST_F()
2332 VkCommandBufferObj commandBuffer(m_device, m_commandPool); in TEST_F()
2393 vkQueueSubmit(m_device->m_queue, 1, &si, VK_NULL_HANDLE); in TEST_F()
2408 vk_testing::QueueCreateInfoArray queue_info(m_device->queue_props); in TEST_F()
2412 auto features = m_device->phy().features(); in TEST_F()
2451 …auto fpvkResetQueryPoolEXT = (PFN_vkResetQueryPoolEXT)vkGetDeviceProcAddr(m_device->device(), "vkR… in TEST_F()
2458 vkCreateQueryPool(m_device->device(), &query_pool_create_info, nullptr, &query_pool); in TEST_F()
2461 fpvkResetQueryPoolEXT(m_device->device(), query_pool, 0, 1); in TEST_F()
2464 vkDestroyQueryPool(m_device->device(), query_pool, nullptr); in TEST_F()
2496 …auto fpvkResetQueryPoolEXT = (PFN_vkResetQueryPoolEXT)vkGetDeviceProcAddr(m_device->device(), "vkR… in TEST_F()
2503 vkCreateQueryPool(m_device->device(), &query_pool_create_info, nullptr, &query_pool); in TEST_F()
2506 fpvkResetQueryPoolEXT(m_device->device(), query_pool, 1, 0); in TEST_F()
2509 vkDestroyQueryPool(m_device->device(), query_pool, nullptr); in TEST_F()
2541 …auto fpvkResetQueryPoolEXT = (PFN_vkResetQueryPoolEXT)vkGetDeviceProcAddr(m_device->device(), "vkR… in TEST_F()
2548 vkCreateQueryPool(m_device->device(), &query_pool_create_info, nullptr, &query_pool); in TEST_F()
2551 fpvkResetQueryPoolEXT(m_device->device(), query_pool, 0, 2); in TEST_F()
2554 vkDestroyQueryPool(m_device->device(), query_pool, nullptr); in TEST_F()
2586 …auto fpvkResetQueryPoolEXT = (PFN_vkResetQueryPoolEXT)vkGetDeviceProcAddr(m_device->device(), "vkR… in TEST_F()
2594 vkCreateQueryPool(m_device->device(), &query_pool_create_info, nullptr, &query_pool); in TEST_F()
2595 vkDestroyQueryPool(m_device->device(), query_pool, nullptr); in TEST_F()
2599 fpvkResetQueryPoolEXT(m_device->device(), query_pool, 0, 1); in TEST_F()
2632 …auto fpvkResetQueryPoolEXT = (PFN_vkResetQueryPoolEXT)vkGetDeviceProcAddr(m_device->device(), "vkR… in TEST_F()
2639 vkCreateQueryPool(m_device->device(), &query_pool_create_info, nullptr, &query_pool); in TEST_F()
2642 vk_testing::QueueCreateInfoArray queue_info(m_device->queue_props); in TEST_F()
2643 auto features = m_device->phy().features(); in TEST_F()
2662 vkDestroyQueryPool(m_device->device(), query_pool, nullptr); in TEST_F()
2673 vkCreateEvent(m_device->device(), &event_create_info, nullptr, &event); in TEST_F()
2678 pool_create_info.queueFamilyIndex = m_device->graphics_queue_node_index_; in TEST_F()
2680 vkCreateCommandPool(m_device->device(), &pool_create_info, nullptr, &command_pool); in TEST_F()
2688 vkAllocateCommandBuffers(m_device->device(), &command_buffer_allocate_info, &command_buffer); in TEST_F()
2691 vkGetDeviceQueue(m_device->device(), m_device->graphics_queue_node_index_, 0, &queue); in TEST_F()
2712 vkSetEvent(m_device->device(), event); in TEST_F()
2718 vkDestroyEvent(m_device->device(), event, nullptr); in TEST_F()
2719 vkFreeCommandBuffers(m_device->device(), command_pool, 1, &command_buffer); in TEST_F()
2720 vkDestroyCommandPool(m_device->device(), command_pool, NULL); in TEST_F()
2803 VkImageObj image(m_device); in TEST_F()
2822 result = vkCreateImageView(m_device->device(), &ivci, nullptr, &view); in TEST_F()
2825 vkDestroyImageView(m_device->device(), view, NULL); in TEST_F()
2833 result = vkCreateImageView(m_device->device(), &ivci, nullptr, &view); in TEST_F()
2836 vkDestroyImageView(m_device->device(), view, NULL); in TEST_F()
2841 vkCreateImageView(m_device->device(), &ivci, nullptr, &view); in TEST_F()
2911 VkImageObj nonSRIimage(m_device); in TEST_F()
2949 …(PFN_vkCmdBindShadingRateImageNV)vkGetDeviceProcAddr(m_device->device(), "vkCmdBindShadingRateImag… in TEST_F()
2961 …(PFN_vkCmdSetViewportShadingRatePaletteNV)vkGetDeviceProcAddr(m_device->device(), "vkCmdSetViewpor… in TEST_F()
3045 …(PFN_vkCmdSetCoarseSampleOrderNV)vkGetDeviceProcAddr(m_device->device(), "vkCmdSetCoarseSampleOrde… in TEST_F()
3067 vkDestroyImageView(m_device->device(), view, NULL); in TEST_F()
3096 VkDevice dev = m_device->device(); in TEST_F()
3242 VkDevice dev = m_device->device(); in TEST_F()
3316 VkDevice dev = m_device->device(); in TEST_F()
3561 VkDevice dev = m_device->device(); in TEST_F()
3631 vkGetPhysicalDeviceImageFormatProperties2(m_device->phy().handle(), &pdifi, &ifp); in TEST_F()
3641 vkGetPhysicalDeviceImageFormatProperties2(m_device->phy().handle(), &pdifi, &ifp); in TEST_F()
3668 VkDevice dev = m_device->device(); in TEST_F()
3744 vkGetImageMemoryRequirements(m_device->device(), img, &img_mem_reqs); in TEST_F()
3850 VkDevice dev = m_device->device(); in TEST_F()
3898 …VkMemoryAllocateInfo mai = vk_testing::DeviceMemory::get_resource_alloc_info(*m_device, mem_reqs, … in TEST_F()
3953 VkDevice dev = m_device->device(); in TEST_F()
4035 vkCreateQueryPool(m_device->device(), &query_pool_ci, nullptr, &query_pool); in TEST_F()
4046 vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE); in TEST_F()
4047 vkQueueWaitIdle(m_device->m_queue); in TEST_F()
4051 …vkGetQueryPoolResults(m_device->handle(), query_pool, 0, 1, sizeof(data_space), &data_space, 1, VK… in TEST_F()
4055 vkGetQueryPoolResults(m_device->handle(), query_pool, 0, 1, sizeof(data_space), &data_space, 1, in TEST_F()
4061 …vkGetQueryPoolResults(m_device->handle(), query_pool, 0, 1, sizeof(data_space4), &data_space4, 4, … in TEST_F()
4066 … vkGetQueryPoolResults(m_device->handle(), query_pool, 0, 1, sizeof(data_space8), &data_space8, 8, in TEST_F()
4079 buffer.init(*m_device, buff_create_info); in TEST_F()
4099 if (m_device->phy().features().multiDrawIndirect) { in TEST_F()
4132 vkDestroyQueryPool(m_device->handle(), query_pool, NULL); in TEST_F()
4201 …vbo.init(*m_device, 1024, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_B… in TEST_F()
4205 …ibo.init(*m_device, 1024, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_B… in TEST_F()
4209 …tbo.init(*m_device, 1024, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_B… in TEST_F()
4213 …aabbbo.init(*m_device, 1024, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHEREN… in TEST_F()
4221 unbound_buffer.init_no_mem(*m_device, unbound_buffer_ci); in TEST_F()
4275 vkGetDeviceProcAddr(m_device->handle(), "vkCreateAccelerationStructureNV")); in TEST_F()
4298 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4308 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4318 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4328 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4338 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4349 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4359 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4371 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4383 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4394 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4404 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4415 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4425 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4435 vkCreateAccelerationStructureNV(m_device->handle(), &as_create_info, nullptr, &as); in TEST_F()
4471 vkGetDeviceProcAddr(m_device->handle(), "vkCreateAccelerationStructureNV")); in TEST_F()
4477 GetSimpleGeometryForAccelerationStructureTests(*m_device, &vbo, &ibo, &geometry); in TEST_F()
4493 … vkCreateAccelerationStructureNV(m_device->handle(), &bad_top_level_create_info, nullptr, &as); in TEST_F()
4505 … vkCreateAccelerationStructureNV(m_device->handle(), &bad_bot_level_create_info, nullptr, &as); in TEST_F()
4519 … vkCreateAccelerationStructureNV(m_device->handle(), &bad_flags_level_create_info, nullptr, &as); in TEST_F()
4534 … vkCreateAccelerationStructureNV(m_device->handle(), &bad_compacting_as_create_info, nullptr, &as); in TEST_F()
4563 …vkCreateAccelerationStructureNV(m_device->handle(), &mix_geometry_types_as_create_info, nullptr, &… in TEST_F()
4576 vkGetDeviceProcAddr(m_device->handle(), "vkBindAccelerationStructureMemoryNV")); in TEST_F()
4582 GetSimpleGeometryForAccelerationStructureTests(*m_device, &vbo, &ibo, &geometry); in TEST_F()
4592 VkAccelerationStructureObj as(*m_device, as_create_info, false); in TEST_F()
4604 …ASSERT_TRUE(m_device->phy().set_memory_type(as_memory_requirements.memoryTypeBits, &as_memory_allo… in TEST_F()
4683 vkGetPhysicalDeviceMemoryProperties(m_device->phy().handle(), &memory_properties); in TEST_F()
4689 …ASSERT_TRUE(m_device->phy().set_memory_type(unsupported_mem_type_bits, &as_memory_alloc_bad_type, … in TEST_F()
4708 VkAccelerationStructureObj as_twice(*m_device, as_create_info, false); in TEST_F()
4741 vkGetDeviceProcAddr(m_device->handle(), "vkCmdBuildAccelerationStructureNV")); in TEST_F()
4747 GetSimpleGeometryForAccelerationStructureTests(*m_device, &vbo, &ibo, &geometry); in TEST_F()
4757 VkAccelerationStructureObj bot_level_as(*m_device, bot_level_as_create_info); in TEST_F()
4761 bot_level_as.create_scratch_buffer(*m_device, &bot_level_as_scratch); in TEST_F()
4810 VkBufferObj too_small_scratch_buffer(*m_device, too_small_scratch_buffer_info); in TEST_F()
4824 VkAccelerationStructureObj bot_level_as_updated(*m_device, bot_level_as_create_info); in TEST_F()
4848 vkGetDeviceProcAddr(m_device->handle(), "vkGetAccelerationStructureHandleNV")); in TEST_F()
4854 GetSimpleGeometryForAccelerationStructureTests(*m_device, &vbo, &ibo, &geometry); in TEST_F()
4866 VkAccelerationStructureObj bot_level_as(*m_device, bot_level_as_create_info); in TEST_F()
4872 …vkGetAccelerationStructureHandleNV(m_device->handle(), bot_level_as.handle(), sizeof(uint8_t), &ha… in TEST_F()
4878 …VkAccelerationStructureObj bot_level_as(*m_device, bot_level_as_create_info, /*init_memory=*/false… in TEST_F()
4884 …vkGetAccelerationStructureHandleNV(m_device->handle(), bot_level_as.handle(), sizeof(uint64_t), &h… in TEST_F()
4896 vkGetDeviceProcAddr(m_device->handle(), "vkCmdCopyAccelerationStructureNV")); in TEST_F()
4902 GetSimpleGeometryForAccelerationStructureTests(*m_device, &vbo, &ibo, &geometry); in TEST_F()
4912 VkAccelerationStructureObj src_as(*m_device, as_create_info); in TEST_F()
4913 VkAccelerationStructureObj dst_as(*m_device, as_create_info); in TEST_F()
4914 VkAccelerationStructureObj dst_as_without_mem(*m_device, as_create_info, false); in TEST_F()