Lines Matching refs:deviceInterface
954 static void initDataForImage(const VkDevice device, const DeviceInterface &deviceInterface, const T… in initDataForImage() argument
984 flushAlloc(deviceInterface, device, bufferAllocation); in initDataForImage()
1501 const DeviceInterface &deviceInterface = m_context.getDeviceInterface(); in iterate() local
1519 deviceInterface, device, allocator, in iterate()
1526 initDataForImage(device, deviceInterface, m_format, m_operation, gridSize, *m_inputBuffer); in iterate()
1530 deviceInterface, device, allocator, in iterate()
1561 .build(deviceInterface, device); in iterate()
1568 … .build(deviceInterface, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 2u); in iterate()
1571 …makeDescriptorSet(deviceInterface, device, *m_descriptorPoolNoTransfer, *m_descriptorSetLayoutNoTr… in iterate()
1574 …makeDescriptorSet(deviceInterface, device, *m_descriptorPoolNoTransfer, *m_descriptorSetLayoutNoTr… in iterate()
1577 … createShaderModule(deviceInterface, device, m_context.getBinaryCollection().get("fillShader"), 0); in iterate()
1578 …pipelineLayoutFillImage = makePipelineLayout(deviceInterface, device, *m_descriptorSetLayoutNoTran… in iterate()
1580 … makeComputePipeline(deviceInterface, device, *pipelineLayoutFillImage, *shaderModuleFillImage); in iterate()
1584 shaderModuleReadImage = createShaderModule(deviceInterface, device, in iterate()
1590 … createShaderModule(deviceInterface, device, m_context.getBinaryCollection().get("readShader"), 0); in iterate()
1592 …pipelineLayoutReadImage = makePipelineLayout(deviceInterface, device, *m_descriptorSetLayoutNoTran… in iterate()
1594 … makeComputePipeline(deviceInterface, device, *pipelineLayoutFillImage, *shaderModuleReadImage); in iterate()
1599 … createShaderModule(deviceInterface, device, m_context.getBinaryCollection().get(m_name), 0)); in iterate()
1600 …const Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout(deviceInterface, device, *m_descr… in iterate()
1601 …const Unique<VkPipeline> pipeline(makeComputePipeline(deviceInterface, device, *pipelineLayout, *s… in iterate()
1605 …createCommandPool(deviceInterface, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueF… in iterate()
1607 allocateCommandBuffer(deviceInterface, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY)); in iterate()
1609 beginCommandBuffer(deviceInterface, *cmdBuffer); in iterate()
1618 …copyBufferToImage(deviceInterface, *cmdBuffer, *(*m_inputBuffer), imageSizeInBytes, bufferImageCop… in iterate()
1630 deviceInterface.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate()
1631 …deviceInterface.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout,… in iterate()
1634 …deviceInterface.cmdDispatch(*cmdBuffer, NUM_INVOCATIONS_PER_PIXEL * gridSize.x(), gridSize.y(), gr… in iterate()
1643 deviceInterface.cmdPipelineBarrier( in iterate()
1648 endCommandBuffer(deviceInterface, *cmdBuffer); in iterate()
1651 submitCommandsAndWait(deviceInterface, device, queue, *cmdBuffer, false, 1u, in iterate()
1657 invalidateAlloc(deviceInterface, device, outputBufferAllocation); in iterate()
1671 const DeviceInterface &deviceInterface = m_context.getDeviceInterface(); in shaderFillImage() local
1683 .update(deviceInterface, device); in shaderFillImage()
1689 deviceInterface.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, in shaderFillImage()
1693 deviceInterface.cmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline); in shaderFillImage()
1694 …deviceInterface.cmdBindDescriptorSets(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipelineLayout, 0… in shaderFillImage()
1697 deviceInterface.cmdDispatch(cmdBuffer, gridSize.x(), gridSize.y(), gridSize.z()); in shaderFillImage()
1703 deviceInterface.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, in shaderFillImage()
1712 const DeviceInterface &deviceInterface = m_context.getDeviceInterface(); in createImageAndView() local
1760 …new SparseImage(deviceInterface, device, physicalDevice, vki, createInfo, sparseQueue, allocator, … in createImageAndView()
1767 …de::MovePtr<Image>(new Image(deviceInterface, device, allocator, createInfo, MemoryRequirement::An… in createImageAndView()
1772 …imageViewPtr = makeImageView(deviceInterface, device, imagePtr->get(), mapImageViewType(m_imageTyp… in createImageAndView()
1828 const DeviceInterface &deviceInterface = m_context.getDeviceInterface(); in prepareDescriptors() local
1832 .build(deviceInterface, device); in prepareDescriptors()
1836 … .build(deviceInterface, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in prepareDescriptors()
1838 …m_descriptorSet = makeDescriptorSet(deviceInterface, device, *m_descriptorPool, *m_descriptorSetLa… in prepareDescriptors()
1843 …makeBufferView(deviceInterface, device, *(*m_inputBuffer), mapTextureFormat(m_format), 0, VK_WHOLE… in prepareDescriptors()
1848 .update(deviceInterface, device); in prepareDescriptors()
1858 .update(deviceInterface, device); in prepareDescriptors()
1867 const DeviceInterface &deviceInterface = m_context.getDeviceInterface(); in commandsAfterCompute() local
1882 deviceInterface.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, in commandsAfterCompute()
1889 …deviceInterface.cmdCopyImageToBuffer(cmdBuffer, m_resultImage->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC… in commandsAfterCompute()
1904 .update(deviceInterface, device); in commandsAfterCompute()
1910 deviceInterface.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, in commandsAfterCompute()
1914 deviceInterface.cmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline); in commandsAfterCompute()
1915 …deviceInterface.cmdBindDescriptorSets(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipelineLayout, 0… in commandsAfterCompute()
1921 … deviceInterface.cmdDispatch(cmdBuffer, layerSize.x(), subresourceRange.layerCount, layerSize.z()); in commandsAfterCompute()
1926 … deviceInterface.cmdDispatch(cmdBuffer, layerSize.x(), layerSize.y(), subresourceRange.layerCount); in commandsAfterCompute()
1929 deviceInterface.cmdDispatch(cmdBuffer, layerSize.x(), layerSize.y(), layerSize.z()); in commandsAfterCompute()
2174 const DeviceInterface &deviceInterface = m_context.getDeviceInterface(); in prepareDescriptors() local
2179 .build(deviceInterface, device); in prepareDescriptors()
2183 … .build(deviceInterface, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in prepareDescriptors()
2185 …m_descriptorSet = makeDescriptorSet(deviceInterface, device, *m_descriptorPool, *m_descriptorSetLa… in prepareDescriptors()
2190 …makeBufferView(deviceInterface, device, *(*m_inputBuffer), mapTextureFormat(m_format), 0, VK_WHOLE… in prepareDescriptors()
2192 …makeBufferView(deviceInterface, device, *(*m_outputBuffer), mapTextureFormat(m_format), 0, VK_WHOL… in prepareDescriptors()
2199 .update(deviceInterface, device); in prepareDescriptors()
2213 .update(deviceInterface, device); in prepareDescriptors()
2219 const DeviceInterface &deviceInterface = m_context.getDeviceInterface(); in commandsBeforeCompute() local
2227 deviceInterface.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, in commandsBeforeCompute()
2241 const DeviceInterface &deviceInterface = m_context.getDeviceInterface(); in commandsAfterCompute() local
2252 deviceInterface.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, in commandsAfterCompute()
2260 deviceInterface.cmdCopyImageToBuffer(cmdBuffer, m_intermResultsImage->get(), in commandsAfterCompute()
2276 .update(deviceInterface, device); in commandsAfterCompute()
2282 deviceInterface.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, in commandsAfterCompute()
2286 deviceInterface.cmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline); in commandsAfterCompute()
2287 …deviceInterface.cmdBindDescriptorSets(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipelineLayout, 0… in commandsAfterCompute()
2293 deviceInterface.cmdDispatch(cmdBuffer, NUM_INVOCATIONS_PER_PIXEL * layerSize.x(), in commandsAfterCompute()
2299 … deviceInterface.cmdDispatch(cmdBuffer, NUM_INVOCATIONS_PER_PIXEL * layerSize.x(), layerSize.y(), in commandsAfterCompute()
2303 … deviceInterface.cmdDispatch(cmdBuffer, NUM_INVOCATIONS_PER_PIXEL * layerSize.x(), layerSize.y(), in commandsAfterCompute()