Home
last modified time | relevance | path

Searched refs:vkd (Results 1 – 25 of 190) sorted by relevance

12345678

/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp93 const auto& vkd = ctx.getDeviceInterface(); in BindVertexBuffersData() local
102 …m_vertexBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, bufferInfo, MemoryRequiremen… in BindVertexBuffersData()
106 flushAlloc(vkd, device, bufferAlloc); in BindVertexBuffersData()
109 m_renderPass = makeRenderPass(vkd, device); in BindVertexBuffersData()
112 m_pipelineLayout = makePipelineLayout(vkd, device); in BindVertexBuffersData()
115 m_vertexShader = createShaderModule(vkd, device, ctx.getBinaryCollection().get("vert"), 0u); in BindVertexBuffersData()
132 m_graphicsPipeline = makeGraphicsPipeline(vkd, device, m_pipelineLayout.get(), in BindVertexBuffersData()
169 void setViewport (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setViewport() argument
180 vkd->cmdSetViewport(cmdBuffer, 0u, 1u, &viewport); in setViewport()
183 void setScissor (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setScissor() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolPerformanceTests.cpp250 const DeviceInterface& vkd = m_context.getDeviceInterface(); in createQueryPool() local
318 Move<VkQueryPool> queryPool = vk::createQueryPool(vkd, device, &queryPoolCreateInfo); in createQueryPool()
328 const DeviceInterface& vkd = m_context.getDeviceInterface(); in acquireProfilingLock() local
340 VkResult result = vkd.acquireProfilingLockKHR(device, &lockInfo); in acquireProfilingLock()
356 const DeviceInterface& vkd = m_context.getDeviceInterface(); in releaseProfilingLock() local
360 vkd.releaseProfilingLockKHR(device); in releaseProfilingLock()
365 const DeviceInterface& vkd = m_context.getDeviceInterface(); in verifyQueryResults() local
373 …VkResult result = vkd.getQueryPoolResults(device, queryPool, 0, 1, sizeof(VkPerformanceCounterResu… in verifyQueryResults()
425 const DeviceInterface& vkd = m_context.getDeviceInterface(); in initStateObjects() local
440 …m_colorAttachmentImage = Image::createAndAlloc(vkd, device, colorImageCreateInfo, m_context.getDef… in initStateObjects()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingProceduralGeometryTests.cpp70 de::MovePtr<DeviceDriver> vkd; member
135 vkd = de::MovePtr<DeviceDriver>(new DeviceDriver(vkp, instance, device.get())); in DeviceHelper()
136 queue = getDeviceQueue(*vkd, *device, queueFamilyIndex, 0u); in DeviceHelper()
137 …allocator = de::MovePtr<SimpleAllocator>(new SimpleAllocator(*vkd, device.get(), getPhysicalDevice… in DeviceHelper()
189 const DeviceInterface& vkd = *m_customDevice.vkd; in iterate() local
200 .build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 2u); in iterate()
205 .build(vkd, device); in iterate()
207 …const Move<VkDescriptorSet> referenceDescriptorSet = makeDescriptorSet(vkd, device, *descriptorP… in iterate()
208 …const Move<VkDescriptorSet> resultDescriptorSet = makeDescriptorSet(vkd, device, *descriptorPoo… in iterate()
212 … referenceBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator,… in iterate()
[all …]
DvktRayTracingCallableShadersTests.cpp239 const DeviceInterface& vkd = context.getDeviceInterface(); in initRayTracingShaders() local
246 …rayTracingPipeline->addShader(VK_SHADER_STAGE_RAYGEN_BIT_KHR, createShaderModule(vkd, device, con… in initRayTracingShaders()
247 …rayTracingPipeline->addShader(VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, createShaderModule(vkd, device,… in initRayTracingShaders()
248 …rayTracingPipeline->addShader(VK_SHADER_STAGE_MISS_BIT_KHR, createShaderModule(vkd, device, cont… in initRayTracingShaders()
249 …rayTracingPipeline->addShader(VK_SHADER_STAGE_CALLABLE_BIT_KHR, createShaderModule(vkd, device, c… in initRayTracingShaders()
254 …rayTracingPipeline->addShader(VK_SHADER_STAGE_RAYGEN_BIT_KHR, createShaderModule(vkd, device, con… in initRayTracingShaders()
255 …rayTracingPipeline->addShader(VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, createShaderModule(vkd, device,… in initRayTracingShaders()
256 …rayTracingPipeline->addShader(VK_SHADER_STAGE_MISS_BIT_KHR, createShaderModule(vkd, device, cont… in initRayTracingShaders()
257 …rayTracingPipeline->addShader(VK_SHADER_STAGE_CALLABLE_BIT_KHR, createShaderModule(vkd, device, c… in initRayTracingShaders()
258 …rayTracingPipeline->addShader(VK_SHADER_STAGE_CALLABLE_BIT_KHR, createShaderModule(vkd, device, c… in initRayTracingShaders()
[all …]
DvktRayTracingBarrierTests.cpp832 std::unique_ptr<BufferWithMemory> makeStd140Buffer (const DeviceInterface& vkd, VkDevice device, Al… in makeStd140Buffer() argument
837 buffer.reset(new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, memReq)); in makeStd140Buffer()
843 void fillStd140Buffer (const DeviceInterface& vkd, VkDevice device, const BufferWithMemory& buffer) in fillStd140Buffer() argument
854 flushAlloc(vkd, device, bufferAlloc); in fillStd140Buffer()
858 void fillStd430Buffer (const DeviceInterface& vkd, VkDevice device, const BufferWithMemory& buffer) in fillStd430Buffer() argument
868 flushAlloc(vkd, device, bufferAlloc); in fillStd430Buffer()
873 std::unique_ptr<BufferWithMemory> makeStd430BufferImpl (const DeviceInterface& vkd, VkDevice device… in makeStd430BufferImpl() argument
878 …buffer.reset(new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVis… in makeStd430BufferImpl()
881 fillStd430Buffer(vkd, device, *buffer); in makeStd430BufferImpl()
886 std::unique_ptr<BufferWithMemory> makeStd430Buffer (const DeviceInterface& vkd, VkDevice device, Al… in makeStd430Buffer() argument
[all …]
DvktRayTracingTraceRaysTests.cpp151 std::tuple<bool, VkQueue, deUint32> getQueueFamilyIndexAtExact (const DeviceInterface& vkd, in getQueueFamilyIndexAtExact() argument
180 vkd.getDeviceQueue(device, queueFamilyIndex, queueIndex, &queue); in getQueueFamilyIndexAtExact()
195 const DeviceInterface& vkd = context.getDeviceInterface(); in initTopAccelerationStructure() local
213 result->createAndBuild(vkd, device, cmdBuffer, allocator); in initTopAccelerationStructure()
417 const DeviceInterface& vkd = m_context.getDeviceInterface(); in initBottomAccelerationStructures() local
448 bottomLevelAccelerationStructure->createAndBuild(vkd, device, cmdBuffer, allocator); in initBottomAccelerationStructures()
458 const DeviceInterface& vkd = m_context.getDeviceInterface(); in runTest() local
480 .build(vkd, device); in runTest()
484 .build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in runTest()
485 …computeDescriptorSet = makeDescriptorSet(vkd, device, *computeDescriptorPool, *computeDescripto… in runTest()
[all …]
DvktRayTracingCaptureReplayTests.cpp137 const DeviceInterface& vkd,
143 const DeviceInterface& vkd,
254 const DeviceInterface& vkd,
260 const DeviceInterface& vkd,
346 const DeviceInterface& vkd, in initRayTracingShaders() argument
353 …rayTracingPipeline->addShader(VK_SHADER_STAGE_RAYGEN_BIT_KHR, createShaderModule(vkd, device, cont… in initRayTracingShaders()
354 …rayTracingPipeline->addShader(VK_SHADER_STAGE_MISS_BIT_KHR, createShaderModule(vkd, device, contex… in initRayTracingShaders()
359 …rayTracingPipeline->addShader(VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, createShaderModule(vkd, device,… in initRayTracingShaders()
365 const DeviceInterface& vkd, in initShaderBindingTables() argument
378 …pipelineData.pipelines[0].pipeline = rayTracingPipeline->createPipeline(vkd, device, pipeli… in initShaderBindingTables()
[all …]
DvktRayTracingBuildIndirectTests.cpp98 Move<VkPipeline> makePipeline (const DeviceInterface& vkd, in makePipeline() argument
105 Move<VkShaderModule> raygenShader = createShaderModule(vkd, device, collection.get(shaderName), 0); in makePipeline()
109 Move<VkPipeline> pipeline = rayTracingPipeline->createPipeline(vkd, device, pipelineLayout); in makePipeline()
114 Move<VkPipeline> makePipeline (const DeviceInterface& vkd, in makePipeline() argument
123 Move<VkShaderModule> raygenShader = createShaderModule(vkd, device, collection.get("rgen"), 0); in makePipeline()
124 Move<VkShaderModule> hitShader = createShaderModule(vkd, device, collection.get("chit"), 0); in makePipeline()
125 Move<VkShaderModule> missShader = createShaderModule(vkd, device, collection.get("miss"), 0); in makePipeline()
131 Move<VkPipeline> pipeline = rayTracingPipeline->createPipeline(vkd, device, pipelineLayout); in makePipeline()
366 const DeviceInterface& vkd = m_context.getDeviceInterface(); in initTopAccelerationStructure() local
375 result->createAndBuild(vkd, device, cmdBuffer, allocator); in initTopAccelerationStructure()
[all …]
DvktRayTracingNullASTests.cpp93 Move<VkPipeline> makePipeline (const DeviceInterface& vkd, in makePipeline() argument
102 Move<VkShaderModule> raygenShader = createShaderModule(vkd, device, collection.get("rgen"), 0); in makePipeline()
103 Move<VkShaderModule> hitShader = createShaderModule(vkd, device, collection.get("ahit"), 0); in makePipeline()
104 Move<VkShaderModule> missShader = createShaderModule(vkd, device, collection.get("miss"), 0); in makePipeline()
105 …Move<VkShaderModule> intersectionShader = createShaderModule(vkd, device, collection.get("sect"), … in makePipeline()
112 Move<VkPipeline> pipeline = rayTracingPipeline->createPipeline(vkd, device, pipelineLayout); in makePipeline()
175 de::MovePtr<DeviceDriver> vkd; member
237 vkd = de::MovePtr<DeviceDriver>(new DeviceDriver(vkp, instance, device.get())); in DeviceHelper()
238 queue = getDeviceQueue(*vkd, *device, queueFamilyIndex, 0u); in DeviceHelper()
239 …allocator = de::MovePtr<SimpleAllocator>(new SimpleAllocator(*vkd, device.get(), getPhysicalDevice… in DeviceHelper()
[all …]
DvktRayTracingShaderBindingTableTests.cpp282 const DeviceInterface& vkd = context.getDeviceInterface(); in initUniformBuffer() local
287 …mory> uniformBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator,… in initUniformBuffer()
310 …flushMappedMemoryRange(vkd, device, uniformBuffer->getAllocation().getMemory(), uniformBuffer->get… in initUniformBuffer()
319 const DeviceInterface& vkd = context.getDeviceInterface(); in initRayTracingShaders() local
331 …rayTracingPipeline->addShader(VK_SHADER_STAGE_RAYGEN_BIT_KHR, createShaderModule(vkd, device, cont… in initRayTracingShaders()
333 …rayTracingPipeline->addShader(VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, createShaderModule(vkd, device,… in initRayTracingShaders()
334 …rayTracingPipeline->addShader(VK_SHADER_STAGE_MISS_BIT_KHR, createShaderModule(vkd, device, contex… in initRayTracingShaders()
339 …rayTracingPipeline->addShader(VK_SHADER_STAGE_RAYGEN_BIT_KHR, createShaderModule(vkd, device, cont… in initRayTracingShaders()
344 …rayTracingPipeline->addShader(VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, createShaderModule(vkd, device,… in initRayTracingShaders()
346 …rayTracingPipeline->addShader(VK_SHADER_STAGE_MISS_BIT_KHR, createShaderModule(vkd, device, contex… in initRayTracingShaders()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderConditionalRenderingTestsEXT.cpp141 …ConditionBuffer (const DeviceInterface& vkd, VkDevice device, Allocator& alloc, uint32_t condValue… in ConditionBuffer() argument
151 auto buffer = createBuffer(vkd, device, &bufferCreateInfo); in ConditionBuffer()
154 const auto bufferMemReqs = getBufferMemoryRequirements(vkd, device, buffer.get()); in ConditionBuffer()
160 vkd.bindBufferMemory(device, buffer.get(), allocation->getMemory(), bindOffset); in ConditionBuffer()
211 …void initIndirectBuffers (const DeviceInterface& vkd, const VkDevice device, Allocator& all…
214 void drawMeshTasks (const DeviceInterface& vkd, const VkCommandBuffer cmdBuffer) const;
224 std::unique_ptr<BufferWithMemory> makeIndirectBuffer (const DeviceInterface& vkd, const VkDevice de… in makeIndirectBuffer() argument
229 …std::unique_ptr<BufferWithMemory> buffer (new BufferWithMemory(vkd, device, alloc, bufferCreateInf… in makeIndirectBuffer()
235 flushAlloc(vkd, device, allocation); in makeIndirectBuffer()
240 void ConditionalRenderingInstance::initIndirectBuffers (const DeviceInterface& vkd, const VkDevice … in initIndirectBuffers() argument
[all …]
DvktMeshShaderSyncTestsEXT.cpp751 std::vector<Move<VkRenderPass>> createCustomRenderPasses (const DeviceInterface& vkd, VkDevice devi… in createCustomRenderPasses() argument
825 renderPasses.push_back(createRenderPass(vkd, device, &createInfo)); in createCustomRenderPasses()
830 void hostToTransferMemoryBarrier (const DeviceInterface& vkd, VkCommandBuffer cmdBuffer) in hostToTransferMemoryBarrier() argument
833 …cmdPipelineMemoryBarrier(vkd, cmdBuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_TRANSFER_BI… in hostToTransferMemoryBarrier()
836 void transferToHostMemoryBarrier (const DeviceInterface& vkd, VkCommandBuffer cmdBuffer) in transferToHostMemoryBarrier() argument
839 …cmdPipelineMemoryBarrier(vkd, cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BI… in transferToHostMemoryBarrier()
844 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
885 ImageWithMemory colorBuffer (vkd, device, alloc, colorBufferCreateInfo, MemoryRequirement::Any); in iterate()
886 …const auto colorBufferView = makeImageView(vkd, device, colorBuffer.get(), VK_IMAGE_VIEW_TYPE_2D,… in iterate()
941 …imageResource = ImageWithMemoryPtr(new ImageWithMemory(vkd, device, alloc, resourceCreateInfo, Me… in iterate()
[all …]
DvktMeshShaderPropertyTestsEXT.cpp156 Move<VkRenderPass> makeCustomRenderPass (const DeviceInterface& vkd, VkDevice device);
395 Move<VkRenderPass> PayloadShMemSizeInstance::makeCustomRenderPass (const DeviceInterface& vkd, VkDe… in makeCustomRenderPass() argument
413 return createRenderPass(vkd, device, &renderPassCreateInfo); in makeCustomRenderPass()
418 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
431 …BufferWithMemory resultsBuffer (vkd, device, alloc, resultsBufferCreateInfo, MemoryRequirement::… in iterate()
439 const auto setLayout = layoutBuilder.build(vkd, device); in iterate()
440 const auto pipelineLayout = makePipelineLayout(vkd, device, setLayout.get()); in iterate()
444 …const auto descriptorPool = poolBuilder.build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPT… in iterate()
445 const auto descriptorSet = makeDescriptorSet(vkd, device, descriptorPool.get(), setLayout.get()); in iterate()
450 updateBuilder.update(vkd, device); in iterate()
[all …]
DvktMeshShaderSmokeTestsEXT.cpp486 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
506 …BufferWithMemory vertexBuffer (vkd, device, alloc, vertexBufferInfo, MemoryRequirement::HostVisib… in iterate()
511 flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
515 …BufferWithMemory indexBuffer (vkd, device, alloc, indexBufferInfo, MemoryRequirement::HostVisibl… in iterate()
520 flushAlloc(vkd, device, indexBufferAlloc); in iterate()
545 ImageWithMemory colorBuffer(vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any); in iterate()
548 …const auto colorBufferView = makeImageView(vkd, device, colorBuffer.get(), VK_IMAGE_VIEW_TYPE_2D, … in iterate()
551 const auto renderPass = makeRenderPass(vkd, device, colorBufferFormat); in iterate()
554 …const auto framebuffer = makeFramebuffer(vkd, device, renderPass.get(), colorBufferView.get(), col… in iterate()
560 const auto setLayout = layoutBuilder.build(vkd, device); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiExternalMemoryTests.cpp91 vk::VkMemoryDedicatedRequirements getMemoryDedicatedRequirements (const vk::DeviceInterface& vkd, in getMemoryDedicatedRequirements() argument
115 vkd.getBufferMemoryRequirements2(device, &requirementInfo, &requirements); in getMemoryDedicatedRequirements()
120 vk::VkMemoryDedicatedRequirements getMemoryDedicatedRequirements (const vk::DeviceInterface& vkd, in getMemoryDedicatedRequirements() argument
144 vkd.getImageMemoryRequirements2(device, &requirementInfo, &requirements); in getMemoryDedicatedRequirements()
149 void writeHostMemory (const vk::DeviceInterface& vkd, in writeHostMemory() argument
155 void* const ptr = vk::mapMemory(vkd, device, memory, 0, size, 0); in writeHostMemory()
159 flushMappedMemoryRange(vkd, device, memory, 0, VK_WHOLE_SIZE); in writeHostMemory()
161 vkd.unmapMemory(device, memory); in writeHostMemory()
164 void checkHostMemory (const vk::DeviceInterface& vkd, in checkHostMemory() argument
170 void* const ptr = vk::mapMemory(vkd, device, memory, 0, size, 0); in checkHostMemory()
[all …]
DvktApiGetMemoryCommitment.cpp121 const DeviceInterface& vkd = m_context.getDeviceInterface(); in iterate() local
158 Move<VkImage> image = createImage(vkd, device, &imageParams); in iterate()
159 const VkMemoryRequirements memoryRequirements = getImageMemoryRequirements(vkd, device, *image); in iterate()
162 VK_CHECK(vkd.bindImageMemory(device, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in iterate()
176 colorAttachmentView = createImageView(vkd, device, &colorAttachmentViewParams); in iterate()
179 renderPass = makeRenderPass(vkd, device, VK_FORMAT_R32_UINT); in iterate()
201 framebuffer = createFramebuffer(vkd, device, &framebufferParams); in iterate()
226 descriptorSetLayout = createDescriptorSetLayout(vkd, device, &descriptorLayoutParams); in iterate()
242 pipelineLayout = createPipelineLayout(vkd, device, &pipelineLayoutParams); in iterate()
247 …vertexShaderModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("vert"),… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalIgnoreTests.cpp115 std::unique_ptr<BufferWithMemory> makeBufferForImage(const DeviceInterface& vkd, const VkDevice dev… in makeBufferForImage() argument
122 …auto outBuffer = std::unique_ptr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, ou… in makeBufferForImage()
129 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
173 …colorAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageC… in iterate()
174 …auto colorAttachmentView = makeImageView(vkd, device, colorAttachment->get(), VK_IMAGE_VIEW_TYPE… in iterate()
199 …depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthI… in iterate()
200 …auto depthAttachmentView = makeImageView(vkd, device, depthAttachment->get(), VK_IMAGE_VIEW_TYPE… in iterate()
203 const auto outBuffer = makeBufferForImage(vkd, device, alloc, imageFormat, imageExtent); in iterate()
207 const auto outDepthBuffer = makeBufferForImage(vkd, device, alloc, depthFormat, imageExtent); in iterate()
211 …const auto commandPool = createCommandPool(vkd, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, qInd… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryProceduralGeometryTests.cpp95 const DeviceInterface& vkd = m_context.getDeviceInterface(); in iterate() local
105 .build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 2u); in iterate()
110 .build(vkd, device); in iterate()
112 …const Move<VkDescriptorSet> referenceDescriptorSet = makeDescriptorSet(vkd, device, *descriptorP… in iterate()
113 …const Move<VkDescriptorSet> resultDescriptorSet = makeDescriptorSet(vkd, device, *descriptorPoo… in iterate()
117 … referenceBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator,… in iterate()
118 …ry> resultBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator,… in iterate()
120 …Move<VkShaderModule> shaderModule = createShaderModule(vkd, device, m_context.getBinaryCollect… in iterate()
121 …const Move<VkPipelineLayout> pipelineLayout = makePipelineLayout(vkd, device, descriptorSetLayou… in iterate()
140 Move<VkPipeline> pipeline = createComputePipeline(vkd, device, DE_NULL, &pipelineCreateInfo); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBindPointTests.cpp294 Move<VkDescriptorSetLayout> makeSetLayout(const DeviceInterface& vkd, VkDevice device, VkShaderStag… in makeSetLayout() argument
302 return builder.build(vkd, device, createFlags); in makeSetLayout()
305 void zeroOutAndFlush (const DeviceInterface& vkd, VkDevice device, BufferWithMemory& buffer, VkDevi… in zeroOutAndFlush() argument
311 flushAlloc(vkd, device, alloc); in zeroOutAndFlush()
314 void makePoolAndSet (const DeviceInterface& vkd, VkDevice device, VkDescriptorSetLayout layout, Mov… in makePoolAndSet() argument
318 pool = poolBuilder.build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in makePoolAndSet()
319 set = makeDescriptorSet(vkd, device, pool.get(), layout); in makePoolAndSet()
322 void writeSetUpdate (const DeviceInterface& vkd, VkDevice device, VkBuffer buffer, VkDeviceSize off… in writeSetUpdate() argument
327 updateBuilder.update(vkd, device); in writeSetUpdate()
330 Move<VkDescriptorUpdateTemplate> makeUpdateTemplate (const DeviceInterface& vkd, VkDevice device, V… in makeUpdateTemplate() argument
[all …]
DvktPipelineMiscTests.cpp272 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
301 ImageWithMemory colorBuffer (vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any); in iterate()
304 …const auto colorBufferView = makeImageView(vkd, device, colorBuffer.get(), VK_IMAGE_VIEW_TYPE_2D… in iterate()
309 …BufferWithMemory verifBuffer (vkd, device, alloc, verifBufferInfo, MemoryRequirement::HostVisibl… in iterate()
313 const auto renderPass = makeRenderPass(vkd, device, m_format); in iterate()
314 …const auto framebuffer = makeFramebuffer(vkd, device, renderPass.get(), colorBufferView.get(), m_e… in iterate()
318 const auto vertModule = createShaderModule(vkd, device, binaries.get("vert")); in iterate()
319 const auto fragModule = createShaderModule(vkd, device, binaries.get("frag")); in iterate()
324 tscModule = createShaderModule(vkd, device, binaries.get("tsc")); in iterate()
325 tseModule = createShaderModule(vkd, device, binaries.get("tse")); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sc/
DvktDeviceObjectReservationTests.cpp147 void createSemaphores (const DeviceInterface& vkd, in createSemaphores() argument
153 *it = SemaphoreSp(new Unique<VkSemaphore>(createSemaphore(vkd, device))); in createSemaphores()
156 void createCommandBuffers (const DeviceInterface& vkd, in createCommandBuffers() argument
172 …*it = CommandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vkd, device, &commandBuffe… in createCommandBuffers()
176 void createFences (const DeviceInterface& vkd, in createFences() argument
189 *it = FenceSp(new Unique<VkFence>(createFence(vkd, device, &fenceCI))); in createFences()
193 void allocateDeviceMemory (const DeviceInterface& vkd, in allocateDeviceMemory() argument
208 *it = DeviceMemorySp(new Unique<VkDeviceMemory>(allocateMemory(vkd, device, &alloc))); in allocateDeviceMemory()
212 void createBuffers (const DeviceInterface& vkd, in createBuffers() argument
232 *it = BufferSp(new Unique<VkBuffer>(createBuffer(vkd, device, &bufferCI))); in createBuffers()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp153 Move<VkImageView> createImageView (const DeviceInterface& vkd, in createImageView() argument
168 …return createImageView(vkd, device, 0u, image, VK_IMAGE_VIEW_TYPE_2D, format, makeComponentMapping… in createImageView()
171 Move<VkBuffer> createBuffer (const DeviceInterface& vkd, in createBuffer() argument
193 return createBuffer(vkd, device, &createInfo); in createBuffer()
197 Move<VkRenderPass> createRenderPass (const DeviceInterface& vkd, in createRenderPass() argument
254 return renderPassCreator.createRenderPass(vkd, device); in createRenderPass()
257 Move<VkRenderPass> createRenderPass (const DeviceInterface& vkd, in createRenderPass() argument
265 …eference1, SubpassDescription1, SubpassDependency1, RenderPassCreateInfo1>(vkd, device, dstFormat); in createRenderPass()
267 …eference2, SubpassDescription2, SubpassDependency2, RenderPassCreateInfo2>(vkd, device, dstFormat); in createRenderPass()
275 Move<VkFramebuffer> createFramebuffer (const DeviceInterface& vkd, in createFramebuffer() argument
[all …]
DvktRenderPassSubpassDependencyTests.cpp271 vector<SharedPtrVkImageView> createImageViews (const DeviceInterface& vkd, in createImageViews() argument
290 …imageViews.push_back(makeSharedPtr(createImageView(vkd, device, 0u, **images[imageViewNdx], VK_IMA… in createImageViews()
296 Move<VkBuffer> createBuffer (const DeviceInterface& vkd, in createBuffer() argument
316 return createBuffer(vkd, device, &createInfo); in createBuffer()
319 vector<SharedPtrVkDescriptorLayout> createDescriptorSetLayouts (const DeviceInterface& vkd, in createDescriptorSetLayouts() argument
345 layouts.push_back(makeSharedPtr(createDescriptorSetLayout(vkd, device, &createInfo))); in createDescriptorSetLayouts()
351 vector<SharedPtrVkDescriptorPool> createDescriptorPools (const DeviceInterface& vkd, in createDescriptorPools() argument
376 descriptorPools.push_back(makeSharedPtr(createDescriptorPool(vkd, device, &createInfo))); in createDescriptorPools()
423 vector<SharedPtrVkSampler> createSamplers (const DeviceInterface& vkd,
427 vector<SharedPtrVkRenderPass> createRenderPasses (const DeviceInterface& vkd,
[all …]
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp204 const DeviceDriver vkd; member
222 , vkd (context.getPlatformInterface(), instance, *device) in DeviceHelper()
223 , queue (getDeviceQueue(vkd, *device, queueFamilyIndex, 0)) in DeviceHelper()
339 vector<FenceSp> createFences (const DeviceInterface& vkd, in createFences() argument
346 fences[ndx] = FenceSp(new Unique<VkFence>(createFence(vkd, device))); in createFences()
351 vector<SemaphoreSp> createSemaphores (const DeviceInterface& vkd, in createSemaphores() argument
358 semaphores[ndx] = SemaphoreSp(new Unique<VkSemaphore>(createSemaphore(vkd, device))); in createSemaphores()
363 vector<CommandBufferSp> allocateCommandBuffers (const DeviceInterface& vkd, in allocateCommandBuffers() argument
372 …buffers[ndx] = CommandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vkd, device, comm… in allocateCommandBuffers()
377 tcu::Vec4 getPixel (const DeviceInterface& vkd, in getPixel() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktGlobalPriorityQueueTests.cpp246 const DeviceInterface& vkd = m_context.getDeviceInterface(); in createImage() local
274 …return de::MovePtr<ImageWithMemory>(new ImageWithMemory(vki, vkd, phys, dev, alloc, imageInfo, que… in createImage()
279 const DeviceInterface& vkd = m_context.getDeviceInterface(); in createView() local
283 return makeImageView(vkd, dev, image, VK_IMAGE_VIEW_TYPE_2D, m_config.format, range); in createView()
321 const DeviceInterface& vkd = m_context.getDeviceInterface(); in createGraphicsPipeline() local
324 m_vertex = createShaderModule(vkd, dev, m_context.getBinaryCollection().get("vert")); in createGraphicsPipeline()
325 m_fragment = createShaderModule(vkd, dev, m_context.getBinaryCollection().get("frag")); in createGraphicsPipeline()
342 return makeGraphicsPipeline(vkd, dev, pipelineLayout,*m_vertex,VkShaderModule(0), in createGraphicsPipeline()
380 const DeviceInterface& vkd = m_context.getDeviceInterface(); in submitCommands() local
383 Move<VkSemaphore> sem = createSemaphore(vkd, dev); in submitCommands()
[all …]

12345678