/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateComputeTests.cpp | 93 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
D | vktDynamicStateComputeTests.cpp | 93 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/ |
D | vktQueryPoolPerformanceTests.cpp | 250 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/query_pool/ |
D | vktQueryPoolPerformanceTests.cpp | 250 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/ray_tracing/ |
D | vktRayTracingProceduralGeometryTests.cpp | 70 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 …]
|
D | vktRayTracingCallableShadersTests.cpp | 239 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 …]
|
D | vktRayTracingBarrierTests.cpp | 832 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 …]
|
D | vktRayTracingTraceRaysTests.cpp | 151 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
D | vktRayTracingProceduralGeometryTests.cpp | 70 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 …]
|
D | vktRayTracingCallableShadersTests.cpp | 239 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 …]
|
D | vktRayTracingBarrierTests.cpp | 832 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 …]
|
D | vktRayTracingTraceRaysTests.cpp | 151 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 …]
|
D | vktRayTracingCaptureReplayTests.cpp | 137 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
D | vktMeshShaderConditionalRenderingTestsEXT.cpp | 141 …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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderConditionalRenderingTestsEXT.cpp | 141 …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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiExternalMemoryTests.cpp | 91 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiExternalMemoryTests.cpp | 91 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/ |
D | vktConditionalIgnoreTests.cpp | 113 std::unique_ptr<BufferWithMemory> makeBufferForImage(const DeviceInterface& vkd, const VkDevice dev… in makeBufferForImage() argument 120 …auto outBuffer = std::unique_ptr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, ou… in makeBufferForImage() 127 const auto& vkd = m_context.getDeviceInterface(); in iterate() local 171 …colorAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageC… in iterate() 172 …auto colorAttachmentView = makeImageView(vkd, device, colorAttachment->get(), VK_IMAGE_VIEW_TYPE… in iterate() 197 …depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthI… in iterate() 198 …auto depthAttachmentView = makeImageView(vkd, device, depthAttachment->get(), VK_IMAGE_VIEW_TYPE… in iterate() 201 const auto outBuffer = makeBufferForImage(vkd, device, alloc, imageFormat, imageExtent); in iterate() 205 const auto outDepthBuffer = makeBufferForImage(vkd, device, alloc, depthFormat, imageExtent); in iterate() 209 …const auto commandPool = createCommandPool(vkd, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, qInd… in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalIgnoreTests.cpp | 113 std::unique_ptr<BufferWithMemory> makeBufferForImage(const DeviceInterface& vkd, const VkDevice dev… in makeBufferForImage() argument 120 …auto outBuffer = std::unique_ptr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, ou… in makeBufferForImage() 127 const auto& vkd = m_context.getDeviceInterface(); in iterate() local 171 …colorAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageC… in iterate() 172 …auto colorAttachmentView = makeImageView(vkd, device, colorAttachment->get(), VK_IMAGE_VIEW_TYPE… in iterate() 197 …depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthI… in iterate() 198 …auto depthAttachmentView = makeImageView(vkd, device, depthAttachment->get(), VK_IMAGE_VIEW_TYPE… in iterate() 201 const auto outBuffer = makeBufferForImage(vkd, device, alloc, imageFormat, imageExtent); in iterate() 205 const auto outDepthBuffer = makeBufferForImage(vkd, device, alloc, depthFormat, imageExtent); in iterate() 209 …const auto commandPool = createCommandPool(vkd, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, qInd… in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryProceduralGeometryTests.cpp | 95 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
D | vktRayQueryProceduralGeometryTests.cpp | 95 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineBindPointTests.cpp | 294 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 …]
|
D | vktPipelineMiscTests.cpp | 272 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineBindPointTests.cpp | 294 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 …]
|
D | vktPipelineMiscTests.cpp | 272 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 …]
|