Lines Matching refs:m_vk
16 const VulkanDispatch& m_vk; member
37 : m_vk(vk), in RenderResourceVkBase()
108 m_vk.vkFreeCommandBuffers(m_vkDevice, m_vkCommandPool, in ~RenderResourceVk()
113 m_vk.vkUnmapMemory(m_vkDevice, m_bufferVkDeviceMemory); in ~RenderResourceVk()
115 m_vk.vkFreeMemory(m_vkDevice, m_bufferVkDeviceMemory, nullptr); in ~RenderResourceVk()
116 m_vk.vkDestroyBuffer(m_vkDevice, m_vkBuffer, nullptr); in ~RenderResourceVk()
117 m_vk.vkDestroyImageView(m_vkDevice, m_vkImageView, nullptr); in ~RenderResourceVk()
118 m_vk.vkFreeMemory(m_vkDevice, m_imageVkDeviceMemory, nullptr); in ~RenderResourceVk()
119 m_vk.vkDestroyImage(m_vkDevice, m_vkImage, nullptr); in ~RenderResourceVk()
139 if (m_vk.vkCreateImage(m_vkDevice, &imageCi, nullptr, &m_vkImage) != in setUpImage()
147 m_vk.vkGetImageMemoryRequirements(m_vkDevice, m_vkImage, in setUpImage()
159 if (m_vk.vkAllocateMemory(m_vkDevice, &allocInfo, nullptr, in setUpImage()
164 if (m_vk.vkBindImageMemory(m_vkDevice, m_vkImage, m_imageVkDeviceMemory, in setUpImage()
188 if (m_vk.vkCreateImageView(m_vkDevice, &imageViewCi, nullptr, in setUpImage()
199 if (m_vk.vkQueueSubmit(m_vkQueue, 1, &submitInfo, VK_NULL_HANDLE) != in submitCommandBufferAndWait()
203 if (m_vk.vkQueueWaitIdle(m_vkQueue) != VK_SUCCESS) { in submitCommandBufferAndWait()
217 if (m_vk.vkCreateBuffer(m_vkDevice, &bufferCi, nullptr, &m_vkBuffer) != in setUpBuffer()
224 m_vk.vkGetBufferMemoryRequirements(m_vkDevice, m_vkBuffer, in setUpBuffer()
237 if (m_vk.vkAllocateMemory(m_vkDevice, &allocInfo, nullptr, in setUpBuffer()
242 if (m_vk.vkBindBufferMemory(m_vkDevice, m_vkBuffer, in setUpBuffer()
246 if (m_vk.vkMapMemory( in setUpBuffer()
262 if (m_vk.vkAllocateCommandBuffers(m_vkDevice, &cmdBuffAllocInfo, in setUpCommandBuffer()
271 if (m_vk.vkBeginCommandBuffer(m_readCommandBuffer, &beginInfo) != in setUpCommandBuffer()
288 m_vk.vkCmdCopyImageToBuffer(m_readCommandBuffer, m_vkImage, in setUpCommandBuffer()
294 if (m_vk.vkEndCommandBuffer(m_readCommandBuffer) != VK_SUCCESS) { in setUpCommandBuffer()
298 if (m_vk.vkBeginCommandBuffer(m_writeCommandBuffer, &beginInfo) != in setUpCommandBuffer()
305 m_vk.vkCmdCopyBufferToImage(m_writeCommandBuffer, m_vkBuffer, m_vkImage, in setUpCommandBuffer()
311 if (m_vk.vkEndCommandBuffer(m_writeCommandBuffer) != VK_SUCCESS) { in setUpCommandBuffer()