Home
last modified time | relevance | path

Searched refs:m_device (Results 1 – 25 of 58) sorted by relevance

123

/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkDeviceFeaturesForContextDefs.inl4 …ures& Context::get16BitStorageFeatures (void) const { return m_device->get16BitStorageF…
5 …EXT& Context::get4444FormatsFeaturesEXT (void) const { return m_device->get4444FormatsFe…
6 …ures& Context::get8BitStorageFeatures (void) const { return m_device->get8BitStorageFe…
7 …& Context::getAccelerationStructureFeatures (void) const { return m_device->getAccelerationS…
8 …sEXT& Context::getASTCDecodeFeaturesEXT (void) const { return m_device->getASTCDecodeFea…
9 … Context::getBlendOperationAdvancedFeaturesEXT (void) const { return m_device->getBlendOperatio…
10 …& Context::getBorderColorSwizzleFeaturesEXT (void) const { return m_device->getBorderColorSw…
11 …& Context::getBufferDeviceAddressFeatures (void) const { return m_device->getBufferDeviceA…
12 … Context::getBufferDeviceAddressFeaturesEXT (void) const { return m_device->getBufferDeviceA…
13 …MD& Context::getCoherentMemoryFeaturesAMD (void) const { return m_device->getCoherentMemor…
[all …]
DvkDevicePropertiesForContextDefs.inl4 …R& Context::getAccelerationStructureProperties (void) const { return m_device->getAccelerationS…
5 … Context::getBlendOperationAdvancedPropertiesEXT (void) const { return m_device->getBlendOperatio…
6 …ontext::getConservativeRasterizationPropertiesEXT (void) const { return m_device->getConservativeR…
7 …sNV& Context::getCooperativeMatrixProperties (void) const { return m_device->getCooperativeMa…
8 …T& Context::getCustomBorderColorPropertiesEXT (void) const { return m_device->getCustomBorderC…
9 …es& Context::getDepthStencilResolveProperties (void) const { return m_device->getDepthStencilR…
10 …es& Context::getDescriptorIndexingProperties (void) const { return m_device->getDescriptorInd…
11 …& Context::getDeviceGeneratedCommandsProperties (void) const { return m_device->getDeviceGenerat…
12 …XT& Context::getDiscardRectanglePropertiesEXT (void) const { return m_device->getDiscardRectan…
13 …operties& Context::getDriverProperties (void) const { return m_device->getDriverPropert…
[all …]
DvkRefUtilImpl.inl10 m_deviceIface->freeMemory(m_device, obj, m_allocator);
16 m_deviceIface->destroyFence(m_device, obj, m_allocator);
22 m_deviceIface->destroySemaphore(m_device, obj, m_allocator);
28 m_deviceIface->destroyEvent(m_device, obj, m_allocator);
34 m_deviceIface->destroyQueryPool(m_device, obj, m_allocator);
40 m_deviceIface->destroyBuffer(m_device, obj, m_allocator);
46 m_deviceIface->destroyBufferView(m_device, obj, m_allocator);
52 m_deviceIface->destroyImage(m_device, obj, m_allocator);
58 m_deviceIface->destroyImageView(m_device, obj, m_allocator);
64 m_deviceIface->destroyShaderModule(m_device, obj, m_allocator);
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp305 MovePtr<DeviceInterface> m_device; member in vkt::MultiView::__anond31af0430111::MultiViewRenderTestInstance
348 …m_colorAttachment = de::SharedPtr<ImageAttachment>(new ImageAttachment(*m_logicalDevice, *m_device in MultiViewRenderTestInstance()
360 …renderPass = makeRenderPass (*m_device, *m_logicalDevice, m_parameters.colorFormat, m_parameters.v… in iterate()
361 …frameBuffer = makeFramebuffer(*m_device, *m_logicalDevice, *renderPass, m_colorAttachment->getImag… in iterate()
365 Unique<VkPipelineLayout> pipelineLayout (makePipelineLayout(*m_device, *m_logicalDevice)); in iterate()
408 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeDraw()
414m_device->cmdClearColorImage(*m_cmdBuffer, m_colorAttachment->getImage(), VK_IMAGE_LAYOUT_TRANSFE… in beforeDraw()
416 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeDraw()
433 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in afterDraw()
447 beginCommandBuffer(*m_device, *m_cmdBuffer); in draw()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp241 const Unique<VkDevice> m_device; member in vkt::pipeline::__anona8f46c020111::PushDescriptorBufferGraphicsTestInstance
276 …, m_device (createDeviceWithPushDescriptor(context, m_vkp, m_instance, m_vki, m_physicalDevice,… in PushDescriptorBufferGraphicsTestInstance()
277 , m_vkd (m_vkp, m_instance, *m_device) in PushDescriptorBufferGraphicsTestInstance()
278 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in PushDescriptorBufferGraphicsTestInstance()
279 , m_allocator (m_vkd, *m_device, getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice)) in PushDescriptorBufferGraphicsTestInstance()
312 m_colorImage = createImage(m_vkd, *m_device, &colorImageParams); in init()
315 …m_colorImageAlloc = m_allocator.allocate(getImageMemoryRequirements(m_vkd, *m_device, *m_colorIma… in init()
316 …VK_CHECK(m_vkd.bindImageMemory(*m_device, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorIm… in init()
333 m_colorAttachmentView = createImageView(m_vkd, *m_device, &colorAttachmentViewParams); in init()
337 m_renderPass = makeRenderPass(m_vkd, *m_device, m_colorFormat); in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktTestCase.cpp328 VkDevice getDevice (void) const { return *m_device; } in getDevice()
367 const Unique<VkDevice> m_device; member in vkt::DefaultDevice
414 …, m_device (createDefaultDevice(vkPlatform, *m_instance, m_instanceInterface, m_physicalDevi… in DefaultDevice()
415 , m_deviceInterface (vkPlatform, *m_instance, *m_device) in DefaultDevice()
426 return getDeviceQueue(m_deviceInterface, *m_device, m_universalQueueFamilyIndex, 0); in getUniversalQueue()
434 return getDeviceQueue(m_deviceInterface, *m_device, m_sparseQueueFamilyIndex, 0); in getSparseQueue()
459 , m_device (new DefaultDevice(m_platformInterface, testCtx.getCommandLine())) in Context()
460 , m_allocator (createAllocator(m_device.get())) in Context()
469 deUint32 Context::getMaximumFrameworkVulkanVersion (void) const { return m_device->getMax… in getMaximumFrameworkVulkanVersion()
470 deUint32 Context::getAvailableInstanceVersion (void) const { return m_device->getAvailab… in getAvailableInstanceVersion()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryExternalMemoryHostTests.cpp102 const VkDevice m_device; member in vkt::memory::__anon7a77fb830111::ExternalMemoryHostBaseTestInstance
180 , m_device (m_context.getDevice()) in ExternalMemoryHostBaseTestInstance()
236 …VK_CHECK(m_vkd.getMemoryHostPointerPropertiesEXT(m_device, externalMemoryHandleTypeFlagBits, hostP… in getHostPointerMemoryTypeBits()
257 return allocateMemory(m_vkd, m_device, &memoryAllocateInfo, DE_NULL); in allocateMemoryFromHostPointer()
341 imageMemoryRequirements = getImageMemoryRequirements(m_vkd, m_device, *m_image); in iterate()
363 …VK_CHECK(m_vkd.bindImageMemory(m_device, *m_image, *m_deviceMemoryAllocatedFromHostPointer, (m_tes… in iterate()
375 …m_descriptorSetLayout = builder.build(m_vkd, m_device, (vk::VkDescriptorSetLayoutCreateFlags)0… in iterate()
378 … .build(m_vkd, m_device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in iterate()
383 …m_vertexShaderModule = createShaderModule(m_vkd, m_device, m_context.getBinaryCollection().get… in iterate()
384 …m_fragmentShaderModule = createShaderModule(m_vkd, m_device, m_context.getBinaryCollection().g… in iterate()
[all …]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_raii.hpp2830 … reinterpret_cast<VkDevice *>( &m_device ) ) ); in Device()
2835 m_dispatcher.init( static_cast<VkDevice>( m_device ) ); in Device()
2841 : m_device( device ) in Device()
2846 m_dispatcher.init( static_cast<VkDevice>( m_device ) ); in Device()
2853 if ( m_device ) in ~Device()
2855 getDispatcher()->vkDestroyDevice( static_cast<VkDevice>( m_device ), m_allocator ); in ~Device()
2862 : m_device( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_device, {} ) ) in Device()
2871 if ( m_device ) in operator =()
2873 getDispatcher()->vkDestroyDevice( static_cast<VkDevice>( m_device ), m_allocator ); in operator =()
2875m_device = VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_device, {} ); in operator =()
[all …]
Dvulkan_funcs.hpp375 return d.vkGetDeviceProcAddr( m_device, pName ); in getProcAddr()
384 return d.vkGetDeviceProcAddr( m_device, name.c_str() ); in getProcAddr()
448 d.vkDestroyDevice( m_device, reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) ); in destroy()
457 d.vkDestroyDevice( m_device, in destroy()
778 …d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue *>( pQueue ) … in getQueue()
788 …d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue *>( &queue ) … in getQueue()
843 return static_cast<Result>( d.vkDeviceWaitIdle( m_device ) ); in waitIdle()
851 Result result = static_cast<Result>( d.vkDeviceWaitIdle( m_device ) ); in waitIdle()
864 return static_cast<Result>( d.vkAllocateMemory( m_device, in allocateMemory()
881 d.vkAllocateMemory( m_device, in allocateMemory()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessUtil.cpp269 , m_device (device) in TestEnvironment()
285 m_commandPool = createCommandPool(vk, m_device, &commandPoolParams); in TestEnvironment()
299 m_commandBuffer = allocateCommandBuffer(vk, m_device, &commandBufferAllocateInfo); in TestEnvironment()
325 …SimpleAllocator memAlloc (vk, m_device, getPhysicalDeviceMemoryProperties(m_context.getInsta… in GraphicsEnvironment()
348 m_colorImage = createImage(vk, m_device, &colorImageParams); in GraphicsEnvironment()
349 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, m_device, *m_colorImage), Me… in GraphicsEnvironment()
350 …VK_CHECK(vk.bindImageMemory(m_device, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in GraphicsEnvironment()
364 m_colorAttachmentView = createImageView(vk, m_device, &colorAttachmentViewParams); in GraphicsEnvironment()
368 m_renderPass = makeRenderPass(vk, m_device, m_colorFormat); in GraphicsEnvironment()
385 m_framebuffer = createFramebuffer(vk, m_device, &framebufferParams); in GraphicsEnvironment()
[all …]
DvktRobustnessVertexAccessTests.cpp149 Move<VkDevice> m_device; member in vkt::robustness::VertexAccessInstance
456 , m_device (device) in VertexAccessInstance()
465 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInst… in VertexAccessInstance()
557 m_vertexRateBuffer = createBuffer(vk, *m_device, &vertexRateBufferParams); in VertexAccessInstance()
558 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_vertexRateBuffer); in VertexAccessInstance()
562 …VK_CHECK(vk.bindBufferMemory(*m_device, *m_vertexRateBuffer, m_vertexRateBufferAlloc->getMemory(),… in VertexAccessInstance()
564 …flushMappedMemoryRange(vk, *m_device, m_vertexRateBufferAlloc->getMemory(), m_vertexRateBufferAllo… in VertexAccessInstance()
585 m_instanceRateBuffer = createBuffer(vk, *m_device, &instanceRateBufferParams); in VertexAccessInstance()
586 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_instanceRateBuffer); in VertexAccessInstance()
590 …VK_CHECK(vk.bindBufferMemory(*m_device, *m_instanceRateBuffer, m_instanceRateBufferAlloc->getMemor… in VertexAccessInstance()
[all …]
DvktRobustnessBufferAccessTests.cpp181 Move<VkDevice> m_device; member in vkt::robustness::BufferAccessInstance
677 , m_device (device) in BufferAccessInstance()
690 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInst… in BufferAccessInstance()
761 m_inBuffer = createBuffer(vk, *m_device, &inBufferParams); in BufferAccessInstance()
763 inBufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_inBuffer); in BufferAccessInstance()
770 …VK_CHECK(vk.bindBufferMemory(*m_device, *m_inBuffer, m_inBufferAlloc->getMemory(), m_inBufferAlloc… in BufferAccessInstance()
772 …flushMappedMemoryRange(vk, *m_device, m_inBufferAlloc->getMemory(), m_inBufferAlloc->getOffset(), … in BufferAccessInstance()
796 m_outBuffer = createBuffer(vk, *m_device, &outBufferParams); in BufferAccessInstance()
798 outBufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_outBuffer); in BufferAccessInstance()
814 …VK_CHECK(vk.bindBufferMemory(*m_device, *m_outBuffer, m_outBufferAlloc->getMemory(), m_outBufferAl… in BufferAccessInstance()
[all …]
/third_party/vulkan-headers/include/vulkan/
Dvulkan_raii.hpp3097 reinterpret_cast<VkDevice *>( &m_device ) ) ); in Device()
3103 … physicalDevice.getDispatcher()->vkGetDeviceProcAddr, static_cast<VkDevice>( m_device ) ) ); in Device()
3109 …: m_device( device ), m_allocator( static_cast<const VULKAN_HPP_NAMESPACE::AllocationCallbacks *>(… in Device()
3112 … physicalDevice.getDispatcher()->vkGetDeviceProcAddr, static_cast<VkDevice>( m_device ) ) ); in Device()
3119 if ( m_device ) in ~Device()
3121 getDispatcher()->vkDestroyDevice( static_cast<VkDevice>( m_device ), in ~Device()
3129 : m_device( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_device, {} ) ) in Device()
3138 if ( m_device ) in operator =()
3140 getDispatcher()->vkDestroyDevice( static_cast<VkDevice>( m_device ), in operator =()
3143m_device = VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_device, {} ); in operator =()
[all …]
Dvulkan_funcs.hpp381 return d.vkGetDeviceProcAddr( m_device, pName ); in getProcAddr()
390 return d.vkGetDeviceProcAddr( m_device, name.c_str() ); in getProcAddr()
454 d.vkDestroyDevice( m_device, reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) ); in destroy()
463 d.vkDestroyDevice( m_device, in destroy()
808 …d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue *>( pQueue ) … in getQueue()
818 …d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue *>( &queue ) … in getQueue()
873 return static_cast<Result>( d.vkDeviceWaitIdle( m_device ) ); in waitIdle()
881 Result result = static_cast<Result>( d.vkDeviceWaitIdle( m_device ) ); in waitIdle()
894 return static_cast<Result>( d.vkAllocateMemory( m_device, in allocateMemory()
911 d.vkAllocateMemory( m_device, in allocateMemory()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp217 const VkDevice m_device; member in vkt::conditional::__anond3e1ddc40111::ConditionalRenderingBaseTestInstance
294 , m_device (m_context.getDevice()) in ConditionalRenderingBaseTestInstance()
308 …m_conditionalRenderingBuffer = Buffer::createAndAlloc(m_vkd, m_device, BufferCreateInfo(dataSize… in createInitBufferWithPredicate()
314 …flushMappedMemoryRange(m_vkd, m_device, m_conditionalRenderingBuffer->getBoundMemory().getMemory()… in createInitBufferWithPredicate()
324 …m_colorTargetImage = Image::createAndAlloc(m_vkd, m_device, targetImageCreateInfo, m_context.get… in createTargetColorImageAndImageView()
328 m_colorTargetView = createImageView(m_vkd, m_device, &colorTargetViewInfo); in createTargetColorImageAndImageView()
338 …m_depthTargetImage = Image::createAndAlloc(m_vkd, m_device, targetImageCreateInfo, m_context.get… in createTargetDepthImageAndImageView()
342 m_depthTargetView = createImageView(m_vkd, m_device, &depthTargetViewInfo); in createTargetDepthImageAndImageView()
375 m_renderPass = vk::createRenderPass(m_vkd, m_device, &renderPassCreateInfo); in createRenderPass()
392 m_framebuffer = vk::createFramebuffer(m_vkd, m_device, &framebufferCreateInfo); in createFramebuffer()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemContext.cpp40 …, m_device (makeProtectedMemDevice(m_interface, m_instance, m_vki, m_phyDevice, m_queueFamilyIn… in ProtectedContext()
41 , m_deviceDriver (m_context.getPlatformInterface(), m_instance, *m_device) in ProtectedContext()
43 , m_queue (getProtectedQueue(m_deviceDriver, *m_device, m_queueFamilyIndex, 0)) in ProtectedContext()
60 …, m_device (makeProtectedMemDevice(m_interface, m_instance, m_vki, m_phyDevice, m_queueFamilyIn… in ProtectedContext()
61 , m_deviceDriver (m_interface, m_instance, *m_device) in ProtectedContext()
63 , m_queue (getProtectedQueue(m_deviceDriver, *m_device, m_queueFamilyIndex, 0)) in ProtectedContext()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp145 const vk::VkDevice m_device; member in vkt::compute::__anon3631d6300111::IndirectDispatchInstanceBufferUpload
170 , m_device (context.getDevice()) in IndirectDispatchInstanceBufferUpload()
200 vk::flushAlloc(m_device_interface, m_device, alloc); in fillIndirectBufferData()
225 m_device_interface, m_device, m_allocator, in iterate()
243 vk::flushAlloc(m_device_interface, m_device, alloc); in iterate()
248 …m_device_interface, m_device, m_context.getBinaryCollection().get("indirect_dispatch_" + m_name + … in iterate()
253 …<vk::VkDescriptorSetLayout> descriptorSetLayout(layoutBuilder.build(m_device_interface, m_device)); in iterate()
256 …VkPipelineLayout> pipelineLayout(makePipelineLayout(m_device_interface, m_device, *descriptorSetLa… in iterate()
257 …const vk::Unique<vk::VkPipeline> computePipeline(makeComputePipeline(m_device_interface, m_device,… in iterate()
263 ….build(m_device_interface, m_device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, static… in iterate()
[all …]
DvktComputeShaderBuiltinVarTests.cpp136 const VkDevice m_device; member in vkt::compute::__anon80b985480111::ComputeBuiltinVarInstance
401 , m_device (m_context.getDevice()) in ComputeBuiltinVarInstance()
444 …Buffer uniformBuffer(m_vki, m_device, m_context.getDefaultAllocator(), makeBufferCreateInfo(sizeOf… in iterate()
445 …Buffer resultBuffer(m_vki, m_device, m_context.getDefaultAllocator(), makeBufferCreateInfo(resultB… in iterate()
450 flushAlloc(m_vki, m_device, alloc); in iterate()
458 .build(m_vki, m_device)); in iterate()
460 …const Unique<VkShaderModule> shaderModule(createShaderModule(m_vki, m_device, m_context.getBinaryC… in iterate()
461 …const Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout(m_vki, m_device, *descriptorSetLa… in iterate()
462 …const Unique<VkPipeline> pipeline(makeComputePipeline(m_vki, m_device, *pipelineLayout, *shaderMod… in iterate()
468 .build(m_vki, m_device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRef.hpp79 , m_device (device) in Deleter()
84 , m_device (DE_NULL) in Deleter()
92 VkDevice m_device; member in vk::refdetails::Deleter
213 , m_device (device) in Deleter()
218 , m_device (DE_NULL) in Deleter()
222 …void operator() (VkDescriptorSet obj) const { m_deviceIface->freeDescriptorSets(m_device, m_po… in operator ()()
226 VkDevice m_device; member in vk::refdetails::Deleter
236 , m_device (device) in Deleter()
241 , m_device (DE_NULL) in Deleter()
245 …void operator() (VkCommandBuffer obj) const { m_deviceIface->freeCommandBuffers(m_device, m_po… in operator ()()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiDisplayControlTests.cpp668 const Unique<VkDevice> m_device; member in vkt::wsi::__anond90a51340111::SwapchainCounterTestInstance
718 …, m_device (createTestDevice(context.getTestContext().getPlatform().getVulkanPlatform(), m_vkp… in SwapchainCounterTestInstance()
719 , m_vkd (m_vkp, m_instance, *m_device) in SwapchainCounterTestInstance()
720 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in SwapchainCounterTestInstance()
722 , m_commandPool (createCommandPool(m_vkd, *m_device, m_queueFamilyIndex)) in SwapchainCounterTestInstance()
723 …, m_vertexShaderModule (createShaderModule(m_vkd, *m_device, context.getBinaryCollection().get("q… in SwapchainCounterTestInstance()
724 …, m_fragmentShaderModule (createShaderModule(m_vkd, *m_device, context.getBinaryCollection().get("… in SwapchainCounterTestInstance()
725 , m_pipelineLayout (createPipelineLayout(m_vkd, *m_device)) in SwapchainCounterTestInstance()
755 m_swapchain = createSwapchainKHR(m_vkd, *m_device, &m_swapchainConfig); in initSwapchainResources()
756 m_swapchainImages = wsi::getSwapchainImages(m_vkd, *m_device, *m_swapchain); in initSwapchainResources()
[all …]
DvktWsiDisplayTimingTests.cpp552 const vk::Unique<vk::VkDevice> m_device; member in vkt::wsi::__anon0e04c81b0111::DisplayTimingTestInstance
700 …, m_device (createDeviceWithWsi(m_vkp, m_instance, m_vki, m_physicalDevice, m_deviceExtensions… in DisplayTimingTestInstance()
701 , m_vkd (m_vkp, m_instance, *m_device) in DisplayTimingTestInstance()
702 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in DisplayTimingTestInstance()
704 , m_commandPool (createCommandPool(m_vkd, *m_device, m_queueFamilyIndex)) in DisplayTimingTestInstance()
705 …, m_vertexShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().ge… in DisplayTimingTestInstance()
706 …, m_fragmentShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().g… in DisplayTimingTestInstance()
707 , m_pipelineLayout (createPipelineLayout(m_vkd, *m_device)) in DisplayTimingTestInstance()
743 m_swapchain = vk::createSwapchainKHR(m_vkd, *m_device, &m_swapchainConfig); in initSwapchainResources()
744 m_swapchainImages = vk::wsi::getSwapchainImages(m_vkd, *m_device, *m_swapchain); in initSwapchainResources()
[all …]
DvktWsiIncrementalPresentTests.cpp635 const vk::Unique<vk::VkDevice> m_device; member in vkt::wsi::__anon05680df00111::IncrementalPresentTestInstance
811 …, m_device (createDeviceWithWsi(m_vkp, m_instance, m_vki, m_physicalDevice, m_deviceExtensions… in IncrementalPresentTestInstance()
812 , m_vkd (m_vkp, m_instance, *m_device) in IncrementalPresentTestInstance()
813 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in IncrementalPresentTestInstance()
815 , m_commandPool (createCommandPool(m_vkd, *m_device, m_queueFamilyIndex)) in IncrementalPresentTestInstance()
816 …, m_vertexShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().ge… in IncrementalPresentTestInstance()
817 …, m_fragmentShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().g… in IncrementalPresentTestInstance()
818 , m_pipelineLayout (createPipelineLayout(m_vkd, *m_device)) in IncrementalPresentTestInstance()
854 …m_swapchain = vk::createSwapchainKHR(m_vkd, *m_device, &m_swapchainConfigs[m_swapchainConfigNdx… in initSwapchainResources()
855 m_swapchainImages = vk::wsi::getSwapchainImages(m_vkd, *m_device, *m_swapchain); in initSwapchainResources()
[all …]
DvktWsiSharedPresentableImageTests.cpp549 const vk::Unique<vk::VkDevice> m_device; member in vkt::wsi::__anon3c0ddaec0111::SharedPresentableImageTestInstance
723 …, m_device (createDeviceWithWsi(m_vkp, m_instance, m_vki, m_physicalDevice, m_deviceExtensions… in SharedPresentableImageTestInstance()
724 , m_vkd (m_vkp, m_instance, *m_device) in SharedPresentableImageTestInstance()
725 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in SharedPresentableImageTestInstance()
727 , m_commandPool (createCommandPool(m_vkd, *m_device, m_queueFamilyIndex)) in SharedPresentableImageTestInstance()
728 …, m_vertexShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().ge… in SharedPresentableImageTestInstance()
729 …, m_fragmentShaderModule (vk::createShaderModule(m_vkd, *m_device, context.getBinaryCollection().g… in SharedPresentableImageTestInstance()
730 , m_pipelineLayout (createPipelineLayout(m_vkd, *m_device)) in SharedPresentableImageTestInstance()
766 …m_swapchain = vk::createSwapchainKHR(m_vkd, *m_device, &m_swapchainConfigs[m_swapchainConfigNdx… in initSwapchainResources()
767 m_swapchainImage = vk::wsi::getSwapchainImages(m_vkd, *m_device, *m_swapchain).front(); in initSwapchainResources()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp872 m_device(device), in UploadDownloadExecutor()
906 const VkDevice m_device; member in vkt::image::UploadDownloadExecutor
1003 …m_cmdPool = createCommandPool(m_vk, m_device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, m_q… in runSwapchain()
1004 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in runSwapchain()
1043 submitCommandsAndWait(m_vk, m_device, m_queue, *m_cmdBuffer); in runSwapchain()
1052 …m_cmdPool = createCommandPool(m_vk, m_device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, … in run()
1053 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in run()
1071 …m_imageHolder = makeImage(m_vk, m_device, imageFlags, getImageType(m_caseDef.imageType), m_c… in run()
1074 m_imageAlloc = bindImage(m_vk, m_device, m_allocator, m_image, MemoryRequirement::Any); in run()
1110 submitCommandsAndWait(m_vk, m_device, m_queue, *m_cmdBuffer); in run()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiComputeInstanceResultBuffer.cpp39 m_device(device), in ComputeInstanceResultBuffer()
41 m_buffer(createResultBuffer(m_vki, m_device, allocator, &m_bufferMem, initValue)), in ComputeInstanceResultBuffer()
48 invalidateAlloc(m_vki, m_device, *m_bufferMem); in readResultContentsTo()
54 invalidateAlloc(m_vki, m_device, *m_bufferMem); in readResultContentsTo()

123