Lines Matching refs:vkDevice
320 const VkDevice vkDevice = m_context.getDevice(); in updateTextureData() local
393 m_textureImage = createImage(vkd, vkDevice, &imageParams); in updateTextureData()
398 vkDevice, in updateTextureData()
412 …m_textureImageMemory = allocator.allocate(getImageMemoryRequirements(vkd, vkDevice, *m_textureImag… in updateTextureData()
413 …VK_CHECK(vkd.bindImageMemory(vkDevice, *m_textureImage, m_textureImageMemory->getMemory(), m_textu… in updateTextureData()
416 vkDevice, in updateTextureData()
430 const VkDevice vkDevice = m_context.getDevice(); in updateTextureViewMipLevels() local
454 m_textureImageView = createImageView(vkd, vkDevice, &viewParams); in updateTextureViewMipLevels()
478 const VkDevice vkDevice = m_context.getDevice(); in TextureRenderer() local
483 …m_commandPool = createCommandPool(vkd, vkDevice, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, … in TextureRenderer()
525 m_image = vk::createImage(vkd, vkDevice, &imageCreateInfo, DE_NULL); in TextureRenderer()
527 …m_imageMemory = allocator.allocate(getImageMemoryRequirements(vkd, vkDevice, *m_image), MemoryRequ… in TextureRenderer()
528 …VK_CHECK(vkd.bindImageMemory(vkDevice, *m_image, m_imageMemory->getMemory(), m_imageMemory->getOff… in TextureRenderer()
551 m_imageView = vk::createImageView(vkd, vkDevice, &imageViewCreateInfo, DE_NULL); in TextureRenderer()
591 m_resolvedImage = vk::createImage(vkd, vkDevice, &imageCreateInfo, DE_NULL); in TextureRenderer()
592 …m_resolvedImageMemory = allocator.allocate(getImageMemoryRequirements(vkd, vkDevice, *m_resolvedIm… in TextureRenderer()
593 …VK_CHECK(vkd.bindImageMemory(vkDevice, *m_resolvedImage, m_resolvedImageMemory->getMemory(), m_res… in TextureRenderer()
616 m_resolvedImageView = vk::createImageView(vkd, vkDevice, &imageViewCreateInfo, DE_NULL); in TextureRenderer()
688 m_renderPass = createRenderPass(vkd, vkDevice, &renderPassCreateInfo, DE_NULL); in TextureRenderer()
705 m_vertexIndexBuffer = createBuffer(vkd, vkDevice, &indexBufferParams); in TextureRenderer()
706 …m_vertexIndexBufferMemory = allocator.allocate(getBufferMemoryRequirements(vkd, vkDevice, *m_verte… in TextureRenderer()
708 …VK_CHECK(vkd.bindBufferMemory(vkDevice, *m_vertexIndexBuffer, m_vertexIndexBufferMemory->getMemory… in TextureRenderer()
712 …flushMappedMemoryRange(vkd, vkDevice, m_vertexIndexBufferMemory->getMemory(), m_vertexIndexBufferM… in TextureRenderer()
736 m_frameBuffer = createFramebuffer(vkd, vkDevice, &framebufferCreateInfo, DE_NULL); in TextureRenderer()
753 m_uniformBuffer = createBuffer(vkd, vkDevice, &bufferCreateInfo); in TextureRenderer()
754 …m_uniformBufferMemory = allocator.allocate(getBufferMemoryRequirements(vkd, vkDevice, *m_uniformBu… in TextureRenderer()
756 …VK_CHECK(vkd.bindBufferMemory(vkDevice, *m_uniformBuffer, m_uniformBufferMemory->getMemory(), m_un… in TextureRenderer()
765 …m_descriptorPool = descriptorPoolBuilder.build(vkd, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCR… in TextureRenderer()
782 m_resultBuffer = createBuffer(vkd, vkDevice, &bufferCreateInfo); in TextureRenderer()
783 …m_resultBufferMemory = allocator.allocate(getBufferMemoryRequirements(vkd, vkDevice, *m_resultBuff… in TextureRenderer()
785 …VK_CHECK(vkd.bindBufferMemory(vkDevice, *m_resultBuffer, m_resultBufferMemory->getMemory(), m_resu… in TextureRenderer()
800 const VkDevice vkDevice = m_context.getDevice(); in clearImage() local
813 …commandBuffer = allocateCommandBuffer(vkd, vkDevice, *m_commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMA… in clearImage()
838 submitCommandsAndWait(vkd, vkDevice, queue, commandBuffer.get()); in clearImage()
920 const VkDevice vkDevice = m_context.getDevice(); in makeDescriptorSet() local
930 return allocateDescriptorSet(vkd, vkDevice, &allocateParams); in makeDescriptorSet()
989 const VkDevice vkDevice = m_context.getDevice(); in renderQuad() local
1121 …Unique<VkShaderModule> vertexShaderModule (createShaderModule(vkd, vkDevice, m_context.getBi… in renderQuad()
1122 …Unique<VkShaderModule> fragmentShaderModule (createShaderModule(vkd, vkDevice, m_context.getB… in renderQuad()
1247 sampler = createSampler(vkd, vkDevice, &samplerCreateInfo); in renderQuad()
1251 .build(vkd, vkDevice); in renderQuad()
1255 .build(vkd, vkDevice); in renderQuad()
1270 .update(vkd, vkDevice); in renderQuad()
1283 .update(vkd, vkDevice); in renderQuad()
1305 pipelineLayout = createPipelineLayout(vkd, vkDevice, &pipelineLayoutCreateInfo); in renderQuad()
1309 vkDevice, // const VkDevice device in renderQuad()
1346 vertexBuffer = createBuffer(vkd, vkDevice, &vertexBufferParams); in renderQuad()
1347 …vertexBufferMemory = allocator.allocate(getBufferMemoryRequirements(vkd, vkDevice, *vertexBuffer),… in renderQuad()
1349 …VK_CHECK(vkd.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBuff… in renderQuad()
1354 …flushMappedMemoryRange(vkd, vkDevice, vertexBufferMemory->getMemory(), vertexBufferMemory->getOffs… in renderQuad()
1358 …commandBuffer = allocateCommandBuffer(vkd, vkDevice, *m_commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMA… in renderQuad()
1402 …flushMappedMemoryRange(vkd, vkDevice, m_uniformBufferMemory->getMemory(), m_uniformBufferMemory->g… in renderQuad()
1427 submitCommandsAndWait(vkd, vkDevice, queue, commandBuffer.get()); in renderQuad()
1429 …invalidateMappedMemoryRange(vkd, vkDevice, m_resultBufferMemory->getMemory(), m_resultBufferMemory… in renderQuad()