Home
last modified time | relevance | path

Searched refs:dev_ (Results 1 – 4 of 4) sorted by relevance

/external/vulkan-validation-layers/demos/smoke/
DSmoke.cpp99 dev_ = ctx.dev; in attach_shell()
118 meshes_ = new Meshes(dev_, mem_flags_); in attach_shell()
160 vk::DestroyPipeline(dev_, pipeline_, nullptr); in detach_shell()
161 vk::DestroyPipelineLayout(dev_, pipeline_layout_, nullptr); in detach_shell()
163 vk::DestroyDescriptorSetLayout(dev_, desc_set_layout_, nullptr); in detach_shell()
164 vk::DestroyShaderModule(dev_, fs_, nullptr); in detach_shell()
165 vk::DestroyShaderModule(dev_, vs_, nullptr); in detach_shell()
166 vk::DestroyRenderPass(dev_, render_pass_, nullptr); in detach_shell()
220 vk::assert_success(vk::CreateRenderPass(dev_, &render_pass_info, nullptr, &render_pass_)); in create_render_pass()
236 vk::assert_success(vk::CreateShaderModule(dev_, &sh_info, nullptr, &vs_)); in create_shader_modules()
[all …]
DMeshes.cpp420 : dev_(dev), in Meshes()
460 vk::assert_success(vk::MapMemory(dev_, mem_, 0, VK_WHOLE_SIZE, in Meshes()
471 vk::UnmapMemory(dev_, mem_); in Meshes()
476 vk::FreeMemory(dev_, mem_, nullptr); in ~Meshes()
477 vk::DestroyBuffer(dev_, vb_, nullptr); in ~Meshes()
478 vk::DestroyBuffer(dev_, ib_, nullptr); in ~Meshes()
503 vk::CreateBuffer(dev_, &buf_info, nullptr, &vb_); in allocate_resources()
507 vk::CreateBuffer(dev_, &buf_info, nullptr, &ib_); in allocate_resources()
510 vk::GetBufferMemoryRequirements(dev_, vb_, &vb_mem_reqs); in allocate_resources()
511 vk::GetBufferMemoryRequirements(dev_, ib_, &ib_mem_reqs); in allocate_resources()
[all …]
DMeshes.h51 VkDevice dev_; variable
DSmoke.h146 VkDevice dev_; variable