Home
last modified time | relevance | path

Searched refs:deviceInterface (Results 1 – 17 of 17) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseResidency.cpp155 const DeviceInterface& deviceInterface = getDeviceInterface(); in iterate() local
183 const Unique<VkBuffer> sparseBuffer(createBuffer(deviceInterface, getDevice(), &bufferCreateInfo)); in iterate()
186 const Unique<VkSemaphore> bufferMemoryBindSemaphore(makeSemaphore(deviceInterface, getDevice())); in iterate()
188 …const VkMemoryRequirements bufferMemRequirements = getBufferMemoryRequirements(deviceInterface, ge… in iterate()
207 …const VkSparseMemoryBind sparseMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(), buf… in iterate()
209 …ck<VkDeviceMemory>(sparseMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
232 VK_CHECK(deviceInterface.queueBindSparse(sparseQueue.queueHandle, 1u, &bindSparseInfo, DE_NULL)); in iterate()
237 …const Unique<VkBuffer> inputBuffer (createBuffer(deviceInterface, getDevice(), &inputBufferCr… in iterate()
238 …const de::UniquePtr<Allocation> inputBufferAlloc (bindBuffer(deviceInterface, getDevice(), getAll… in iterate()
251 …flushMappedMemoryRange(deviceInterface, getDevice(), inputBufferAlloc->getMemory(), inputBufferAll… in iterate()
[all …]
DvktSparseResourcesBufferSparseBinding.cpp115 const DeviceInterface& deviceInterface = getDeviceInterface(); in iterate() local
141 const Unique<VkBuffer> sparseBuffer(createBuffer(deviceInterface, getDevice(), &bufferCreateInfo)); in iterate()
144 const Unique<VkSemaphore> bufferMemoryBindSemaphore(makeSemaphore(deviceInterface, getDevice())); in iterate()
146 …const VkMemoryRequirements bufferMemRequirement = getBufferMemoryRequirements(deviceInterface, get… in iterate()
165 …const VkSparseMemoryBind sparseMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(), buf… in iterate()
167 …ck<VkDeviceMemory>(sparseMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
191 VK_CHECK(deviceInterface.queueBindSparse(sparseQueue.queueHandle, 1u, &bindSparseInfo, DE_NULL)); in iterate()
195 …const Unique<VkCommandPool> commandPool(makeCommandPool(deviceInterface, getDevice(), computeQueu… in iterate()
196 …const Unique<VkCommandBuffer> commandBuffer(makeCommandBuffer(deviceInterface, getDevice(), *comma… in iterate()
199 beginCommandBuffer(deviceInterface, *commandBuffer); in iterate()
[all …]
DvktSparseResourcesBufferMemoryAliasing.cpp173 const DeviceInterface& deviceInterface = getDeviceInterface(); in iterate() local
201 …const Unique<VkBuffer> sparseBufferWrite(createBuffer(deviceInterface, getDevice(), &bufferCreateI… in iterate()
202 …const Unique<VkBuffer> sparseBufferRead (createBuffer(deviceInterface, getDevice(), &bufferCreateI… in iterate()
205 const Unique<VkSemaphore> bufferMemoryBindSemaphore(makeSemaphore(deviceInterface, getDevice())); in iterate()
207 …const VkMemoryRequirements bufferMemRequirements = getBufferMemoryRequirements(deviceInterface, ge… in iterate()
219 …const VkSparseMemoryBind sparseMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(), buf… in iterate()
221 …ck<VkDeviceMemory>(sparseMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
256 VK_CHECK(deviceInterface.queueBindSparse(sparseQueue.queueHandle, 1u, &bindSparseInfo, DE_NULL)); in iterate()
261 …const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferC… in iterate()
262 …const de::UniquePtr<Allocation> outputBufferAlloc (bindBuffer(deviceInterface, getDevice(), getAl… in iterate()
[all …]
DvktSparseResourcesShaderIntrinsicsBase.cpp281 const DeviceInterface& deviceInterface = getDeviceInterface(); in iterate() local
288 const Unique<VkImage> imageSparse(createImage(deviceInterface, getDevice(), &imageSparseInfo)); in iterate()
291 const Unique<VkSemaphore> memoryBindSemaphore(makeSemaphore(deviceInterface, getDevice())); in iterate()
300 …const VkMemoryRequirements imageMemoryRequirements = getImageMemoryRequirements(deviceInterface, g… in iterate()
309 …rements> sparseMemoryRequirements = getImageSparseMemoryRequirements(deviceInterface, getDevice(),… in iterate()
359 …const VkSparseImageMemoryBind imageMemoryBind = makeSparseImageMemoryBind(deviceInterface, getDevi… in iterate()
362 …eck<VkDeviceMemory>(imageMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
372 …const VkSparseMemoryBind imageMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(… in iterate()
375 …eviceMemory>(imageMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
383 …const VkSparseMemoryBind imageMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(… in iterate()
[all …]
DvktSparseResourcesImageMemoryAliasing.cpp237 const DeviceInterface& deviceInterface = getDeviceInterface(); in iterate() local
242 const Unique<VkImage> imageRead(createImage(deviceInterface, getDevice(), &imageSparseInfo)); in iterate()
243 const Unique<VkImage> imageWrite(createImage(deviceInterface, getDevice(), &imageSparseInfo)); in iterate()
246 const Unique<VkSemaphore> memoryBindSemaphoreTransfer(makeSemaphore(deviceInterface, getDevice())); in iterate()
247 const Unique<VkSemaphore> memoryBindSemaphoreCompute(makeSemaphore(deviceInterface, getDevice())); in iterate()
257 …const VkMemoryRequirements imageMemoryRequirements = getImageMemoryRequirements(deviceInterface, g… in iterate()
266 …rements> sparseMemoryRequirements = getImageSparseMemoryRequirements(deviceInterface, getDevice(),… in iterate()
297 …const VkSparseImageMemoryBind imageMemoryBind = makeSparseImageMemoryBind(deviceInterface, getDevi… in iterate()
300 …eck<VkDeviceMemory>(imageMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
307 …const VkSparseMemoryBind imageReadMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDev… in iterate()
[all …]
DvktSparseResourcesMipmapSparseResidency.cpp187 const DeviceInterface& deviceInterface = getDeviceInterface(); in iterate() local
192 const Unique<VkImage> imageSparse(createImage(deviceInterface, getDevice(), &imageSparseInfo)); in iterate()
195 const Unique<VkSemaphore> imageMemoryBindSemaphore(makeSemaphore(deviceInterface, getDevice())); in iterate()
199 …const VkMemoryRequirements imageMemoryRequirements = getImageMemoryRequirements(deviceInterface, g… in iterate()
208 …rements> sparseMemoryRequirements = getImageSparseMemoryRequirements(deviceInterface, getDevice(),… in iterate()
241 …const VkSparseImageMemoryBind imageMemoryBind = makeSparseImageMemoryBind(deviceInterface, getDevi… in iterate()
244 …eck<VkDeviceMemory>(imageMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
251 …const VkSparseMemoryBind imageMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(… in iterate()
254 …eviceMemory>(imageMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
262 …const VkSparseMemoryBind imageMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(… in iterate()
[all …]
DvktSparseResourcesImageSparseBinding.cpp137 const DeviceInterface& deviceInterface = getDeviceInterface(); in iterate() local
176 const Unique<VkImage> imageSparse(createImage(deviceInterface, getDevice(), &imageSparseInfo)); in iterate()
179 const Unique<VkSemaphore> imageMemoryBindSemaphore(makeSemaphore(deviceInterface, getDevice())); in iterate()
182 …const VkMemoryRequirements imageSparseMemRequirements = getImageMemoryRequirements(deviceInterface in iterate()
200 const VkSparseMemoryBind sparseMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(), in iterate()
203 …ck<VkDeviceMemory>(sparseMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
227 VK_CHECK(deviceInterface.queueBindSparse(sparseQueue.queueHandle, 1u, &bindSparseInfo, DE_NULL)); in iterate()
231 …const Unique<VkCommandPool> commandPool(makeCommandPool(deviceInterface, getDevice(), computeQue… in iterate()
232 …const Unique<VkCommandBuffer> commandBuffer(makeCommandBuffer(deviceInterface, getDevice(), *comma… in iterate()
246 beginCommandBuffer(deviceInterface, *commandBuffer); in iterate()
[all …]
DvktSparseResourcesShaderIntrinsicsSampled.cpp640 const DeviceInterface& deviceInterface = getDeviceInterface(); in recordCommands() local
681 m_vertexBuffer = createBuffer(deviceInterface, getDevice(), &vertexBufferCreateInfo); in recordCommands()
682 …m_vertexBufferAlloc = bindBuffer(deviceInterface, getDevice(), getAllocator(), *m_vertexBuffer, Me… in recordCommands()
685 …flushMappedMemoryRange(deviceInterface, getDevice(), m_vertexBufferAlloc->getMemory(), m_vertexBuf… in recordCommands()
763 m_renderPass = createRenderPass(deviceInterface, getDevice(), &renderPassInfo); in recordCommands()
770 …escriptorSetLayout> descriptorSetLayout(descriptorLayerBuilder.build(deviceInterface, getDevice())… in recordCommands()
777 …descriptorPool = descriptorPoolBuilder.build(deviceInterface, getDevice(), VK_DESCRIPTOR_POOL_CREA… in recordCommands()
782 m_sampler = createSampler(deviceInterface, getDevice(), &samplerCreateInfo); in recordCommands()
811 …const Unique<VkPipelineLayout> pipelineLayout(createPipelineLayout(deviceInterface, getDevice(), &… in recordCommands()
815 …Move<VkShaderModule> vertexModule = createShaderModule(deviceInterface, getDevice(), m_context.get… in recordCommands()
[all …]
DvktSparseResourcesImageSparseResidency.cpp249 const DeviceInterface& deviceInterface = getDeviceInterface(); in iterate() local
254 const Unique<VkImage> sparseImage(createImage(deviceInterface, getDevice(), &imageCreateInfo)); in iterate()
257 const Unique<VkSemaphore> imageMemoryBindSemaphore(makeSemaphore(deviceInterface, getDevice())); in iterate()
261 …const VkMemoryRequirements imageMemoryRequirements = getImageMemoryRequirements(deviceInterface, g… in iterate()
269 …rements> sparseMemoryRequirements = getImageSparseMemoryRequirements(deviceInterface, getDevice(),… in iterate()
325 …const VkSparseImageMemoryBind imageMemoryBind = makeSparseImageMemoryBind(deviceInterface, getDevi… in iterate()
328 …eck<VkDeviceMemory>(imageMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
336 …const VkSparseMemoryBind imageMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(… in iterate()
339 …eviceMemory>(imageMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(),… in iterate()
347 …const VkSparseMemoryBind imageMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(… in iterate()
[all …]
DvktSparseResourcesShaderIntrinsicsStorage.cpp350 const DeviceInterface& deviceInterface = getDeviceInterface(); in recordCommands() local
374 …escriptorSetLayout> descriptorSetLayout(descriptorLayerBuilder.build(deviceInterface, getDevice())… in recordCommands()
377 …const Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout(deviceInterface, getDevice(), *de… in recordCommands()
386 …descriptorPool = descriptorPoolBuilder.build(deviceInterface, getDevice(), VK_DESCRIPTOR_POOL_CREA… in recordCommands()
423deviceInterface.cmdPipelineBarrier(commandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAG… in recordCommands()
436 …Unique<VkShaderModule> shaderModule(createShaderModule(deviceInterface, getDevice(), m_context.get… in recordCommands()
453 …pipelines[mipLevelNdx] = makeVkSharedPtr(makeComputePipeline(deviceInterface, getDevice(), *pipeli… in recordCommands()
456 deviceInterface.cmdBindPipeline(commandBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, computePipeline); in recordCommands()
459 …descriptorSets[mipLevelNdx] = makeVkSharedPtr(makeDescriptorSet(deviceInterface, getDevice(), *des… in recordCommands()
465 …imageSparseViews[mipLevelNdx] = makeVkSharedPtr(makeImageView(deviceInterface, getDevice(), imageS… in recordCommands()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageQualifiersTests.cpp359 const DeviceInterface& deviceInterface = m_context.getDeviceInterface(); in iterate() local
372 …const vk::Unique<VkShaderModule> shaderModule(createShaderModule(deviceInterface, device, m_contex… in iterate()
375 …const vk::Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout(deviceInterface, device, *m_d… in iterate()
376 …const vk::Unique<VkPipeline> pipeline(makeComputePipeline(deviceInterface, device, *pipelineLayout… in iterate()
379 const Unique<VkCommandPool> cmdPool(makeCommandPool(deviceInterface, device, queueFamilyIndex)); in iterate()
380 const Unique<VkCommandBuffer> cmdBuffer(makeCommandBuffer(deviceInterface, device, *cmdPool)); in iterate()
383 beginCommandBuffer(deviceInterface, *cmdBuffer); in iterate()
385 deviceInterface.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate()
386deviceInterface.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout,… in iterate()
391 deviceInterface.cmdDispatch(*cmdBuffer, numGroups.x(), numGroups.y(), numGroups.z()); in iterate()
[all …]
DvktImageAtomicOperationTests.cpp445 const DeviceInterface& deviceInterface = m_context.getDeviceInterface(); in iterate() local
477 …m_resultImage = de::MovePtr<Image>(new Image(deviceInterface, device, allocator, imageParams, Memo… in iterate()
481 …m_resultImageView = makeImageView(deviceInterface, device, m_resultImage->get(), mapImageViewType(… in iterate()
484 …const Buffer inputBuffer(deviceInterface, device, allocator, makeBufferCreateInfo(imageSizeInBytes… in iterate()
501 …flushMappedMemoryRange(deviceInterface, device, inputBufferAllocation.getMemory(), inputBufferAllo… in iterate()
504 …m_outputBuffer = de::MovePtr<Buffer>(new Buffer(deviceInterface, device, allocator, makeBufferCrea… in iterate()
511 …const Unique<VkShaderModule> shaderModule(createShaderModule(deviceInterface, device, m_context.ge… in iterate()
512 …const Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout(deviceInterface, device, *m_descr… in iterate()
513 …const Unique<VkPipeline> pipeline(makeComputePipeline(deviceInterface, device, *pipelineLayout, *… in iterate()
516 const Unique<VkCommandPool> cmdPool(makeCommandPool(deviceInterface, device, queueFamilyIndex)); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp402 void createCommandBuffer (const DeviceInterface& deviceInterface, const VkDevice device, const deUi… in createCommandBuffer() argument
415 commandPool = createCommandPool(deviceInterface, device, &commandPoolInfo, DE_NULL); in createCommandBuffer()
424 VK_CHECK(deviceInterface.allocateCommandBuffers(device, &commandBufferInfo, &commandBuffer)); in createCommandBuffer()
425 …(vk::check<VkCommandBuffer>(commandBuffer), Deleter<VkCommandBuffer>(deviceInterface, device, comm… in createCommandBuffer()
429 void createFences (const DeviceInterface& deviceInterface, VkDevice device, bool signaled, deUint32… in createFences() argument
440 VK_CHECK(deviceInterface.createFence(device, &fenceState, DE_NULL, &fence[ndx])); in createFences()
443 void destroyFences (const DeviceInterface& deviceInterface, VkDevice device, deUint32 numFences, Vk… in destroyFences() argument
446 deviceInterface.destroyFence(device, fence[ndx], DE_NULL); in destroyFences()
468 void recordRenderPass (const DeviceInterface& deviceInterface, const RenderInfo& renderInfo) in recordRenderPass() argument
487deviceInterface.cmdBeginRenderPass(renderInfo.commandBuffer, &renderPassBeginState, VK_SUBPASS_CON… in recordRenderPass()
[all …]
DvktSynchronizationInternallySynchronizedObjectsTests.cpp163 const DeviceInterface& deviceInterface = context.getDeviceInterface(); in createAllocator() local
169 return MovePtr<Allocator> (new SimpleAllocator(deviceInterface, device, deviceMemoryProperties)); in createAllocator()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleInterpolationTests.cpp247 const DeviceInterface& deviceInterface = m_context.getDeviceInterface(); in iterate() local
286 …const de::UniquePtr<Image> imageMS(new Image(deviceInterface, device, allocator, imageMSInfo, Memo… in iterate()
293 …const de::UniquePtr<Image> imageRS(new Image(deviceInterface, device, allocator, imageRSInfo, Memo… in iterate()
365 const Unique<VkRenderPass> renderPass(createRenderPass(deviceInterface, device, &renderPassInfo)); in iterate()
370 …const Unique<VkImageView> imageMSView(makeImageView(deviceInterface, device, **imageMS, mapImageVi… in iterate()
371 …const Unique<VkImageView> imageRSView(makeImageView(deviceInterface, device, **imageRS, mapImageVi… in iterate()
389 …const Unique<VkFramebuffer> framebuffer(createFramebuffer(deviceInterface, device, &framebufferInf… in iterate()
403 …const Unique<VkPipelineLayout> pipelineLayout(createPipelineLayout(deviceInterface, device, &pipel… in iterate()
408 …de::SharedPtr<Buffer> vertexBuffer = de::SharedPtr<Buffer>(new Buffer(deviceInterface, device, all… in iterate()
413 …flushMappedMemoryRange(deviceInterface, device, vertexBufferAllocation.getMemory(), vertexBufferAl… in iterate()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkPrograms.cpp201 Move<VkShaderModule> createShaderModule (const DeviceInterface& deviceInterface, VkDevice device, c… in createShaderModule() argument
214 return createShaderModule(deviceInterface, device, &shaderModuleInfo); in createShaderModule()
DvkPrograms.hpp177 Move<VkShaderModule> createShaderModule (const DeviceInterface& deviceInterface, VkDevice device, c…