Lines Matching refs:vkDevice
181 const VkDevice vkDevice = m_context.getDevice(); in init() local
220 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in init()
223 …m_colorImageAlloc = m_memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), … in init()
224 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in init()
241 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in init()
306 …m_renderPasses.push_back(VkRenderPassSp(new Unique<VkRenderPass>(createRenderPass(vk, vkDevice, &r… in init()
330 …m_framebuffers.push_back(VkFramebufferSp(new Unique<VkFramebuffer>(createFramebuffer(vk, vkDevice,… in init()
373 …m_descriptorSetLayouts.push_back(createDescriptorSetLayout(vk, vkDevice, &descriptorSetLayoutCreat… in init()
388 …m_descriptorSetLayouts.push_back(createDescriptorSetLayout(vk, vkDevice, &descriptorSetLayoutCreat… in init()
408 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in init()
431 m_buffer = createBuffer(vk, vkDevice, &bufferCreateInfo); in init()
432 …m_bufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_buffer), MemoryRe… in init()
433 …VK_CHECK(vk.bindBufferMemory(vkDevice, *m_buffer, m_bufferAlloc->getMemory(), m_bufferAlloc->getOf… in init()
436 flushAlloc(vk, vkDevice, *m_bufferAlloc); in init()
444 …m_descriptorPool = poolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_B… in init()
459 m_descriptorSets.push_back(allocateDescriptorSet(vk, vkDevice, &allocInfo)); in init()
516 vk.updateDescriptorSets(vkDevice, 1u, &writeDescriptorSet, 0u, DE_NULL); in init()
521 …m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("vert"… in init()
522 …m_fragmentShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("fra… in init()
568 vkDevice, // const VkDevice device in init()
598 m_vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); in init()
599 …m_vertexBufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffe… in init()
601 …VK_CHECK(vk.bindBufferMemory(vkDevice, *m_vertexBuffer, m_vertexBufferAlloc->getMemory(), m_vertex… in init()
605 flushAlloc(vk, vkDevice, *m_vertexBufferAlloc); in init()
609 …m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex… in init()
613 …VkCommandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_C… in init()
871 const VkDevice vkDevice = m_context.getDevice(); in init() local
938 …m_descriptorSetLayouts.push_back(createDescriptorSetLayout(vk, vkDevice, &descriptorSetLayoutCreat… in init()
953 …m_descriptorSetLayouts.push_back(createDescriptorSetLayout(vk, vkDevice, &descriptorSetLayoutCreat… in init()
973 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in init()
996 m_buffer = createBuffer(vk, vkDevice, &bufferCreateInfo); in init()
997 …m_bufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_buffer), MemoryRe… in init()
998 …VK_CHECK(vk.bindBufferMemory(vkDevice, *m_buffer, m_bufferAlloc->getMemory(), m_bufferAlloc->getOf… in init()
1001 flushAlloc(vk, vkDevice, *m_bufferAlloc); in init()
1018 m_outputBuffer = createBuffer(vk, vkDevice, &bufferCreateInfo); in init()
1019 …m_outputBufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outputBuffe… in init()
1020 …VK_CHECK(vk.bindBufferMemory(vkDevice, *m_outputBuffer, m_outputBufferAlloc->getMemory(), m_output… in init()
1029 …m_descriptorPool = poolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_B… in init()
1044 m_descriptorSets.push_back(allocateDescriptorSet(vk, vkDevice, &allocInfo)); in init()
1101 vk.updateDescriptorSets(vkDevice, 1u, &writeDescriptorSet, 0u, DE_NULL); in init()
1146 vk.updateDescriptorSets(vkDevice, 1u, &writeDescriptorSet, 0u, DE_NULL); in init()
1151 …m_computeShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("comp… in init()
1178 m_computePipeline = createComputePipeline(vk, vkDevice, (vk::VkPipelineCache)0u, &createInfo); in init()
1182 …m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex… in init()
1186 …VkCommandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_C… in init()