/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushDescriptorTests.cpp | 231 const DeviceDriver m_vkd; member in vkt::pipeline::__anon3f66cf0a0111::PushDescriptorBufferGraphicsTestInstance 266 , m_vkd (m_vkp, *m_instance, *m_device) in PushDescriptorBufferGraphicsTestInstance() 267 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in PushDescriptorBufferGraphicsTestInstance() 268 , m_allocator (m_vkd, *m_device, getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice)) in PushDescriptorBufferGraphicsTestInstance() 301 m_colorImage = createImage(m_vkd, *m_device, &colorImageParams); in init() 304 …m_colorImageAlloc = m_allocator.allocate(getImageMemoryRequirements(m_vkd, *m_device, *m_colorIma… in init() 305 …VK_CHECK(m_vkd.bindImageMemory(*m_device, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorIm… in init() 322 m_colorAttachmentView = createImageView(m_vkd, *m_device, &colorAttachmentViewParams); in init() 326 m_renderPass = makeRenderPass(m_vkd, *m_device, m_colorFormat); in init() 348 m_framebuffer = createFramebuffer(m_vkd, *m_device, &framebufferParams); in init() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryExternalMemoryHostTests.cpp | 85 const DeviceInterface& m_vkd; member in vkt::memory::__anon10ea5e8b0111::ExternalMemoryHostBaseTestInstance 161 , m_vkd (m_context.getDeviceInterface()) in ExternalMemoryHostBaseTestInstance() 219 …VK_CHECK(m_vkd.getMemoryHostPointerPropertiesEXT(m_device, externalMemoryHandleTypeFlagBits, hostP… in getHostPointerMemoryTypeBits() 240 return allocateMemory(m_vkd, m_device, &memoryAllocateInfo, DE_NULL); in allocateMemoryFromHostPointer() 310 imageMemoryRequirements = getImageMemoryRequirements(m_vkd, m_device, *m_image); in iterate() 354 …VK_CHECK(m_vkd.bindImageMemory(m_device, *m_image, *m_deviceMemoryAllocatedFromHostPointer, (m_tes… in iterate() 366 …m_descriptorSetLayout = builder.build(m_vkd, m_device, (vk::VkDescriptorSetLayoutCreateFlags)0… in iterate() 369 … .build(m_vkd, m_device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in iterate() 374 …m_vertexShaderModule = createShaderModule(m_vkd, m_device, m_context.getBinaryCollection().get… in iterate() 375 …m_fragmentShaderModule = createShaderModule(m_vkd, m_device, m_context.getBinaryCollection().g… in iterate() [all …]
|
D | vktMemoryMappingTests.cpp | 893 const DeviceInterface& m_vkd; member in vkt::memory::__anond26d821d0111::MemoryObject 915 : m_vkd (vkd) in MemoryObject() 925 m_memory = allocMemory(m_vkd, m_device, m_size, m_memoryTypeIndex); in MemoryObject() 950 m_vkd.unmapMemory(m_device, *m_memory); in unmap()
|
D | vktMemoryPipelineBarrierTests.cpp | 963 , m_vkd (vkd) in Context() 979 const vk::DeviceInterface& getDeviceInterface (void) const { return m_vkd; } in getDeviceInterface() 989 const vk::DeviceInterface& m_vkd; member in vkt::memory::__anon4b5b56ce0111::Context 5068 const vk::DeviceInterface* m_vkd; member in vkt::memory::__anon4b5b56ce0111::RenderVertexUniformTexelBuffer 5080 m_vkd->destroyBufferView(m_device, m_bufferViews[bufferViewNdx], DE_NULL); in ~RenderVertexUniformTexelBuffer() 5109 m_vkd = &vkd; in prepare() 5425 const vk::DeviceInterface* m_vkd; member in vkt::memory::__anon4b5b56ce0111::RenderVertexStorageTexelBuffer 5437 m_vkd->destroyBufferView(m_device, m_bufferViews[bufferViewNdx], DE_NULL); in ~RenderVertexStorageTexelBuffer() 5466 m_vkd = &vkd; in prepare() 6375 const vk::DeviceInterface* m_vkd; member in vkt::memory::__anon4b5b56ce0111::RenderFragmentUniformTexelBuffer [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDrawAndClearTests.cpp | 216 const DeviceInterface& m_vkd; member in vkt::conditional::__anon8380eecc0111::ConditionalRenderingBaseTestInstance 293 , m_vkd (m_context.getDeviceInterface()) in ConditionalRenderingBaseTestInstance() 309 …m_conditionalRenderingBuffer = Buffer::createAndAlloc(m_vkd, m_device, BufferCreateInfo(dataSize… in createInitBufferWithPredicate() 315 …flushMappedMemoryRange(m_vkd, m_device, m_conditionalRenderingBuffer->getBoundMemory().getMemory()… in createInitBufferWithPredicate() 325 …m_colorTargetImage = Image::createAndAlloc(m_vkd, m_device, targetImageCreateInfo, m_context.get… in createTargetColorImageAndImageView() 329 m_colorTargetView = createImageView(m_vkd, m_device, &colorTargetViewInfo); in createTargetColorImageAndImageView() 339 …m_depthTargetImage = Image::createAndAlloc(m_vkd, m_device, targetImageCreateInfo, m_context.get… in createTargetDepthImageAndImageView() 343 m_depthTargetView = createImageView(m_vkd, m_device, &depthTargetViewInfo); in createTargetDepthImageAndImageView() 376 m_renderPass = vk::createRenderPass(m_vkd, m_device, &renderPassCreateInfo); in createRenderPass() 393 m_framebuffer = vk::createFramebuffer(m_vkd, m_device, &framebufferCreateInfo); in createFramebuffer() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSharedPresentableImageTests.cpp | 580 const vk::DeviceDriver m_vkd; member in vkt::wsi::__anon5efbdbf40111::SharedPresentableImageTestInstance 751 , m_vkd (m_vkp, *m_instance, *m_device) in SharedPresentableImageTestInstance() 752 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in SharedPresentableImageTestInstance() 754 , m_commandPool (createCommandPool(m_vkd, *m_device, m_queueFamilyIndex)) in SharedPresentableImageTestInstance() 755 …, m_vertexShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().ge… in SharedPresentableImageTestInstance() 756 …, m_fragmentShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().g… in SharedPresentableImageTestInstance() 757 , m_pipelineLayout (createPipelineLayout(m_vkd, *m_device)) in SharedPresentableImageTestInstance() 793 …m_swapchain = vk::createSwapchainKHR(m_vkd, *m_device, &m_swapchainConfigs[m_swapchainConfigNdx… in initSwapchainResources() 794 m_swapchainImage = vk::wsi::getSwapchainImages(m_vkd, *m_device, *m_swapchain).front(); in initSwapchainResources() 796 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources() [all …]
|
D | vktWsiDisplayTimingTests.cpp | 557 const vk::DeviceDriver m_vkd; member in vkt::wsi::__anon605740230111::DisplayTimingTestInstance 704 , m_vkd (m_vkp, *m_instance, *m_device) in DisplayTimingTestInstance() 705 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in DisplayTimingTestInstance() 707 , m_commandPool (createCommandPool(m_vkd, *m_device, m_queueFamilyIndex)) in DisplayTimingTestInstance() 708 …, m_vertexShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().ge… in DisplayTimingTestInstance() 709 …, m_fragmentShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().g… in DisplayTimingTestInstance() 710 , m_pipelineLayout (createPipelineLayout(m_vkd, *m_device)) in DisplayTimingTestInstance() 746 m_swapchain = vk::createSwapchainKHR(m_vkd, *m_device, &m_swapchainConfig); in initSwapchainResources() 747 m_swapchainImages = vk::wsi::getSwapchainImages(m_vkd, *m_device, *m_swapchain); in initSwapchainResources() 749 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources() [all …]
|
D | vktWsiIncrementalPresentTests.cpp | 667 const vk::DeviceDriver m_vkd; member in vkt::wsi::__anon98aecaf80111::IncrementalPresentTestInstance 843 , m_vkd (m_vkp, *m_instance, *m_device) in IncrementalPresentTestInstance() 844 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in IncrementalPresentTestInstance() 846 , m_commandPool (createCommandPool(m_vkd, *m_device, m_queueFamilyIndex)) in IncrementalPresentTestInstance() 847 …, m_vertexShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().ge… in IncrementalPresentTestInstance() 848 …, m_fragmentShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().g… in IncrementalPresentTestInstance() 849 , m_pipelineLayout (createPipelineLayout(m_vkd, *m_device)) in IncrementalPresentTestInstance() 885 …m_swapchain = vk::createSwapchainKHR(m_vkd, *m_device, &m_swapchainConfigs[m_swapchainConfigNdx… in initSwapchainResources() 886 m_swapchainImages = vk::wsi::getSwapchainImages(m_vkd, *m_device, *m_swapchain); in initSwapchainResources() 891 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources() [all …]
|
D | vktWsiColorSpaceTests.cpp | 442 const DeviceInterface& m_vkd; member in vkt::wsi::__anon8ca282f00111::TriangleRenderer 656 : m_vkd (vkd) in TriangleRenderer() 709 beginCommandBuffer(m_vkd, cmdBuffer, 0u); in recordFrame() 711 …beginRenderPass(m_vkd, cmdBuffer, *m_renderPass, curFramebuffer, makeRect2D(0, 0, m_renderSize.x()… in recordFrame() 713 m_vkd.cmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in recordFrame() 717 m_vkd.cmdBindVertexBuffers(cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &bindingOffset); in recordFrame() 720 …m_vkd.cmdPushConstants(cmdBuffer, *m_pipelineLayout, VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint32)siz… in recordFrame() 721 m_vkd.cmdDraw(cmdBuffer, 3u, 1u, 0u, 0u); in recordFrame() 722 endRenderPass(m_vkd, cmdBuffer); in recordFrame() 724 endCommandBuffer(m_vkd, cmdBuffer); in recordFrame()
|
D | vktWsiSwapchainTests.cpp | 829 const DeviceInterface& m_vkd; member in vkt::wsi::__anonad5518230111::TriangleRenderer 1043 : m_vkd (vkd) in TriangleRenderer() 1096 beginCommandBuffer(m_vkd, cmdBuffer, 0u); in recordFrame() 1098 …beginRenderPass(m_vkd, cmdBuffer, *m_renderPass, curFramebuffer, makeRect2D(0, 0, m_renderSize.x()… in recordFrame() 1100 m_vkd.cmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in recordFrame() 1104 m_vkd.cmdBindVertexBuffers(cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &bindingOffset); in recordFrame() 1107 …m_vkd.cmdPushConstants(cmdBuffer, *m_pipelineLayout, VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint32)siz… in recordFrame() 1108 m_vkd.cmdDraw(cmdBuffer, 3u, 1u, 0u, 0u); in recordFrame() 1109 endRenderPass(m_vkd, cmdBuffer); in recordFrame() 1111 endCommandBuffer(m_vkd, cmdBuffer); in recordFrame()
|
D | vktWsiDisplayTests.cpp | 213 const DeviceInterface& m_vkd; member in vkt::wsi::DisplayCoverageTestInstance 231 , m_vkd (m_context.getDeviceInterface()) in DisplayCoverageTestInstance()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 515 const DeviceInterface& m_vkd; member in vkt::api::__anon2ff3f5bb0111::ImageClearingTestInstance 542 , m_vkd (context.getDeviceInterface()) in ImageClearingTestInstance() 672 …de::MovePtr<Allocation> imageMemory (allocateImage(m_vki, m_vkd, m_context.getPhysicalDevice(), m_… in allocateAndBindImageMemory() 673 …VK_CHECK(m_vkd.bindImageMemory(m_device, image, imageMemory->getMemory(), imageMemory->getOffset()… in allocateAndBindImageMemory() 679 return vk::createCommandPool(m_vkd, m_device, commandPoolCreateFlags, m_queueFamilyIndex); in createCommandPool() 684 return vk::allocateCommandBuffer(m_vkd, m_device, commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in allocatePrimaryCommandBuffer() 711 return vk::createImage(m_vkd, m_device, &imageCreateInfo, DE_NULL); in createImage() 739 return vk::createImageView(m_vkd, m_device, &imageViewCreateInfo, DE_NULL); in createImageView() 819 return vk::createRenderPass(m_vkd, m_device, &renderPassCreateInfo, DE_NULL); in createRenderPass() 842 return createFramebuffer(m_vkd, m_device, &framebufferCreateInfo, DE_NULL); in createFrameBuffer() [all …]
|
D | vktApiCommandBuffersTests.cpp | 73 const DeviceInterface& m_vkd; member in vkt::api::__anon8eb6349f0111::CommandBufferBareTestEnvironment 89 , m_vkd (context.getDeviceInterface()) in CommandBufferBareTestEnvironment() 94 m_commandPool = createCommandPool(m_vkd, m_device, commandPoolCreateFlags, m_queueFamilyIndex); in CommandBufferBareTestEnvironment() 105 VK_CHECK(m_vkd.allocateCommandBuffers(m_device, &cmdBufferAllocateInfo, m_primaryCommandBuffers)); in CommandBufferBareTestEnvironment() 160 m_renderPass = makeRenderPass(m_vkd, m_device, DEFAULT_IMAGE_FORMAT); in CommandBufferRenderPassTestEnvironment() 184 m_colorImage = createImage(m_vkd, m_device, &imageCreateInfo, DE_NULL); in CommandBufferRenderPassTestEnvironment() 187 …m_colorImageMemory = m_allocator.allocate(getImageMemoryRequirements(m_vkd, m_device, *m_colorImag… in CommandBufferRenderPassTestEnvironment() 188 …VK_CHECK(m_vkd.bindImageMemory(m_device, *m_colorImage, m_colorImageMemory->getMemory(), m_colorIm… in CommandBufferRenderPassTestEnvironment() 214 m_colorImageView = createImageView(m_vkd, m_device, &imageViewCreateInfo, DE_NULL); in CommandBufferRenderPassTestEnvironment() 236 m_frameBuffer = createFramebuffer(m_vkd, m_device, &framebufferCreateInfo, DE_NULL); in CommandBufferRenderPassTestEnvironment() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassDepthStencilResolveTests.cpp | 163 const DeviceInterface& m_vkd; member in vkt::__anon5d9a47d40111::DepthStencilResolveTest 189 , m_vkd (context.getDeviceInterface()) in DepthStencilResolveTest() 348 return safeSharedPtr(new Unique<VkImage>(vk::createImage(m_vkd, m_device, &pCreateInfo))); in createImage() 355 …de::MovePtr<Allocation> allocation (allocator.allocate(getImageMemoryRequirements(m_vkd, m_device,… in createImageMemory() 356 …VK_CHECK(m_vkd.bindImageMemory(m_device, **image, allocation->getMemory(), allocation->getOffset()… in createImageMemory() 382 return safeSharedPtr(new Unique<VkImageView>(vk::createImageView(m_vkd, m_device, &pCreateInfo))); in createImageView() 480 return renderPassCreator.createRenderPass(m_vkd, m_device); in createRenderPass() 504 return vk::createFramebuffer(m_vkd, m_device, &createInfo); in createFramebuffer() 537 return vk::createPipelineLayout(m_vkd, m_device, &createInfo); in createRenderPipelineLayout() 545 …const Unique<VkShaderModule> vertexShaderModule (createShaderModule(m_vkd, m_device, binaryCollec… in createRenderPipeline() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationWin32KeyedMutexTests.cpp | 126 const vk::DeviceInterface& m_vkd; member in vkt::synchronization::__anon5ba6bebb0111::SimpleAllocation 134 , m_vkd (vkd) in SimpleAllocation() 141 m_vkd.freeMemory(m_device, getMemory(), DE_NULL); in ~SimpleAllocation() 1421 const vk::DeviceDriver m_vkd; member in vkt::synchronization::__anon5ba6bebb0111::Win32KeyedMutexTestInstance 1449 , m_vkd (context.getPlatformInterface(), *m_instance, *m_device) in Win32KeyedMutexTestInstance() 1563 const vk::VkQueue queue (getDeviceQueue(m_vkd, *m_device, queueFamily, 0u)); in iterate() 1564 …const vk::Unique<vk::VkCommandPool> commandPool (createCommandPool(m_vkd, *m_device, 0u, queueF… in iterate() 1565 …const vk::Unique<vk::VkCommandBuffer> commandBufferWrite (allocateCommandBuffer(m_vkd, *m_device, … in iterate() 1566 …const vk::Unique<vk::VkCommandBuffer> commandBufferRead (allocateCommandBuffer(m_vkd, *m_device, *… in iterate() 1567 …vk::SimpleAllocator allocator (m_vkd, *m_device, vk::getPhysicalDeviceMemoryProperties(m_vk… in iterate() [all …]
|
D | vktSynchronizationCrossInstanceSharingTests.cpp | 272 const vk::DeviceInterface& m_vkd; member in vkt::synchronization::__anon4dbc2e6e0111::SimpleAllocation 280 , m_vkd (vkd) in SimpleAllocation() 287 m_vkd.freeMemory(m_device, getMemory(), DE_NULL); in ~SimpleAllocation()
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 826 const vk::DeviceInterface& m_vkd; member in vkt::ProtectedMem::__anon3e63ec3b0111::TriangleRenderer 969 : m_vkd (context.getDeviceInterface()) in TriangleRenderer() 972 , m_renderPass (createRenderPass(m_vkd, context.getDevice(), framebufferFormat)) in TriangleRenderer() 973 , m_pipelineLayout (createPipelineLayout(m_vkd, context.getDevice())) in TriangleRenderer() 974 …, m_pipeline (createPipeline(m_vkd, context.getDevice(), *m_renderPass, *m_pipelineLayout, binar… in TriangleRenderer() 1006 …vk::flushMappedMemoryRange(m_vkd, context.getDevice(), m_vertexBuffer->getAllocation().getMemory()… in TriangleRenderer() 1020 beginCommandBuffer(m_vkd, cmdBuffer, 0u); in recordFrame() 1022 …beginRenderPass(m_vkd, cmdBuffer, *m_renderPass, curFramebuffer, vk::makeRect2D(0, 0, m_renderSize… in recordFrame() 1023 m_vkd.cmdBindPipeline(cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in recordFrame() 1027 m_vkd.cmdBindVertexBuffers(cmdBuffer, 0u, 1u, &m_vertexBuffer->get(), &bindingOffset); in recordFrame() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 51 const DeviceInterface& m_vkd; member in vk::__anon27d66a3b0111::HostPtr 58 : m_vkd (vkd) in HostPtr() 67 m_vkd.unmapMemory(m_device, m_memory); in ~HostPtr()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktAtomicOperationTests.cpp | 70 const DeviceInterface& m_vkd; member in vkt::shaderexecutor::__anonffe0b4930111::Buffer 104 : m_vkd (context.getDeviceInterface()) in Buffer() 119 …flushMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_W… in flush() 124 …invalidateMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(),… in invalidate()
|
D | vktOpaqueTypeIndexingTests.cpp | 79 const DeviceInterface& m_vkd; member in vkt::shaderexecutor::__anon04ee0ba80111::Buffer 113 : m_vkd (context.getDeviceInterface()) in Buffer() 128 …flushMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_W… in flush() 133 …invalidateMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(),… in invalidate()
|