Home
last modified time | relevance | path

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

123456

/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkDeviceFeaturesForContextDefs.inl6 … Context::getTransformFeedbackFeaturesEXT (void) const { return m_device->getTransformFeed…
7 …& Context::getDynamicRenderingFeatures (void) const { return m_device->getDynamicRender…
8 … Context::getCornerSampledImageFeatures (void) const { return m_device->getCornerSampled…
9 …ures& Context::getMultiviewFeatures (void) const { return m_device->getMultiviewFeat…
10 … Context::getTextureCompressionASTCHDRFeatures (void) const { return m_device->getTextureCompre…
11 …XT& Context::getASTCDecodeFeaturesEXT (void) const { return m_device->getASTCDecodeFea…
12 … Context::getPipelineRobustnessFeaturesEXT (void) const { return m_device->getPipelineRobus…
13 … Context::getConditionalRenderingFeaturesEXT (void) const { return m_device->getConditionalRe…
14 …& Context::getShaderFloat16Int8Features (void) const { return m_device->getShaderFloat16…
15 …es& Context::get16BitStorageFeatures (void) const { return m_device->get16BitStorageF…
[all …]
DvkDevicePropertiesForContextDefs.inl6 …T& Context::getTransformFeedbackPropertiesEXT (void) const { return m_device->getTransformFeed…
7 …erties& Context::getMultiviewProperties (void) const { return m_device->getMultiviewProp…
8 …& Context::getPipelineRobustnessPropertiesEXT (void) const { return m_device->getPipelineRobus…
9 …Properties& Context::getIDProperties (void) const { return m_device->getIDProperties(…
10 …esKHR& Context::getPushDescriptorProperties (void) const { return m_device->getPushDescripto…
11 …Context::getMultiviewPerViewAttributesPropertiesX (void) const { return m_device->getMultiviewPerV…
12 …XT& Context::getDiscardRectanglePropertiesEXT (void) const { return m_device->getDiscardRectan…
13 …ontext::getConservativeRasterizationPropertiesEXT (void) const { return m_device->getConservativeR…
14 …sKHR& Context::getPerformanceQueryProperties (void) const { return m_device->getPerformanceQu…
15 …ties& Context::getPointClippingProperties (void) const { return m_device->getPointClipping…
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp325 de::MovePtr<vk::DeviceDriver> m_device; member in vkt::MultiView::__anon6ae966000111::MultiViewRenderTestInstance
327 de::MovePtr<vk::DeviceDriverSC, vk::DeinitDeviceDeleter> m_device; member in vkt::MultiView::__anon6ae966000111::MultiViewRenderTestInstance
373 …m_colorAttachment = de::SharedPtr<ImageAttachment>(new ImageAttachment(*m_logicalDevice, *m_device in MultiViewRenderTestInstance()
389 …renderPass = makeRenderPass (*m_device, *m_logicalDevice, m_parameters.colorFormat, m_parameters.v… in iterate()
390 …frameBuffer = makeFramebuffer(*m_device, *m_logicalDevice, *renderPass, m_colorAttachment->getImag… in iterate()
394 Unique<VkPipelineLayout> pipelineLayout (makePipelineLayout(*m_device, *m_logicalDevice)); in iterate()
437 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
443m_device->cmdClearColorImage(*m_cmdBuffer, m_colorAttachment->getImage(), VK_IMAGE_LAYOUT_TRANSFE… in beforeRenderPass()
445 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
462 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in afterRenderPass()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/
DvktMultiViewRenderTests.cpp325 de::MovePtr<vk::DeviceDriver> m_device; member in vkt::MultiView::__anonb918b4800111::MultiViewRenderTestInstance
327 de::MovePtr<vk::DeviceDriverSC, vk::DeinitDeviceDeleter> m_device; member in vkt::MultiView::__anonb918b4800111::MultiViewRenderTestInstance
373 …m_colorAttachment = de::SharedPtr<ImageAttachment>(new ImageAttachment(*m_logicalDevice, *m_device in MultiViewRenderTestInstance()
389 …renderPass = makeRenderPass (*m_device, *m_logicalDevice, m_parameters.colorFormat, m_parameters.v… in iterate()
390 …frameBuffer = makeFramebuffer(*m_device, *m_logicalDevice, *renderPass, m_colorAttachment->getImag… in iterate()
394 Unique<VkPipelineLayout> pipelineLayout (makePipelineLayout(*m_device, *m_logicalDevice)); in iterate()
437 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
443m_device->cmdClearColorImage(*m_cmdBuffer, m_colorAttachment->getImage(), VK_IMAGE_LAYOUT_TRANSFE… in beforeRenderPass()
445 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
462 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in afterRenderPass()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp252 const Unique<VkDevice> m_device; member in vkt::pipeline::__anon95c57b7f0111::PushDescriptorBufferGraphicsTestInstance
288 …, m_device (createDeviceWithPushDescriptor(context, m_vkp, m_instance, m_vki, m_physicalDevice,… in PushDescriptorBufferGraphicsTestInstance()
289 , m_vkd (m_vkp, m_instance, *m_device) in PushDescriptorBufferGraphicsTestInstance()
290 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in PushDescriptorBufferGraphicsTestInstance()
291 , m_allocator (m_vkd, *m_device, getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice)) in PushDescriptorBufferGraphicsTestInstance()
294 , m_graphicsPipeline (m_vkd, *m_device, params.pipelineConstructionType) in PushDescriptorBufferGraphicsTestInstance()
325 m_colorImage = createImage(m_vkd, *m_device, &colorImageParams); in init()
328 …m_colorImageAlloc = m_allocator.allocate(getImageMemoryRequirements(m_vkd, *m_device, *m_colorIma… in init()
329 …VK_CHECK(m_vkd.bindImageMemory(*m_device, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorIm… in init()
346 m_colorAttachmentView = createImageView(m_vkd, *m_device, &colorAttachmentViewParams); in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp252 const Unique<VkDevice> m_device; member in vkt::pipeline::__anon46d5a9ff0111::PushDescriptorBufferGraphicsTestInstance
288 …, m_device (createDeviceWithPushDescriptor(context, m_vkp, m_instance, m_vki, m_physicalDevice,… in PushDescriptorBufferGraphicsTestInstance()
289 , m_vkd (m_vkp, m_instance, *m_device) in PushDescriptorBufferGraphicsTestInstance()
290 , m_queue (getDeviceQueue(m_vkd, *m_device, m_queueFamilyIndex, 0u)) in PushDescriptorBufferGraphicsTestInstance()
291 , m_allocator (m_vkd, *m_device, getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice)) in PushDescriptorBufferGraphicsTestInstance()
294 , m_graphicsPipeline (m_vkd, *m_device, params.pipelineConstructionType) in PushDescriptorBufferGraphicsTestInstance()
325 m_colorImage = createImage(m_vkd, *m_device, &colorImageParams); in init()
328 …m_colorImageAlloc = m_allocator.allocate(getImageMemoryRequirements(m_vkd, *m_device, *m_colorIma… in init()
329 …VK_CHECK(m_vkd.bindImageMemory(*m_device, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorIm… in init()
346 m_colorAttachmentView = createImageView(m_vkd, *m_device, &colorAttachmentViewParams); in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktTestCase.cpp421 VkDevice getDevice (void) const { return *m_device; } in getDevice()
469 const Unique<VkDevice> m_device; member in vkt::DefaultDevice
536 …, m_device (createDefaultDevice(vkPlatform, *m_instance, m_instanceInterface, m_physicalDevi… in DefaultDevice()
538 …viceInterface (de::MovePtr<DeviceDriver>(new DeviceDriver(vkPlatform, *m_instance, *m_device))) in DefaultDevice()
540 …e::MovePtr<DeviceDriverSC>(new DeviceDriverSC(vkPlatform, *m_instance, *m_device, cmdLine, resourc… in DefaultDevice()
555 return getDeviceQueue(*m_deviceInterface, *m_device, m_universalQueueFamilyIndex, 0); in getUniversalQueue()
563 return getDeviceQueue(*m_deviceInterface, *m_device, m_sparseQueueFamilyIndex, 0); in getSparseQueue()
590 …, m_device (new DefaultDevice(m_platformInterface, testCtx.getCommandLine(), resourceInterface… in Context()
591 , m_allocator (createAllocator(m_device.get())) in Context()
600 deUint32 Context::getMaximumFrameworkVulkanVersion (void) const { return m_device->getMax… in getMaximumFrameworkVulkanVersion()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
DvktTestCase.cpp421 VkDevice getDevice (void) const { return *m_device; } in getDevice()
469 const Unique<VkDevice> m_device; member in vkt::DefaultDevice
536 …, m_device (createDefaultDevice(vkPlatform, *m_instance, m_instanceInterface, m_physicalDevi… in DefaultDevice()
538 …viceInterface (de::MovePtr<DeviceDriver>(new DeviceDriver(vkPlatform, *m_instance, *m_device))) in DefaultDevice()
540 …e::MovePtr<DeviceDriverSC>(new DeviceDriverSC(vkPlatform, *m_instance, *m_device, cmdLine, resourc… in DefaultDevice()
555 return getDeviceQueue(*m_deviceInterface, *m_device, m_universalQueueFamilyIndex, 0); in getUniversalQueue()
563 return getDeviceQueue(*m_deviceInterface, *m_device, m_sparseQueueFamilyIndex, 0); in getSparseQueue()
590 …, m_device (new DefaultDevice(m_platformInterface, testCtx.getCommandLine(), resourceInterface… in Context()
591 , m_allocator (createAllocator(m_device.get())) in Context()
600 deUint32 Context::getMaximumFrameworkVulkanVersion (void) const { return m_device->getMax… in getMaximumFrameworkVulkanVersion()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustnessIndexAccessTests.cpp83 Move<VkDevice> m_device; member in vkt::robustness::DrawIndexedInstance
95 , m_device (device) in DrawIndexedInstance()
108 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevice… in iterate()
129 …BufferWithMemory vertexBuffer(vk, *m_device, memAlloc, vertexBufferInfo, MemoryRequirement::HostVi… in iterate()
131 flushAlloc(vk, *m_device, vertexBuffer.getAllocation()); in iterate()
139 …BufferWithMemory indexBuffer(vk, *m_device, memAlloc, indexBufferInfo, MemoryRequirement::HostVisi… in iterate()
141 flushAlloc(vk, *m_device, indexBuffer.getAllocation()); in iterate()
153 …BufferWithMemory indirectBuffer(vk, *m_device, memAlloc, indirectBufferInfo, MemoryRequirement::Ho… in iterate()
157 flushAlloc(vk, *m_device, indirectBuffer.getAllocation()); in iterate()
162 …BufferWithMemory indirectCountBuffer(vk, *m_device, memAlloc, indirectCountBufferInfo, MemoryRequi… in iterate()
[all …]
DvktRobustnessVertexAccessTests.cpp155 Move<VkDevice> m_device; member in vkt::robustness::VertexAccessInstance
495 , m_device (device) in VertexAccessInstance()
507 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevi… in VertexAccessInstance()
599 m_vertexRateBuffer = createBuffer(vk, *m_device, &vertexRateBufferParams); in VertexAccessInstance()
600 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_vertexRateBuffer); in VertexAccessInstance()
604 …VK_CHECK(vk.bindBufferMemory(*m_device, *m_vertexRateBuffer, m_vertexRateBufferAlloc->getMemory(),… in VertexAccessInstance()
606 …flushMappedMemoryRange(vk, *m_device, m_vertexRateBufferAlloc->getMemory(), m_vertexRateBufferAllo… in VertexAccessInstance()
627 m_instanceRateBuffer = createBuffer(vk, *m_device, &instanceRateBufferParams); in VertexAccessInstance()
628 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_instanceRateBuffer); in VertexAccessInstance()
632 …VK_CHECK(vk.bindBufferMemory(*m_device, *m_instanceRateBuffer, m_instanceRateBufferAlloc->getMemor… in VertexAccessInstance()
[all …]
DvktRobustnessUtil.cpp317 , m_device (device) in TestEnvironment()
331 m_commandPool = createCommandPool(vk, m_device, &commandPoolParams); in TestEnvironment()
345 m_commandBuffer = allocateCommandBuffer(vk, m_device, &commandBufferAllocateInfo); in TestEnvironment()
375 …SimpleAllocator memAlloc (vk, m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevic… in GraphicsEnvironment()
398 m_colorImage = createImage(vk, m_device, &colorImageParams); in GraphicsEnvironment()
399 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, m_device, *m_colorImage), Me… in GraphicsEnvironment()
400 …VK_CHECK(vk.bindImageMemory(m_device, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in GraphicsEnvironment()
414 m_colorAttachmentView = createImageView(vk, m_device, &colorAttachmentViewParams); in GraphicsEnvironment()
418 m_renderPass = makeRenderPass(vk, m_device, m_colorFormat); in GraphicsEnvironment()
435 m_framebuffer = createFramebuffer(vk, m_device, &framebufferParams); in GraphicsEnvironment()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessIndexAccessTests.cpp83 Move<VkDevice> m_device; member in vkt::robustness::DrawIndexedInstance
95 , m_device (device) in DrawIndexedInstance()
108 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevice… in iterate()
129 …BufferWithMemory vertexBuffer(vk, *m_device, memAlloc, vertexBufferInfo, MemoryRequirement::HostVi… in iterate()
131 flushAlloc(vk, *m_device, vertexBuffer.getAllocation()); in iterate()
139 …BufferWithMemory indexBuffer(vk, *m_device, memAlloc, indexBufferInfo, MemoryRequirement::HostVisi… in iterate()
141 flushAlloc(vk, *m_device, indexBuffer.getAllocation()); in iterate()
153 …BufferWithMemory indirectBuffer(vk, *m_device, memAlloc, indirectBufferInfo, MemoryRequirement::Ho… in iterate()
157 flushAlloc(vk, *m_device, indirectBuffer.getAllocation()); in iterate()
162 …BufferWithMemory indirectCountBuffer(vk, *m_device, memAlloc, indirectCountBufferInfo, MemoryRequi… in iterate()
[all …]
DvktRobustnessVertexAccessTests.cpp155 Move<VkDevice> m_device; member in vkt::robustness::VertexAccessInstance
495 , m_device (device) in VertexAccessInstance()
507 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevi… in VertexAccessInstance()
599 m_vertexRateBuffer = createBuffer(vk, *m_device, &vertexRateBufferParams); in VertexAccessInstance()
600 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_vertexRateBuffer); in VertexAccessInstance()
604 …VK_CHECK(vk.bindBufferMemory(*m_device, *m_vertexRateBuffer, m_vertexRateBufferAlloc->getMemory(),… in VertexAccessInstance()
606 …flushMappedMemoryRange(vk, *m_device, m_vertexRateBufferAlloc->getMemory(), m_vertexRateBufferAllo… in VertexAccessInstance()
627 m_instanceRateBuffer = createBuffer(vk, *m_device, &instanceRateBufferParams); in VertexAccessInstance()
628 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_instanceRateBuffer); in VertexAccessInstance()
632 …VK_CHECK(vk.bindBufferMemory(*m_device, *m_instanceRateBuffer, m_instanceRateBufferAlloc->getMemor… in VertexAccessInstance()
[all …]
DvktRobustnessUtil.cpp317 , m_device (device) in TestEnvironment()
331 m_commandPool = createCommandPool(vk, m_device, &commandPoolParams); in TestEnvironment()
345 m_commandBuffer = allocateCommandBuffer(vk, m_device, &commandBufferAllocateInfo); in TestEnvironment()
375 …SimpleAllocator memAlloc (vk, m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevic… in GraphicsEnvironment()
398 m_colorImage = createImage(vk, m_device, &colorImageParams); in GraphicsEnvironment()
399 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, m_device, *m_colorImage), Me… in GraphicsEnvironment()
400 …VK_CHECK(vk.bindImageMemory(m_device, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in GraphicsEnvironment()
414 m_colorAttachmentView = createImageView(vk, m_device, &colorAttachmentViewParams); in GraphicsEnvironment()
418 m_renderPass = makeRenderPass(vk, m_device, m_colorFormat); in GraphicsEnvironment()
435 m_framebuffer = createFramebuffer(vk, m_device, &framebufferParams); in GraphicsEnvironment()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryExternalMemoryHostTests.cpp102 const VkDevice m_device; member in vkt::memory::__anon185939800111::ExternalMemoryHostBaseTestInstance
179 , m_device (m_context.getDevice()) in ExternalMemoryHostBaseTestInstance()
235 …VK_CHECK(m_vkd.getMemoryHostPointerPropertiesEXT(m_device, externalMemoryHandleTypeFlagBits, hostP… in getHostPointerMemoryTypeBits()
256 return allocateMemory(m_vkd, m_device, &memoryAllocateInfo, DE_NULL); in allocateMemoryFromHostPointer()
346 imageMemoryRequirements = getImageMemoryRequirements(m_vkd, m_device, *m_image); in iterate()
368 …VK_CHECK(m_vkd.bindImageMemory(m_device, *m_image, *m_deviceMemoryAllocatedFromHostPointer, (m_tes… in iterate()
380 …m_descriptorSetLayout = builder.build(m_vkd, m_device, (vk::VkDescriptorSetLayoutCreateFlags)0… in iterate()
383 … .build(m_vkd, m_device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in iterate()
388 …m_vertexShaderModule = createShaderModule(m_vkd, m_device, m_context.getBinaryCollection().get… in iterate()
389 …m_fragmentShaderModule = createShaderModule(m_vkd, m_device, m_context.getBinaryCollection().g… in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryExternalMemoryHostTests.cpp102 const VkDevice m_device; member in vkt::memory::__anon67490b000111::ExternalMemoryHostBaseTestInstance
179 , m_device (m_context.getDevice()) in ExternalMemoryHostBaseTestInstance()
235 …VK_CHECK(m_vkd.getMemoryHostPointerPropertiesEXT(m_device, externalMemoryHandleTypeFlagBits, hostP… in getHostPointerMemoryTypeBits()
256 return allocateMemory(m_vkd, m_device, &memoryAllocateInfo, DE_NULL); in allocateMemoryFromHostPointer()
346 imageMemoryRequirements = getImageMemoryRequirements(m_vkd, m_device, *m_image); in iterate()
368 …VK_CHECK(m_vkd.bindImageMemory(m_device, *m_image, *m_deviceMemoryAllocatedFromHostPointer, (m_tes… in iterate()
380 …m_descriptorSetLayout = builder.build(m_vkd, m_device, (vk::VkDescriptorSetLayoutCreateFlags)0… in iterate()
383 … .build(m_vkd, m_device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in iterate()
388 …m_vertexShaderModule = createShaderModule(m_vkd, m_device, m_context.getBinaryCollection().get… in iterate()
389 …m_fragmentShaderModule = createShaderModule(m_vkd, m_device, m_context.getBinaryCollection().g… in iterate()
[all …]
/third_party/vulkan-headers/include/vulkan/
Dvulkan_raii.hpp3244 … reinterpret_cast<VkDevice *>( &m_device ) ) ); in Device()
3250 … static_cast<VkDevice>( m_device ) ) ); in Device()
3256 …: m_device( device ), m_allocator( static_cast<const VULKAN_HPP_NAMESPACE::AllocationCallbacks *>(… in Device()
3259 … static_cast<VkDevice>( m_device ) ) ); in Device()
3272 : m_device( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_device, {} ) ) in Device()
3283m_device = VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_device, {} ); in operator =()
3292 return m_device; in operator *()
3297 if ( m_device ) in clear()
3299 …getDispatcher()->vkDestroyDevice( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkAllo… in clear()
3301 m_device = nullptr; in clear()
[all …]
Dvulkan_funcs.hpp367 return d.vkGetDeviceProcAddr( m_device, pName ); in getProcAddr()
376 PFN_vkVoidFunction result = d.vkGetDeviceProcAddr( m_device, name.c_str() ); in getProcAddr()
440 d.vkDestroyDevice( m_device, reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) ); in destroy()
449 d.vkDestroyDevice( m_device, in destroy()
743 …d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue *>( pQueue ) … in getQueue()
754 …d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue *>( &queue ) … in getQueue()
809 return static_cast<Result>( d.vkDeviceWaitIdle( m_device ) ); in waitIdle()
817 VkResult result = d.vkDeviceWaitIdle( m_device ); in waitIdle()
831 return static_cast<Result>( d.vkAllocateMemory( m_device, in allocateMemory()
848 d.vkAllocateMemory( m_device, in allocateMemory()
[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/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp311 const VkDevice m_device; member in vkt::conditional::__anon43c1c4010111::ConditionalRenderingBaseTestInstance
388 , m_device (m_context.getDevice()) in ConditionalRenderingBaseTestInstance()
405 m_vkd, m_device, in createInitBufferWithPredicate()
414 …flushMappedMemoryRange(m_vkd, m_device, buffer->getBoundMemory().getMemory(), buffer->getBoundMemo… in createInitBufferWithPredicate()
420 m_vkd, m_device, in createInitBufferWithPredicate()
434 m_vkd, m_device, in createInitBufferWithPredicate()
482 …m_colorTargetImage = Image::createAndAlloc(m_vkd, m_device, targetImageCreateInfo, m_context.get… in createTargetColorImageAndImageView()
486 m_colorTargetView = createImageView(m_vkd, m_device, &colorTargetViewInfo); in createTargetColorImageAndImageView()
496 …m_depthTargetImage = Image::createAndAlloc(m_vkd, m_device, targetImageCreateInfo, m_context.get… in createTargetDepthImageAndImageView()
500 m_depthTargetView = createImageView(m_vkd, m_device, &depthTargetViewInfo); in createTargetDepthImageAndImageView()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp311 const VkDevice m_device; member in vkt::conditional::__anon0a4152810111::ConditionalRenderingBaseTestInstance
388 , m_device (m_context.getDevice()) in ConditionalRenderingBaseTestInstance()
405 m_vkd, m_device, in createInitBufferWithPredicate()
414 …flushMappedMemoryRange(m_vkd, m_device, buffer->getBoundMemory().getMemory(), buffer->getBoundMemo… in createInitBufferWithPredicate()
420 m_vkd, m_device, in createInitBufferWithPredicate()
434 m_vkd, m_device, in createInitBufferWithPredicate()
482 …m_colorTargetImage = Image::createAndAlloc(m_vkd, m_device, targetImageCreateInfo, m_context.get… in createTargetColorImageAndImageView()
486 m_colorTargetView = createImageView(m_vkd, m_device, &colorTargetViewInfo); in createTargetColorImageAndImageView()
496 …m_depthTargetImage = Image::createAndAlloc(m_vkd, m_device, targetImageCreateInfo, m_context.get… in createTargetDepthImageAndImageView()
500 m_depthTargetView = createImageView(m_vkd, m_device, &depthTargetViewInfo); in createTargetDepthImageAndImageView()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp289 vk::VkDevice m_device; member in vkt::compute::__anon79bbd58d0111::IndirectDispatchInstanceBufferUpload
322 , m_device (context.getDevice()) in IndirectDispatchInstanceBufferUpload()
353 vk::flushAlloc(vkdi, m_device, alloc); in fillIndirectBufferData()
386 m_device = m_customDevice.get(); in iterate()
388 …:DeviceDriver>(new vk::DeviceDriver(m_context.getPlatformInterface(), m_customInstance, m_device)); in iterate()
390m_device, m_context.getTestContext().getCommandLine(), m_context.getResourceInterface(), m_context… in iterate()
400 m_queue = getDeviceQueue(vkdi, m_device, m_queueFamilyIndex, 0u); in iterate()
401 …m_allocator = de::MovePtr<vk::Allocator>(new vk::SimpleAllocator(vkdi, m_device, vk::getPhysicalD… in iterate()
410 vkdi, m_device, allocator, in iterate()
428 vk::flushAlloc(vkdi, m_device, alloc); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp289 vk::VkDevice m_device; member in vkt::compute::__anona580f70d0111::IndirectDispatchInstanceBufferUpload
322 , m_device (context.getDevice()) in IndirectDispatchInstanceBufferUpload()
353 vk::flushAlloc(vkdi, m_device, alloc); in fillIndirectBufferData()
386 m_device = m_customDevice.get(); in iterate()
388 …:DeviceDriver>(new vk::DeviceDriver(m_context.getPlatformInterface(), m_customInstance, m_device)); in iterate()
390m_device, m_context.getTestContext().getCommandLine(), m_context.getResourceInterface(), m_context… in iterate()
400 m_queue = getDeviceQueue(vkdi, m_device, m_queueFamilyIndex, 0u); in iterate()
401 …m_allocator = de::MovePtr<vk::Allocator>(new vk::SimpleAllocator(vkdi, m_device, vk::getPhysicalD… in iterate()
410 vkdi, m_device, allocator, in iterate()
428 vk::flushAlloc(vkdi, m_device, alloc); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktGlobalPriorityQueueUtils.cpp179 , device (m_device) in SpecialDevice()
187 , m_device (0) in SpecialDevice()
273 m_creationResult = vki.createDevice(dev, &deviceCreateInfo, nullptr, &m_device); in SpecialDevice()
275 if (VK_SUCCESS == m_creationResult && VkDevice(0) != m_device) in SpecialDevice()
277 m_allocator = de::MovePtr<vk::Allocator>(new SimpleAllocator(vkd, m_device, memoryProperties)); in SpecialDevice()
287 m_vkd.getDeviceQueue2(m_device, &queueInfo, &m_queueFrom); in SpecialDevice()
290 m_vkd.getDeviceQueue2(m_device, &queueInfo, &m_queueTo); in SpecialDevice()
294 m_vkd.getDeviceQueue(m_device, m_queueFamilyIndexFrom, 0, &m_queueFrom); in SpecialDevice()
295 m_vkd.getDeviceQueue(m_device, m_queueFamilyIndexTo, 0, &m_queueTo); in SpecialDevice()
321 , device (m_device) in SpecialDevice()
[all …]

123456