Home
last modified time | relevance | path

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

123456

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp90 const auto& vkd = ctx.getDeviceInterface(); in BindVertexBuffersData() local
100 …m_vertexBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, bufferInfo, MemoryRequiremen… in BindVertexBuffersData()
104 flushAlloc(vkd, device, bufferAlloc); in BindVertexBuffersData()
107 m_renderPass = makeRenderPass(vkd, device); in BindVertexBuffersData()
110 m_pipelineLayout = makePipelineLayout(vkd, device); in BindVertexBuffersData()
113 m_vertexShader = createShaderModule(vkd, device, ctx.getBinaryCollection().get("vert"), 0u); in BindVertexBuffersData()
130 m_graphicsPipeline = makeGraphicsPipeline(vkd, device, m_pipelineLayout.get(), in BindVertexBuffersData()
167 void setViewport (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setViewport() argument
178 vkd->cmdSetViewport(cmdBuffer, 0u, 1u, &viewport); in setViewport()
181 void setScissor (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setScissor() argument
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiExternalMemoryTests.cpp75 vk::VkMemoryDedicatedRequirements getMemoryDedicatedRequirements (const vk::DeviceInterface& vkd, in getMemoryDedicatedRequirements() argument
99 vkd.getBufferMemoryRequirements2(device, &requirementInfo, &requirements); in getMemoryDedicatedRequirements()
104 vk::VkMemoryDedicatedRequirements getMemoryDedicatedRequirements (const vk::DeviceInterface& vkd, in getMemoryDedicatedRequirements() argument
128 vkd.getImageMemoryRequirements2(device, &requirementInfo, &requirements); in getMemoryDedicatedRequirements()
133 void writeHostMemory (const vk::DeviceInterface& vkd, in writeHostMemory() argument
139 void* const ptr = vk::mapMemory(vkd, device, memory, 0, size, 0); in writeHostMemory()
143 flushMappedMemoryRange(vkd, device, memory, 0, VK_WHOLE_SIZE); in writeHostMemory()
145 vkd.unmapMemory(device, memory); in writeHostMemory()
148 void checkHostMemory (const vk::DeviceInterface& vkd, in checkHostMemory() argument
154 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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingProceduralGeometryTests.cpp111 const DeviceInterface& vkd = m_context.getDeviceInterface(); in iterate() local
122 .build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 2u); in iterate()
127 .build(vkd, device); in iterate()
129 …const Move<VkDescriptorSet> referenceDescriptorSet = makeDescriptorSet(vkd, device, *descriptorP… in iterate()
130 …const Move<VkDescriptorSet> resultDescriptorSet = makeDescriptorSet(vkd, device, *descriptorPoo… in iterate()
134 … referenceBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator,… in iterate()
135 …ry> resultBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator,… in iterate()
141 …onKHR rgenSBTR = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, m_rgenShad… in iterate()
142 …onKHR chitSBTR = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, m_chitShad… in iterate()
143 …onKHR missSBTR = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, m_missShad… 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 …]
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 …]
DvktRayTracingTraceRaysTests.cpp282 const DeviceInterface& vkd = m_context.getDeviceInterface(); in initBottomAccelerationStructures() local
313 bottomLevelAccelerationStructure->createAndBuild(vkd, device, cmdBuffer, allocator); in initBottomAccelerationStructures()
323 const DeviceInterface& vkd = m_context.getDeviceInterface(); in initTopAccelerationStructure() local
341 result->createAndBuild(vkd, device, cmdBuffer, allocator); in initTopAccelerationStructure()
349 const DeviceInterface& vkd = m_context.getDeviceInterface(); in runTest() local
371 .build(vkd, device); in runTest()
375 .build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in runTest()
376 …computeDescriptorSet = makeDescriptorSet(vkd, device, *computeDescriptorPool, *computeDescripto… in runTest()
377 computePipelineLayout = makePipelineLayout(vkd, device, computeDescriptorSetLayout.get()); in runTest()
379 …computeShader = createShaderModule(vkd, device, m_context.getBinaryCollection().get("compute_… in runTest()
[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 …]
DvktRayTracingBarycentricCoordinatesTests.cpp226 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
234 const auto cmdPool = makeCommandPool(vkd, device, qIndex); in iterate()
235 …const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVE… in iterate()
238 beginCommandBuffer(vkd, cmdBuffer); in iterate()
252 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
257 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
262 …BufferWithMemory directionsBuffer (vkd, device, alloc, directionsBufferInfo, MemoryRequirement::Ho… in iterate()
298 flushAlloc(vkd, device, directionsBufferAlloc); in iterate()
303 …BufferWithMemory barycoordsBuffer (vkd, device, alloc, barycoordsBufferInfo, MemoryRequirement::Ho… in iterate()
307 flushAlloc(vkd, device, barycoordsBufferAlloc); in iterate()
[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 …]
/third_party/vk-gl-cts/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 …]
DvktRayQueryMiscTests.cpp186 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
206 …BufferWithMemory inputBuffer (vkd, device, alloc, inputBufferInfo, MemoryRequirement::HostVisibl… in iterate()
211 flushAlloc(vkd, device, inputBufferAlloc); in iterate()
216 …BufferWithMemory outputBuffer (vkd, device, alloc, outputBufferInfo, MemoryRequirement::HostVisib… in iterate()
221 flushAlloc(vkd, device, outputBufferAlloc); in iterate()
224 const auto cmdPool = makeCommandPool(vkd, device, qIndex); in iterate()
225 …const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVE… in iterate()
227 beginCommandBuffer(vkd, cmdBuffer); in iterate()
245 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
248 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
[all …]
DvktRayQueryNonUniformArgsTests.cpp175 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
211 const auto cmdPool = makeCommandPool(vkd, device, qIndex); in iterate()
212 …const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVE… in iterate()
215 beginCommandBuffer(vkd, cmdBuffer); in iterate()
229 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
234 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
239 …BufferWithMemory inputBuffer (vkd, device, alloc, inputBufferInfo, MemoryRequirement::HostVisibl… in iterate()
245 …BufferWithMemory outputBuffer (vkd, device, alloc, outputBufferInfo, MemoryRequirement::HostVisib… in iterate()
250 flushAlloc(vkd, device, outputBufferAlloc); in iterate()
257 const auto setLayout = setLayoutBuilder.build(vkd, device); in iterate()
[all …]
DvktRayQueryBarycentricCoordinatesTests.cpp185 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
193 const auto cmdPool = makeCommandPool(vkd, device, qIndex); in iterate()
194 …const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVE… in iterate()
197 beginCommandBuffer(vkd, cmdBuffer); in iterate()
211 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
216 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate()
221 …BufferWithMemory directionsBuffer (vkd, device, alloc, directionsBufferInfo, MemoryRequirement::Ho… in iterate()
257 flushAlloc(vkd, device, directionsBufferAlloc); in iterate()
262 …BufferWithMemory barycoordsBuffer (vkd, device, alloc, barycoordsBufferInfo, MemoryRequirement::Ho… in iterate()
266 flushAlloc(vkd, device, barycoordsBufferAlloc); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBindPointTests.cpp285 Move<VkDescriptorSetLayout> makeSetLayout(const DeviceInterface& vkd, VkDevice device, VkShaderStag… in makeSetLayout() argument
293 return builder.build(vkd, device, createFlags); in makeSetLayout()
296 void zeroOutAndFlush (const DeviceInterface& vkd, VkDevice device, BufferWithMemory& buffer, VkDevi… in zeroOutAndFlush() argument
302 flushAlloc(vkd, device, alloc); in zeroOutAndFlush()
305 void makePoolAndSet (const DeviceInterface& vkd, VkDevice device, VkDescriptorSetLayout layout, Mov… in makePoolAndSet() argument
309 pool = poolBuilder.build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in makePoolAndSet()
310 set = makeDescriptorSet(vkd, device, pool.get(), layout); in makePoolAndSet()
313 void writeSetUpdate (const DeviceInterface& vkd, VkDevice device, VkBuffer buffer, VkDeviceSize off… in writeSetUpdate() argument
318 updateBuilder.update(vkd, device); in writeSetUpdate()
321 Move<VkDescriptorUpdateTemplate> makeUpdateTemplate (const DeviceInterface& vkd, VkDevice device, V… in makeUpdateTemplate() argument
[all …]
DvktPipelineNoPositionTests.cpp374 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
396 vert = createShaderModule(vkd, device, m_context.getBinaryCollection().get("vert"), 0u); in iterate()
401 tesc = createShaderModule(vkd, device, m_context.getBinaryCollection().get("tesc"), 0u); in iterate()
406 tese = createShaderModule(vkd, device, m_context.getBinaryCollection().get("tese"), 0u); in iterate()
411 geom = createShaderModule(vkd, device, m_context.getBinaryCollection().get("geom"), 0u); in iterate()
415 frag = createShaderModule(vkd, device, m_context.getBinaryCollection().get("frag"), 0u); in iterate()
437 ImageWithMemory colorImage (vkd, device, alloc, colorImageInfo, MemoryRequirement::Any); in iterate()
440 …const auto colorImageView = makeImageView(vkd, device, colorImage.get(), viewType, format, subreso… in iterate()
453 …BufferWithMemory vertexBuffer (vkd, device, alloc, vertexBufferInfo, MemoryRequirement::HostVisibl… in iterate()
458 flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp202 const DeviceDriver vkd; member
220 , vkd (context.getPlatformInterface(), instance, *device) in DeviceHelper()
221 , queue (getDeviceQueue(vkd, *device, queueFamilyIndex, 0)) in DeviceHelper()
337 vector<FenceSp> createFences (const DeviceInterface& vkd, in createFences() argument
344 fences[ndx] = FenceSp(new Unique<VkFence>(createFence(vkd, device))); in createFences()
349 vector<SemaphoreSp> createSemaphores (const DeviceInterface& vkd, in createSemaphores() argument
356 semaphores[ndx] = SemaphoreSp(new Unique<VkSemaphore>(createSemaphore(vkd, device))); in createSemaphores()
361 vector<CommandBufferSp> allocateCommandBuffers (const DeviceInterface& vkd, in allocateCommandBuffers() argument
370 …buffers[ndx] = CommandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vkd, device, comm… in allocateCommandBuffers()
375 tcu::Vec4 getPixel (const DeviceInterface& vkd, in getPixel() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateASTests.cpp133 static VkStridedDeviceAddressRegionKHR makeStridedDeviceAddressRegion (const DeviceInterface& vkd, … in makeStridedDeviceAddressRegion() argument
141 …return makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, buffer, 0), stride, s… in makeStridedDeviceAddressRegion()
406 const DeviceInterface& vkd = m_context.getDeviceInterface(); in iterate() local
419 …mory> image = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, allocator,… in iterate()
420 …const Move<VkImageView> imageView = makeImageView(vkd, device, **image, VK_IMAGE_VIE… in iterate()
426 … resultBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator,… in iterate()
429 …const Move<VkCommandPool> commandPool = createCommandPool(vkd, device, 0, queueFamily… in iterate()
430 …const Move<VkCommandBuffer> commandBuffer = allocateCommandBuffer(vkd, device, *comman… in iterate()
439 ….build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u + accelerationStructureD… in iterate()
443 .build(vkd, device); in iterate()
[all …]
DvktBindingDescriptorUpdateTests.cpp401 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
448 …const vk::ImageWithMemory mainImage {vkd, device, allocator, mainImgCreateInfo, vk::MemoryRequirem… in iterate()
449 …const vk::ImageWithMemory fbImage {vkd, device, allocator, fbImgCreateInfo, vk::MemoryRequirement:… in iterate()
453 …const auto mainView = vk::makeImageView(vkd, device, mainImage.get(), vk::VK_IMAGE_VIEW_TYPE_2… in iterate()
454 …const auto fbView = vk::makeImageView(vkd, device, fbImage.get(), vk::VK_IMAGE_VIEW_TYPE_2D, … in iterate()
459 …const vk::BufferWithMemory resultsBuffer {vkd, device, allocator, resultsBufferInfo, vk::MemoryRe… in iterate()
474 …const vk::BufferWithMemory vertexBuffer {vkd, device, allocator, vertexBufferInfo, vk::MemoryRequ… in iterate()
480 vk::flushAlloc(vkd, device, vertexAlloc); in iterate()
488 descriptorSetLayouts.push_back(layoutBuilder.build(vkd, device)); in iterate()
492 descriptorSetLayouts.push_back(layoutBuilder.build(vkd, device)); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSmokeTests.cpp391 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
411 …BufferWithMemory vertexBuffer (vkd, device, alloc, vertexBufferInfo, MemoryRequirement::HostVisib… in iterate()
416 flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
420 …BufferWithMemory indexBuffer (vkd, device, alloc, indexBufferInfo, MemoryRequirement::HostVisibl… in iterate()
425 flushAlloc(vkd, device, indexBufferAlloc); in iterate()
450 ImageWithMemory colorBuffer(vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any); in iterate()
453 …const auto colorBufferView = makeImageView(vkd, device, colorBuffer.get(), VK_IMAGE_VIEW_TYPE_2D, … in iterate()
456 const auto renderPass = makeRenderPass(vkd, device, colorBufferFormat); in iterate()
459 …const auto framebuffer = makeFramebuffer(vkd, device, renderPass.get(), colorBufferView.get(), col… in iterate()
465 const auto setLayout = layoutBuilder.build(vkd, device); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers/
DvktModifiersTests.cpp299 Move<VkImage> createImageNoModifiers (const DeviceInterface& vkd, in createImageNoModifiers() argument
324 return createImage(vkd, device, &createInfo); in createImageNoModifiers()
327 Move<VkImage> createImageWithDrmFormatModifiers (const DeviceInterface& vkd, in createImageWithDrmFormatModifiers() argument
384 return createImage(vkd, device, &createInfo); in createImageWithDrmFormatModifiers()
390 const DeviceInterface& vkd = context.getDeviceInterface(); in createImageListModifiersCase() local
424 const auto image = createImageWithDrmFormatModifiers(vkd, device, VK_IMAGE_TYPE_2D, in createImageListModifiersCase()
428 VK_CHECK(vkd.getImageDrmFormatModifierPropertiesEXT(device, *image, &properties)); in createImageListModifiersCase()
455 const DeviceInterface& vkd = context.getDeviceInterface(); in exportImportMemoryExplicitModifiersCase() local
475 …const de::UniquePtr<BufferWithMemory> inputBuffer (new BufferWithMemory(vkd, device, context.get… in exportImportMemoryExplicitModifiersCase()
479 …const de::UniquePtr<BufferWithMemory> outputBuffer (new BufferWithMemory(vkd, device, context.ge… in exportImportMemoryExplicitModifiersCase()
[all …]

123456