• Home
  • Raw
  • Download

Lines Matching refs:vkDevice

512 	const VkDevice					vkDevice			= m_context.getDevice();  in setupUniformData()  local
528 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams); in setupUniformData()
529 …de::MovePtr<Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice,… in setupUniformData()
530 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in setupUniformData()
533 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), size); in setupUniformData()
582 const VkDevice vkDevice = m_context.getDevice(); in addAttribute() local
599 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); in addAttribute()
600 …ion> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), Memory… in addAttribute()
601 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute()
604 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), inputSize); in addAttribute()
751 const VkDevice vkDevice = m_context.getDevice(); in createImage2D() local
778 Move<VkImage> vkTexture = createImage(vk, vkDevice, &imageCreateInfo); in createImage2D()
785 const VkDevice vkDevice = m_context.getDevice(); in uploadImage2D() local
788 …de::MovePtr<Allocation> allocation = m_memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice,… in uploadImage2D()
789 …VK_CHECK(vk.bindImageMemory(vkDevice, vkTexture, allocation->getMemory(), allocation->getOffset())… in uploadImage2D()
799 vk.getImageSubresourceLayout(vkDevice, vkTexture, &subres, &layout); in uploadImage2D()
806 …flushMappedMemoryRange(vk, vkDevice, allocation->getMemory(), allocation->getOffset(), layout.size… in uploadImage2D()
816 const VkDevice vkDevice = m_context.getDevice(); in copyTilingImageToOptimal() local
830 Move<VkCommandPool> cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams); in copyTilingImageToOptimal()
851 Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferParams); in copyTilingImageToOptimal()
918 const Unique<VkFence> fence (createFence(vk, vkDevice, &fenceParams)); in copyTilingImageToOptimal()
934 VK_CHECK(vk.resetFences(vkDevice, 1, &fence.get())); in copyTilingImageToOptimal()
936 VK_CHECK(vk.waitForFences(vkDevice, 1, &fence.get(), true, ~(0ull) /* infinity*/)); in copyTilingImageToOptimal()
943 const VkDevice vkDevice = m_context.getDevice(); in useSampler2D() local
968 …allocation = m_memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *vkTexture), MemoryRequi… in useSampler2D()
969 …VK_CHECK(vk.bindImageMemory(vkDevice, *vkTexture, allocation->getMemory(), allocation->getOffset()… in useSampler2D()
980 Move<VkSampler> sampler = createSampler(vk, vkDevice, &samplerParams); in useSampler2D()
1005 Move<VkImageView> imageView = createImageView(vk, vkDevice, &viewParams); in useSampler2D()
1102 const VkDevice vkDevice = m_context.getDevice(); in render() local
1128 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in render()
1131 …m_colorImageAlloc = m_memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), M… in render()
1132 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in render()
1160 m_colorImageView = createImageView(vk, vkDevice, &colorImageViewParams); in render()
1211 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); in render()
1229 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in render()
1236 m_descriptorSetLayout = m_descriptorSetLayoutBuilder.build(vk, vkDevice); in render()
1239 …m_descriptorPool = m_descriptorPoolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_F… in render()
1249 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &allocInfo); in render()
1273 m_descriptorSetUpdateBuilder.update(vk, vkDevice); in render()
1289 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in render()
1294 …m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("vert"… in render()
1295 …m_fragmentShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("fra… in render()
1462 m_graphicsPipeline = createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams); in render()
1480 m_indiceBuffer = createBuffer(vk, vkDevice, &indiceBufferParams); in render()
1481 …m_indiceBufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_indiceBuffe… in render()
1483 …VK_CHECK(vk.bindBufferMemory(vkDevice, *m_indiceBuffer, m_indiceBufferAlloc->getMemory(), m_indice… in render()
1487 …flushMappedMemoryRange(vk, vkDevice, m_indiceBufferAlloc->getMemory(), m_indiceBufferAlloc->getOff… in render()
1500 m_cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams); in render()
1538 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferParams); in render()
1596 m_fence = createFence(vk, vkDevice, &fenceParams); in render()
1614 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get())); in render()
1616 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity*/)); in render()
1633 …const Unique<VkBuffer> readImageBuffer (createBuffer(vk, vkDevice, &readImageBufferParams… in render()
1634 …ImageBufferMemory (m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer… in render()
1636 …VK_CHECK(vk.bindBufferMemory(vkDevice, *readImageBuffer, readImageBufferMemory->getMemory(), readI… in render()
1656 …const Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferPar… in render()
1726 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get())); in render()
1728 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity */)); in render()
1730 …invalidateMappedMemoryRange(vk, vkDevice, readImageBufferMemory->getMemory(), readImageBufferMemor… in render()