Lines Matching defs:device
45 const VkDevice device = context.getDevice();
62 Move<VkBuffer> buffer(createBuffer(vki, device, &createInfo));
64 const VkMemoryRequirements requirements = getBufferMemoryRequirements(vki, device, *buffer);
67 VK_CHECK(vki.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset()));
78 flushAlloc(vki, device, *allocation);
92 const VkDevice device = context.getDevice();
109 Move<VkBuffer> buffer(createBuffer(vki, device, &createInfo));
111 const VkMemoryRequirements requirements = getBufferMemoryRequirements(vki, device, *buffer);
114 VK_CHECK(vki.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset()));
126 flushAlloc(vki, device, *allocation);
136 const VkDevice device = context.getDevice();
143 return builder.build(vki, device);
149 const VkDevice device = context.getDevice();
154 .build(vki, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1);
165 const VkDevice device = context.getDevice();
178 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo);
188 builder.update(vki, device);
202 const VkDevice device = context.getDevice();
219 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo);
229 builder.update(vki, device);