Home
last modified time | relevance | path

Searched refs:vkd (Results 1 - 25 of 384) sorted by relevance

12345678910>>...16

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingProceduralGeometryTests.cpp70 de::MovePtr<DeviceDriver> vkd; member
135 vkd = de::MovePtr<DeviceDriver>(new DeviceDriver(vkp, instance, device.get(), context.getUsedApiVersion())); in DeviceHelper()
136 queue = getDeviceQueue(*vkd, *device, queueFamilyIndex, 0u); in DeviceHelper()
137 allocator = de::MovePtr<SimpleAllocator>(new SimpleAllocator(*vkd, device.get(), getPhysicalDeviceMemoryProperties(vki, physicalDevice))); 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, *descriptorPool, *m_descriptorSetLayout); in iterate()
208 const Move<VkDescriptorSet> resultDescriptorSet = makeDescriptorSet(vkd, devic in iterate()
308 const DeviceInterface& vkd = *m_customDevice.vkd; clearBuffer() local
334 const DeviceInterface& vkd = *m_customDevice.vkd; setupRayTracingPipeline() local
355 const DeviceInterface& vkd = *m_customDevice.vkd; setupAccelerationStructures() local
417 const DeviceInterface& vkd = *m_customDevice.vkd; setupRayTracingPipeline() local
439 const DeviceInterface& vkd = *m_customDevice.vkd; setupAccelerationStructures() local
[all...]
H A DvktRayTracingCaptureReplayTests.cpp137 const DeviceInterface& vkd,
143 const DeviceInterface& vkd,
254 const DeviceInterface& vkd,
260 const DeviceInterface& vkd,
346 const DeviceInterface& vkd, in initRayTracingShaders()
353 rayTracingPipeline->addShader(VK_SHADER_STAGE_RAYGEN_BIT_KHR, createShaderModule(vkd, device, context.getBinaryCollection().get("rgen"), 0), 0); in initRayTracingShaders()
354 rayTracingPipeline->addShader(VK_SHADER_STAGE_MISS_BIT_KHR, createShaderModule(vkd, device, context.getBinaryCollection().get("miss"), 0), 1); in initRayTracingShaders()
359 rayTracingPipeline->addShader(VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, createShaderModule(vkd, device, context.getBinaryCollection().get(shaderName.str()), 0), 2 + shaderNdx); in initRayTracingShaders()
365 const DeviceInterface& vkd, in initShaderBindingTables()
378 pipelineData.pipelines[0].pipeline = rayTracingPipeline->createPipeline(vkd, devic in initShaderBindingTables()
344 initRayTracingShaders(de::MovePtr<RayTracingPipeline>& rayTracingPipeline, Context& context, const DeviceInterface& vkd, const VkDevice device, TestParams& testParams, bool replay) initRayTracingShaders() argument
363 initShaderBindingTables(de::MovePtr<RayTracingPipeline>& rayTracingPipeline, Context& context, const DeviceInterface& vkd, const VkDevice device, TestParams& testParams, deUint32 shaderGroupHandleSize, deUint32 shaderGroupBaseAlignment, PipelineData& pipelineData, bool replay) initShaderBindingTables() argument
667 initRayTracingShaders(de::MovePtr<RayTracingPipeline>& rayTracingPipeline, Context& context, const DeviceInterface& vkd, const VkDevice device, TestParams& testParams, bool replay) initRayTracingShaders() argument
684 initShaderBindingTables(de::MovePtr<RayTracingPipeline>& rayTracingPipeline, Context& context, const DeviceInterface& vkd, const VkDevice device, TestParams& testParams, deUint32 shaderGroupHandleSize, deUint32 shaderGroupBaseAlignment, PipelineData& pipelineData, bool replay) initShaderBindingTables() argument
916 const auto& vkd = m_context.getDeviceInterface(); runTest() local
[all...]
H A DvktRayTracingBarrierTests.cpp832 std::unique_ptr<BufferWithMemory> makeStd140Buffer (const DeviceInterface& vkd, VkDevice device, Allocator& alloc, VkBufferUsageFlags flags, MemoryRequirement memReq) 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, Allocator& alloc, VkBufferUsageFlags flags, bool fill) in makeStd430BufferImpl() argument
878 buffer.reset(new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible)); in makeStd430BufferImpl()
881 fillStd430Buffer(vkd, device, *buffer); in makeStd430BufferImpl()
886 std::unique_ptr<BufferWithMemory> makeStd430Buffer (const DeviceInterface& vkd, VkDevic argument
891 makeStd430BufferFilled(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, VkBufferUsageFlags flags) makeStd430BufferFilled() argument
952 updateDescriptorSet(const DeviceInterface& vkd, VkDevice device, VkCommandBuffer cmdBuffer, Allocator& alloc, VkDescriptorType resourceType, Stage stage, StageData& stageData, BufferWithMemory* resourceBuffer, VkImageView resourceImgView, VkImageLayout layout, bool asNeeded, BufferWithMemory* verificationBuffer) updateDescriptorSet() argument
1004 createComputePipeline(const DeviceInterface& vkd, VkDevice device, Context& context, const char* shaderName, StageData& stageData) createComputePipeline() argument
1035 useComputePipeline(const DeviceInterface& vkd, VkCommandBuffer cmdBuffer, StageData& stageData) useComputePipeline() argument
1043 createGraphicsPipelineObjects(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, Context& context, const char* vertShaderName, const char* fragShaderName, StageData& stageData) createGraphicsPipelineObjects() argument
1090 useGraphicsPipeline(const DeviceInterface& vkd, VkCommandBuffer cmdBuffer, StageData& stageData) useGraphicsPipeline() argument
1104 createRayTracingPipelineData(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, Context& context, Stage stage, StageData& stageData, deUint32 shaderGroupHandleSize, deUint32 shaderGroupBaseAlignment, const char* rgenAuxName, const char* rgenName, const char* isectName, const char* ahitName, const char* chitName, const char* missName, const char* callableName) createRayTracingPipelineData() argument
1204 useRayTracingPipeline(const DeviceInterface& vkd, VkCommandBuffer cmdBuffer, StageData& stageData) useRayTracingPipeline() argument
1215 const auto& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
H A 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, devic in initTopAccelerationStructure()
385 const DeviceInterface& vkd = m_context.getDeviceInterface(); initBottomAccelerationStructure() local
432 const DeviceInterface& vkd = m_context.getDeviceInterface(); prepareBuffer() local
495 const DeviceInterface& vkd = m_context.getDeviceInterface(); runTest() local
[all...]
H A 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(); variable
213 result->createAndBuild(vkd, device, cmdBuffer, allocator);
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, devic in runTest()
981 const DeviceInterface& vkd = m_context.getDeviceInterface(); makeIndirectStructAndFlush() local
1040 const DeviceInterface& vkd = m_context.getDeviceInterface(); initBottomAccellStructures() local
1082 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A 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(), getPhysicalDeviceMemoryProperties(vki, physicalDevice))); 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, *descriptorPool, *m_descriptorSetLayout); in iterate()
208 const Move<VkDescriptorSet> resultDescriptorSet = makeDescriptorSet(vkd, devic in iterate()
308 const DeviceInterface& vkd = *m_customDevice.vkd; clearBuffer() local
334 const DeviceInterface& vkd = *m_customDevice.vkd; setupRayTracingPipeline() local
355 const DeviceInterface& vkd = *m_customDevice.vkd; setupAccelerationStructures() local
417 const DeviceInterface& vkd = *m_customDevice.vkd; setupRayTracingPipeline() local
439 const DeviceInterface& vkd = *m_customDevice.vkd; setupAccelerationStructures() local
[all...]
H A DvktRayTracingBarrierTests.cpp832 std::unique_ptr<BufferWithMemory> makeStd140Buffer (const DeviceInterface& vkd, VkDevice device, Allocator& alloc, VkBufferUsageFlags flags, MemoryRequirement memReq) 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, Allocator& alloc, VkBufferUsageFlags flags, bool fill) in makeStd430BufferImpl() argument
878 buffer.reset(new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible)); in makeStd430BufferImpl()
881 fillStd430Buffer(vkd, device, *buffer); in makeStd430BufferImpl()
886 std::unique_ptr<BufferWithMemory> makeStd430Buffer (const DeviceInterface& vkd, VkDevic argument
891 makeStd430BufferFilled(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, VkBufferUsageFlags flags) makeStd430BufferFilled() argument
952 updateDescriptorSet(const DeviceInterface& vkd, VkDevice device, VkCommandBuffer cmdBuffer, Allocator& alloc, VkDescriptorType resourceType, Stage stage, StageData& stageData, BufferWithMemory* resourceBuffer, VkImageView resourceImgView, VkImageLayout layout, bool asNeeded, BufferWithMemory* verificationBuffer) updateDescriptorSet() argument
1004 createComputePipeline(const DeviceInterface& vkd, VkDevice device, Context& context, const char* shaderName, StageData& stageData) createComputePipeline() argument
1035 useComputePipeline(const DeviceInterface& vkd, VkCommandBuffer cmdBuffer, StageData& stageData) useComputePipeline() argument
1043 createGraphicsPipelineObjects(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, Context& context, const char* vertShaderName, const char* fragShaderName, StageData& stageData) createGraphicsPipelineObjects() argument
1090 useGraphicsPipeline(const DeviceInterface& vkd, VkCommandBuffer cmdBuffer, StageData& stageData) useGraphicsPipeline() argument
1104 createRayTracingPipelineData(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, Context& context, Stage stage, StageData& stageData, deUint32 shaderGroupHandleSize, deUint32 shaderGroupBaseAlignment, const char* rgenAuxName, const char* rgenName, const char* isectName, const char* ahitName, const char* chitName, const char* missName, const char* callableName) createRayTracingPipelineData() argument
1204 useRayTracingPipeline(const DeviceInterface& vkd, VkCommandBuffer cmdBuffer, StageData& stageData) useRayTracingPipeline() argument
1215 const auto& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
H A 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, devic in initTopAccelerationStructure()
385 const DeviceInterface& vkd = m_context.getDeviceInterface(); initBottomAccelerationStructure() local
432 const DeviceInterface& vkd = m_context.getDeviceInterface(); prepareBuffer() local
495 const DeviceInterface& vkd = m_context.getDeviceInterface(); runTest() local
[all...]
H A 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(); variable
213 result->createAndBuild(vkd, device, cmdBuffer, allocator);
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, devic in runTest()
981 const DeviceInterface& vkd = m_context.getDeviceInterface(); makeIndirectStructAndFlush() local
1040 const DeviceInterface& vkd = m_context.getDeviceInterface(); initBottomAccellStructures() local
1082 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
H A DvktQueryPoolPerformanceTests.cpp255 const DeviceInterface& vkd = m_context.getDeviceInterface(); in createQueryPool() local
323 Move<VkQueryPool> queryPool = vk::createQueryPool(vkd, device, &queryPoolCreateInfo); in createQueryPool()
333 const DeviceInterface& vkd = m_context.getDeviceInterface(); in acquireProfilingLock() local
345 VkResult result = vkd.acquireProfilingLockKHR(device, &lockInfo); in acquireProfilingLock()
361 const DeviceInterface& vkd = m_context.getDeviceInterface(); in releaseProfilingLock() local
365 vkd.releaseProfilingLockKHR(device); in releaseProfilingLock()
370 const DeviceInterface& vkd = m_context.getDeviceInterface(); in verifyQueryResults() local
378 VkResult result = vkd.getQueryPoolResults(device, queryPool, 0, 1, sizeof(VkPerformanceCounterResultKHR) * enabledCounterCount, in verifyQueryResults()
430 const DeviceInterface& vkd = m_context.getDeviceInterface(); in initStateObjects() local
445 m_colorAttachmentImage = Image::createAndAlloc(vkd, devic in initStateObjects()
573 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
708 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
858 const DeviceInterface& vkd = m_context.getDeviceInterface(); initStateObjects() local
972 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
1080 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
H A DvktQueryPoolFragInvocationTests.cpp114 void recordRenderPassCommands (const DeviceInterface& vkd, const VkCommandBuffer cmdBuffer, const VkPipelineBindPoint bindPoint, const VkPipeline pipeline) in recordRenderPassCommands() argument
116 vkd.cmdBindPipeline(cmdBuffer, bindPoint, pipeline); in recordRenderPassCommands()
117 vkd.cmdDraw(cmdBuffer, 3u, 1u, 0u, 0u); in recordRenderPassCommands()
132 ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, imageType, colorSRR); in testInvocations()
135 const auto vertModule = createShaderModule(ctx.vkd, ctx.device, binaries.get("vert")); in testInvocations()
136 const auto fragModule = createShaderModule(ctx.vkd, ctx.device, binaries.get("frag")); in testInvocations()
138 const auto pipelineLayout = makePipelineLayout(ctx.vkd, ctx.device); in testInvocations()
139 const auto renderPass = makeRenderPass(ctx.vkd, ctx.device, colorFormat); in testInvocations()
140 const auto framebuffer = makeFramebuffer(ctx.vkd, ctx.device, renderPass.get(), colorBuffer.getImageView(), vkExtent.width, vkExtent.height); in testInvocations()
156 const auto queryPool = createQueryPool(ctx.vkd, ct in testInvocations()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/
H A 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(VkPerformanceCounterResultKHR) * enabledCounterCount, in verifyQueryResults()
425 const DeviceInterface& vkd = m_context.getDeviceInterface(); in initStateObjects() local
440 m_colorAttachmentImage = Image::createAndAlloc(vkd, devic in initStateObjects()
568 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
703 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
853 const DeviceInterface& vkd = m_context.getDeviceInterface(); initStateObjects() local
967 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
1075 const DeviceInterface& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateComputeTests.cpp95 const auto& vkd = ctx.getDeviceInterface(); in BindVertexBuffersData() local
104 m_vertexBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, bufferInfo, MemoryRequirement::HostVisible)); in BindVertexBuffersData()
108 flushAlloc(vkd, device, bufferAlloc); in BindVertexBuffersData()
111 m_renderPass = RenderPassWrapper(pipelineConstructionType, vkd, device); in BindVertexBuffersData()
114 m_pipelineLayout = makePipelineLayout(vkd, device); in BindVertexBuffersData()
117 m_vertexShader = createShaderModule(vkd, device, ctx.getBinaryCollection().get("vert"), 0u); in BindVertexBuffersData()
134 m_graphicsPipeline = makeGraphicsPipeline(vkd, device, m_pipelineLayout.get(), in BindVertexBuffersData()
171 void setViewport (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setViewport() argument
182 vkd->cmdSetViewport(cmdBuffer, 0u, 1u, &viewport); in setViewport()
185 void setScissor (const DeviceInterface* vkd, VkCommandBuffe argument
195 setLineWidth(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setLineWidth() argument
200 setDepthBias(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthBias() argument
205 setBlendConstants(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setBlendConstants() argument
211 setDepthBounds(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthBounds() argument
216 setStencilCompareMask(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilCompareMask() argument
221 setStencilWriteMask(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilWriteMask() argument
226 setStencilReference(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilReference() argument
231 setDiscardRectangle(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDiscardRectangle() argument
241 setSampleLocations(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setSampleLocations() argument
263 setRTPipelineStatckSize(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setRTPipelineStatckSize() argument
269 setFragmentShadingRage(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setFragmentShadingRage() argument
280 setLineStipple(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setLineStipple() argument
285 setCullMode(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setCullMode() argument
294 setFrontFace(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setFrontFace() argument
303 setPrimitiveTopology(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setPrimitiveTopology() argument
312 setViewportWithCount(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setViewportWithCount() argument
330 setScissorWithCount(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setScissorWithCount() argument
344 bindVertexBuffers(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData* data) bindVertexBuffers() argument
362 setDepthTestEnable(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthTestEnable() argument
371 setDepthWriteEnable(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthWriteEnable() argument
380 setDepthCompareOp(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthCompareOp() argument
389 setDepthBoundsTestEnable(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthBoundsTestEnable() argument
398 setStencilTestEnable(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilTestEnable() argument
407 setStencilOp(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilOp() argument
418 setViewportWScaling(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setViewportWScaling() argument
428 setViewportShadingRatePalette(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setViewportShadingRatePalette() argument
439 setCoarseSamplingOrder(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setCoarseSamplingOrder() argument
464 setExclusiveScissor(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setExclusiveScissor() argument
850 fillBuffer(const DeviceInterface& vkd, VkDevice device, BufferWithMemory& buffer, const std::vector<deUint32> &values) fillBuffer() argument
863 const auto& vkd = devHelper.getDeviceInterface(); iterateTransfer() local
953 const auto& vkd = devHelper.getDeviceInterface(); iterateCompute() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateComputeTests.cpp93 const auto& vkd = ctx.getDeviceInterface(); in BindVertexBuffersData() local
102 m_vertexBuffer = BufferPtr(new BufferWithMemory(vkd, device, alloc, bufferInfo, MemoryRequirement::HostVisible)); 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, VkCommandBuffe argument
193 setLineWidth(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setLineWidth() argument
198 setDepthBias(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthBias() argument
203 setBlendConstants(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setBlendConstants() argument
209 setDepthBounds(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthBounds() argument
214 setStencilCompareMask(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilCompareMask() argument
219 setStencilWriteMask(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilWriteMask() argument
224 setStencilReference(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilReference() argument
229 setDiscardRectangle(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDiscardRectangle() argument
239 setSampleLocations(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setSampleLocations() argument
261 setRTPipelineStatckSize(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setRTPipelineStatckSize() argument
267 setFragmentShadingRage(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setFragmentShadingRage() argument
278 setLineStipple(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setLineStipple() argument
283 setCullMode(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setCullMode() argument
292 setFrontFace(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setFrontFace() argument
301 setPrimitiveTopology(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setPrimitiveTopology() argument
310 setViewportWithCount(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setViewportWithCount() argument
328 setScissorWithCount(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setScissorWithCount() argument
342 bindVertexBuffers(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData* data) bindVertexBuffers() argument
360 setDepthTestEnable(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthTestEnable() argument
369 setDepthWriteEnable(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthWriteEnable() argument
378 setDepthCompareOp(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthCompareOp() argument
387 setDepthBoundsTestEnable(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setDepthBoundsTestEnable() argument
396 setStencilTestEnable(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilTestEnable() argument
405 setStencilOp(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setStencilOp() argument
416 setViewportWScaling(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setViewportWScaling() argument
426 setViewportShadingRatePalette(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setViewportShadingRatePalette() argument
437 setCoarseSamplingOrder(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setCoarseSamplingOrder() argument
462 setExclusiveScissor(const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) setExclusiveScissor() argument
835 fillBuffer(const DeviceInterface& vkd, VkDevice device, BufferWithMemory& buffer, const std::vector<deUint32> &values) fillBuffer() argument
848 const auto& vkd = devHelper.getDeviceInterface(); iterateTransfer() local
938 const auto& vkd = devHelper.getDeviceInterface(); iterateCompute() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A 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, devic in checkHostMemory()
429 getQueue(const vk::DeviceInterface& vkd, vk::VkDevice device, deUint32 queueFamilyIndex) getQueue() argument
598 submitEmptySignal(const vk::DeviceInterface& vkd, vk::VkQueue queue, vk::VkSemaphore semaphore) submitEmptySignal() argument
815 submitEmptyWait(const vk::DeviceInterface& vkd, vk::VkQueue queue, vk::VkSemaphore semaphore) submitEmptyWait() argument
839 submitEmptySignal(const vk::DeviceInterface& vkd, vk::VkQueue queue, vk::VkFence fence) submitEmptySignal() argument
3113 de::MovePtr<vk::DeviceDriver> vkd; testBufferQueries() local
4171 de::MovePtr<vk::DeviceDriver> vkd; testImageQueries() local
4576 ValidateAHardwareBuffer(TestLog& log, vk::VkFormat format, deUint64 requiredAhbUsage, const vk::DeviceDriver& vkd, const vk::VkDevice& device, vk::VkImageUsageFlags usageFlag, vk::VkImageCreateFlags createFlag, deUint32 layerCount, bool& enableMaxLayerTest) ValidateAHardwareBuffer() argument
4656 ValidateOHOSNativeBuffer(TestLog& log, vk::VkFormat format, deUint64 requiredUsage, const vk::DeviceDriver& vkd, const vk::VkDevice& device, vk::VkImageUsageFlags usageFlag, vk::VkImageCreateFlags createFlag, BufferExternalApi* api, deUint32 layerCount, bool& enableMaxLayerTest) ValidateOHOSNativeBuffer() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderConditionalRenderingTestsEXT.cpp141 ConditionBuffer (const DeviceInterface& vkd, VkDevice device, Allocator& alloc, uint32_t condValue, bool bindWithOffset, bool condWithOffset) 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& alloc);
214 void drawMeshTasks (const DeviceInterface& vkd, const VkCommandBuffer cmdBuffer) const;
224 std::unique_ptr<BufferWithMemory> makeIndirectBuffer (const DeviceInterface& vkd, const VkDevice device, Allocator& alloc, const T& data) in makeIndirectBuffer() argument
229 std::unique_ptr<BufferWithMemory> buffer (new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible)); in makeIndirectBuffer()
235 flushAlloc(vkd, device, allocation); in makeIndirectBuffer()
240 void ConditionalRenderingInstance::initIndirectBuffers (const DeviceInterface& vkd, cons argument
255 drawMeshTasks(const DeviceInterface& vkd, const VkCommandBuffer cmdBuffer) const drawMeshTasks() argument
354 const auto& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
H A DvktMeshShaderSmokeTestsEXT.cpp489 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
510 BufferWithMemory vertexBuffer (vkd, device, alloc, vertexBufferInfo, MemoryRequirement::HostVisible); in iterate()
515 flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
519 BufferWithMemory indexBuffer (vkd, device, alloc, indexBufferInfo, MemoryRequirement::HostVisible); in iterate()
524 flushAlloc(vkd, device, indexBufferAlloc); in iterate()
549 ImageWithMemory colorBuffer(vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any); in iterate()
552 const auto colorBufferView = makeImageView(vkd, device, colorBuffer.get(), VK_IMAGE_VIEW_TYPE_2D, colorBufferFormat, colorSRR); in iterate()
555 const auto renderPass = makeRenderPass(vkd, device, colorBufferFormat); in iterate()
558 const auto framebuffer = makeFramebuffer(vkd, device, renderPass.get(), colorBufferView.get(), colorBufferExtent.width, colorBufferExtent.height); in iterate()
564 const auto setLayout = layoutBuilder.build(vkd, devic in iterate()
810 const auto& vkd = context.getDeviceInterface(); testFullscreenGradient() local
1214 const auto& vkd = m_context.getDeviceInterface(); iterate() local
1707 const auto& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderConditionalRenderingTestsEXT.cpp141 ConditionBuffer (const DeviceInterface& vkd, VkDevice device, Allocator& alloc, uint32_t condValue, bool bindWithOffset, bool condWithOffset) 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& alloc);
214 void drawMeshTasks (const DeviceInterface& vkd, const VkCommandBuffer cmdBuffer) const;
224 std::unique_ptr<BufferWithMemory> makeIndirectBuffer (const DeviceInterface& vkd, const VkDevice device, Allocator& alloc, const T& data) in makeIndirectBuffer() argument
229 std::unique_ptr<BufferWithMemory> buffer (new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible)); in makeIndirectBuffer()
235 flushAlloc(vkd, device, allocation); in makeIndirectBuffer()
240 void ConditionalRenderingInstance::initIndirectBuffers (const DeviceInterface& vkd, cons argument
255 drawMeshTasks(const DeviceInterface& vkd, const VkCommandBuffer cmdBuffer) const drawMeshTasks() argument
354 const auto& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
H A DvktMeshShaderSmokeTestsEXT.cpp486 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
506 BufferWithMemory vertexBuffer (vkd, device, alloc, vertexBufferInfo, MemoryRequirement::HostVisible); in iterate()
511 flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
515 BufferWithMemory indexBuffer (vkd, device, alloc, indexBufferInfo, MemoryRequirement::HostVisible); 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, colorBufferFormat, colorSRR); in iterate()
551 const auto renderPass = makeRenderPass(vkd, device, colorBufferFormat); in iterate()
554 const auto framebuffer = makeFramebuffer(vkd, device, renderPass.get(), colorBufferView.get(), colorBufferExtent.width, colorBufferExtent.height); in iterate()
560 const auto setLayout = layoutBuilder.build(vkd, devic in iterate()
805 const auto& vkd = context.getDeviceInterface(); testFullscreenGradient() local
1207 const auto& vkd = m_context.getDeviceInterface(); iterate() local
1698 const auto& vkd = m_context.getDeviceInterface(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A 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, devic in checkHostMemory()
418 getQueue(const vk::DeviceInterface& vkd, vk::VkDevice device, deUint32 queueFamilyIndex) getQueue() argument
587 submitEmptySignal(const vk::DeviceInterface& vkd, vk::VkQueue queue, vk::VkSemaphore semaphore) submitEmptySignal() argument
804 submitEmptyWait(const vk::DeviceInterface& vkd, vk::VkQueue queue, vk::VkSemaphore semaphore) submitEmptyWait() argument
828 submitEmptySignal(const vk::DeviceInterface& vkd, vk::VkQueue queue, vk::VkFence fence) submitEmptySignal() argument
3095 de::MovePtr<vk::DeviceDriver> vkd; testBufferQueries() local
3971 de::MovePtr<vk::DeviceDriver> vkd; testImageQueries() local
4342 ValidateAHardwareBuffer(TestLog& log, vk::VkFormat format, deUint64 requiredAhbUsage, const vk::DeviceDriver& vkd, const vk::VkDevice& device, vk::VkImageUsageFlags usageFlag, vk::VkImageCreateFlags createFlag, deUint32 layerCount, bool& enableMaxLayerTest) ValidateAHardwareBuffer() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalIgnoreTests.cpp115 std::unique_ptr<BufferWithMemory> makeBufferForImage(const DeviceInterface& vkd, const VkDevice device, Allocator& allocator, VkFormat imageFormat, VkExtent3D imageExtent) in makeBufferForImage() argument
122 auto outBuffer = std::unique_ptr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, outBufferInfo, MemoryRequirement::HostVisible)); in makeBufferForImage()
129 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
173 colorAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate()
174 auto colorAttachmentView = makeImageView(vkd, device, colorAttachment->get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSubresourceRange); in iterate()
199 depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthImageCreateInfo, MemoryRequirement::Any)); in iterate()
200 auto depthAttachmentView = makeImageView(vkd, device, depthAttachment->get(), VK_IMAGE_VIEW_TYPE_2D, depthFormat, depthSubresourceRange); 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, devic in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalIgnoreTests.cpp113 std::unique_ptr<BufferWithMemory> makeBufferForImage(const DeviceInterface& vkd, const VkDevice device, Allocator& allocator, VkFormat imageFormat, VkExtent3D imageExtent) in makeBufferForImage() argument
120 auto outBuffer = std::unique_ptr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, outBufferInfo, MemoryRequirement::HostVisible)); in makeBufferForImage()
127 const auto& vkd = m_context.getDeviceInterface(); in iterate() local
171 colorAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate()
172 auto colorAttachmentView = makeImageView(vkd, device, colorAttachment->get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSubresourceRange); in iterate()
197 depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthImageCreateInfo, MemoryRequirement::Any)); in iterate()
198 auto depthAttachmentView = makeImageView(vkd, device, depthAttachment->get(), VK_IMAGE_VIEW_TYPE_2D, depthFormat, depthSubresourceRange); 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, devic in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawSampleAttributeTests.cpp170 BufferWithMemory buffer (ctx.vkd, ctx.device, ctx.allocator, makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); in iterate()
175 flushAlloc(ctx.vkd, ctx.device, bufferAlloc); in iterate()
206 ImageWithMemory colorAttachment (ctx.vkd, ctx.device, ctx.allocator, imageCreateInfo, MemoryRequirement::Any); in iterate()
207 const auto colorAttachmentView = makeImageView(ctx.vkd, ctx.device, colorAttachment.get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, subresourceRange); in iterate()
239 const auto renderPass = createRenderPass(ctx.vkd, ctx.device, &renderPassCreateInfo); in iterate()
240 const auto framebuffer = makeFramebuffer(ctx.vkd, ctx.device, renderPass.get(), colorAttachmentView.get(), imageExtent.width, imageExtent.height); in iterate()
308 const auto descriptorSetLayout = layoutBuilder.build(ctx.vkd, ctx.device); in iterate()
309 const auto graphicsPipelineLayout = makePipelineLayout(ctx.vkd, ctx.device, descriptorSetLayout.get()); in iterate()
313 const auto descriptorPool = poolBuilder.build(ctx.vkd, ctx.device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1); in iterate()
314 const auto descriptorSetBuffer = makeDescriptorSet(ctx.vkd, ct in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
H A 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, *descriptorPool, *descriptorSetLayout); in iterate()
113 const Move<VkDescriptorSet> resultDescriptorSet = makeDescriptorSet(vkd, device, *descriptorPool, *descriptorSetLayout); in iterate()
117 de::SharedPtr<BufferWithMemory> referenceBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, resultBufferCreateInfo, MemoryRequirement::HostVisible)); in iterate()
118 de::SharedPtr<BufferWithMemory> resultBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, resultBufferCreateInfo, MemoryRequirement::HostVisible)); in iterate()
120 Move<VkShaderModule> shaderModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("comp"), 0u); in iterate()
121 const Move<VkPipelineLayout> pipelineLayout = makePipelineLayout(vkd, device, descriptorSetLayout.get()); in iterate()
140 Move<VkPipeline> pipeline = createComputePipeline(vkd, devic in iterate()
226 const DeviceInterface& vkd = m_context.getDeviceInterface(); clearBuffer() local
250 const DeviceInterface& vkd = m_context.getDeviceInterface(); setupAccelerationStructures() local
310 const DeviceInterface& vkd = m_context.getDeviceInterface(); setupAccelerationStructures() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
H A 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, *descriptorPool, *descriptorSetLayout); in iterate()
113 const Move<VkDescriptorSet> resultDescriptorSet = makeDescriptorSet(vkd, device, *descriptorPool, *descriptorSetLayout); in iterate()
117 de::SharedPtr<BufferWithMemory> referenceBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, resultBufferCreateInfo, MemoryRequirement::HostVisible)); in iterate()
118 de::SharedPtr<BufferWithMemory> resultBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, resultBufferCreateInfo, MemoryRequirement::HostVisible)); in iterate()
120 Move<VkShaderModule> shaderModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("comp"), 0u); in iterate()
121 const Move<VkPipelineLayout> pipelineLayout = makePipelineLayout(vkd, device, descriptorSetLayout.get()); in iterate()
140 Move<VkPipeline> pipeline = createComputePipeline(vkd, devic in iterate()
226 const DeviceInterface& vkd = m_context.getDeviceInterface(); clearBuffer() local
250 const DeviceInterface& vkd = m_context.getDeviceInterface(); setupAccelerationStructures() local
310 const DeviceInterface& vkd = m_context.getDeviceInterface(); setupAccelerationStructures() local
[all...]

Completed in 36 milliseconds

12345678910>>...16