Home
last modified time | relevance | path

Searched refs:VK_NULL_HANDLE (Results 1 – 25 of 25) sorted by relevance

/external/vulkan-validation-layers/demos/smoke/
DShell.cpp230 ctx_.physical_dev = VK_NULL_HANDLE; in init_physical_dev()
265 if (ctx_.physical_dev == VK_NULL_HANDLE) in init_physical_dev()
287 if (ctx_.dev == VK_NULL_HANDLE) in destroy_context()
298 ctx_.game_queue = VK_NULL_HANDLE; in destroy_context()
299 ctx_.present_queue = VK_NULL_HANDLE; in destroy_context()
302 ctx_.dev = VK_NULL_HANDLE; in destroy_context()
394 ctx_.swapchain = VK_NULL_HANDLE; in create_swapchain()
401 if (ctx_.swapchain != VK_NULL_HANDLE) { in destroy_swapchain()
405 ctx_.swapchain = VK_NULL_HANDLE; in destroy_swapchain()
409 ctx_.surface = VK_NULL_HANDLE; in destroy_swapchain()
[all …]
DSmoke.cpp367 …vk::assert_success(vk::CreateGraphicsPipelines(dev_, VK_NULL_HANDLE, 1, &pipeline_info, nullptr, &… in create_pipeline()
431 std::vector<VkCommandPool> cmd_pools(workers_.size() + 1, VK_NULL_HANDLE); in create_command_buffers()
433 std::vector<VkCommandBuffer>(frame_data_.size(), VK_NULL_HANDLE)); in create_command_buffers()
548 std::vector<VkDescriptorSet> desc_sets(frame_data_.size(), VK_NULL_HANDLE); in create_descriptor_sets()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp41 : m_commandPool(), m_commandBuffer(), m_renderPass(VK_NULL_HANDLE), in VkRenderFramework()
42 m_framebuffer(VK_NULL_HANDLE), m_width(256.0), // default window width in VkRenderFramework()
47 m_CreateDebugReportCallback(VK_NULL_HANDLE), in VkRenderFramework()
48 m_DestroyDebugReportCallback(VK_NULL_HANDLE), in VkRenderFramework()
49 m_globalMsgCallback(VK_NULL_HANDLE), m_devMsgCallback(VK_NULL_HANDLE) { in VkRenderFramework()
543 m_descriptorImageInfo.imageView = VK_NULL_HANDLE; in VkImageObj()
821 view.image = VK_NULL_HANDLE; in VkTextureObj()
975 cmd_buf_hinfo.renderPass = VK_NULL_HANDLE; in BufferMemoryBarrier()
977 cmd_buf_hinfo.framebuffer = VK_NULL_HANDLE; in BufferMemoryBarrier()
1117 m_vi_state.pNext = VK_NULL_HANDLE; in VkPipelineObj()
[all …]
Dvktestbinding.h76 bool initialized() const { return (handle_ != VK_NULL_HANDLE); } in initialized()
81 explicit Handle() : handle_(VK_NULL_HANDLE) {} in Handle()
99 explicit NonDispHandle() : Handle<T>(), dev_handle_(VK_NULL_HANDLE) {} in NonDispHandle()
106 assert(!Handle<T>::initialized() && dev_handle_ == VK_NULL_HANDLE); in init()
Dvktestbinding.cpp824 hinfo.renderPass = VK_NULL_HANDLE; in begin()
826 hinfo.framebuffer = VK_NULL_HANDLE; in begin()
Dlayer_validation_tests.cpp565 info.renderPass = VK_NULL_HANDLE;
567 info.framebuffer = VK_NULL_HANDLE;
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp57 if (VK_NULL_HANDLE != fSubmitFence) { in freeGPUData()
151 fSubmitFence = VK_NULL_HANDLE; in submitToQueue()
156 if (VK_NULL_HANDLE == fSubmitFence) { in finished()
DGrVkCommandBuffer.h172 , fSubmitFence(VK_NULL_HANDLE) in GrVkCommandBuffer()
DGrVkPipeline.cpp488 pipelineCreateInfo.basePipelineHandle = VK_NULL_HANDLE; in Create()
/external/vulkan-validation-layers/demos/
Dtri.c285 if (demo->setup_cmd == VK_NULL_HANDLE) in demo_flush_init_cmd()
292 VkFence nullFence = {VK_NULL_HANDLE}; in demo_flush_init_cmd()
310 demo->setup_cmd = VK_NULL_HANDLE; in demo_flush_init_cmd()
321 if (demo->setup_cmd == VK_NULL_HANDLE) { in demo_set_image_layout()
336 .renderPass = VK_NULL_HANDLE, in demo_set_image_layout()
338 .framebuffer = VK_NULL_HANDLE, in demo_set_image_layout()
397 .renderPass = VK_NULL_HANDLE, in demo_draw_build_cmd()
399 .framebuffer = VK_NULL_HANDLE, in demo_draw_build_cmd()
530 VkFence nullFence = VK_NULL_HANDLE; in demo_draw()
661 if (oldSwapchain != VK_NULL_HANDLE) { in demo_prepare_buffers()
[all …]
Dcube.c459 if (demo->cmd == VK_NULL_HANDLE) in demo_flush_init_cmd()
466 VkFence nullFence = VK_NULL_HANDLE; in demo_flush_init_cmd()
484 demo->cmd = VK_NULL_HANDLE; in demo_flush_init_cmd()
494 if (demo->cmd == VK_NULL_HANDLE) { in demo_set_image_layout()
509 .renderPass = VK_NULL_HANDLE, in demo_set_image_layout()
511 .framebuffer = VK_NULL_HANDLE, in demo_set_image_layout()
570 .renderPass = VK_NULL_HANDLE, in demo_draw_build_cmd()
572 .framebuffer = VK_NULL_HANDLE, in demo_draw_build_cmd()
683 VkFence nullFence = VK_NULL_HANDLE; in demo_draw()
868 if (oldSwapchain != VK_NULL_HANDLE) { in demo_prepare_buffers()
[all …]
/external/vulkan-validation-layers/layers/
Dcore_validation.h490 …SS_NODE(VkRenderPassCreateInfo const *pCreateInfo) : pCreateInfo(pCreateInfo), fb(VK_NULL_HANDLE) { in RENDER_PASS_NODE()
806 pipeline = VK_NULL_HANDLE;
807 pipelineLayout = VK_NULL_HANDLE;
Dthreading.cpp231 if (device == VK_NULL_HANDLE) { in vkGetDeviceProcAddr()
256 if (instance == VK_NULL_HANDLE) { in vkGetInstanceProcAddr()
Dunique_objects.h223 if (VK_NULL_HANDLE != fence) { in explicit_QueueSubmit()
370 if (VK_NULL_HANDLE != fence) { in explicit_QueueBindSparse()
543 if (VK_NULL_HANDLE != swapchain) { in explicit_GetSwapchainImagesKHR()
Dvk_layer_utils.cpp619 VkDebugReportCallbackEXT callback = VK_NULL_HANDLE; in layer_debug_actions()
Dcore_validation.cpp367 if (fence != VK_NULL_HANDLE) { in add_fence_info()
498 my_data->memObjMap[mem].image = VK_NULL_HANDLE; in add_mem_obj_info()
507 VkImage image = VK_NULL_HANDLE) { in validate_memory_is_valid()
529 …emory_valid(layer_data *dev_data, VkDeviceMemory mem, bool valid, VkImage image = VK_NULL_HANDLE) { in set_memory_valid()
715 assert(pInfo->object != VK_NULL_HANDLE); in freeMemObjInfo()
769 pObjBindInfo->mem = VK_NULL_HANDLE; in clear_object_binding()
806 if (mem == VK_NULL_HANDLE) { in set_mem_binding()
862 if (mem == VK_NULL_HANDLE) { in set_sparse_mem_binding()
912 *mem = VK_NULL_HANDLE; in get_mem_binding_from_object()
2701 auto layouts = pCreateInfo->layout != VK_NULL_HANDLE in validate_pipeline_shaders()
[all …]
Dswapchain.cpp1746 if ((semaphore == VK_NULL_HANDLE) && (fence == VK_NULL_HANDLE)) { in vkAcquireNextImageKHR()
1965 if (device == VK_NULL_HANDLE) { in vkGetDeviceProcAddr()
2013 if (instance == VK_NULL_HANDLE) { in vkGetInstanceProcAddr()
Dparameter_validation.cpp3022 if (pCreateInfos->basePipelineHandle != VK_NULL_HANDLE) { in PreCreateGraphicsPipelines()
3031 if (pCreateInfos->basePipelineHandle != VK_NULL_HANDLE) { in PreCreateGraphicsPipelines()
3215 if (pCreateInfos->renderPass == VK_NULL_HANDLE) { in PreCreateGraphicsPipelines()
Dvk_validation_layer_details.md34 …rs that are being recorded, and primary command buffers must specify VK_NULL_HANDLE for RenderPass…
/external/vulkan-validation-layers/libs/vkjson/
Dvkjson_instance.cc158 std::vector<VkPhysicalDevice> devices(count, VK_NULL_HANDLE); in VkJsonGetInstance()
/external/vulkan-validation-layers/loader/
Dtrampoline.c60 if (instance == VK_NULL_HANDLE) { in vkGetInstanceProcAddr()
243 VkInstance created_instance = VK_NULL_HANDLE;
245 VkDebugReportCallbackEXT instance_callback = VK_NULL_HANDLE;
Dloader.c2611 if (inst == VK_NULL_HANDLE) {
3750 icds->instance = VK_NULL_HANDLE;
/external/deqp/doc/testspecs/VK/
Dapitests.adoc643 …n without a fence | Call vkQueueSubmit with VK_NULL_HANDLE passed as fence. | If fence is not VK_N…
/external/skia/third_party/vulkan/
Dvulkan.h50 #define VK_NULL_HANDLE 0 macro
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.h56 #define VK_NULL_HANDLE 0 macro