/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkInitDeviceFunctionPointers.inl | 4 m_vk.destroyDevice = (DestroyDeviceFunc) GET_PROC_ADDR("vkDestroyDevice"); 5 m_vk.getDeviceQueue = (GetDeviceQueueFunc) GET_PROC_ADDR("vkGetDeviceQueue"); 6 m_vk.queueSubmit = (QueueSubmitFunc) GET_PROC_ADDR("vkQueueSubmit"); 7 m_vk.queueWaitIdle = (QueueWaitIdleFunc) GET_PROC_ADDR("vkQueueWaitIdle"); 8 m_vk.deviceWaitIdle = (DeviceWaitIdleFunc) GET_PROC_ADDR("vkDeviceWaitIdle"); 9 m_vk.allocateMemory = (AllocateMemoryFunc) GET_PROC_ADDR("vkAllocateMemory"); 10 m_vk.freeMemory = (FreeMemoryFunc) GET_PROC_ADDR("vkFreeMemory"); 11 m_vk.mapMemory = (MapMemoryFunc) GET_PROC_ADDR("vkMapMemory"); 12 m_vk.unmapMemory = (UnmapMemoryFunc) GET_PROC_ADDR("vkUnmapMemory"); 13 m_vk.flushMappedMemoryRanges = (FlushMappedMemoryRangesFunc) GET_PROC_ADDR("vkFlushMappedMemor… [all …]
|
D | vkInitInstanceFunctionPointers.inl | 4 m_vk.destroyInstance = (DestroyInstanceFunc) GET_PROC_ADDR("vkDestroyInstance"); 5 m_vk.enumeratePhysicalDevices = (EnumeratePhysicalDevicesFunc) GET_PROC_ADDR("vkEnumerate… 6 m_vk.getPhysicalDeviceFeatures = (GetPhysicalDeviceFeaturesFunc) GET_PROC_ADDR("vkGetPhys… 7 m_vk.getPhysicalDeviceFormatProperties = (GetPhysicalDeviceFormatPropertiesFunc) GET_PROC_ADD… 8 m_vk.getPhysicalDeviceImageFormatProperties = (GetPhysicalDeviceImageFormatPropertiesFunc) GET_… 9 m_vk.getPhysicalDeviceProperties = (GetPhysicalDevicePropertiesFunc) GET_PROC_ADDR("vkGetP… 10 m_vk.getPhysicalDeviceQueueFamilyProperties = (GetPhysicalDeviceQueueFamilyPropertiesFunc) GET_… 11 m_vk.getPhysicalDeviceMemoryProperties = (GetPhysicalDeviceMemoryPropertiesFunc) GET_PROC_ADD… 12 m_vk.getDeviceProcAddr = (GetDeviceProcAddrFunc) GET_PROC_ADDR("vkGetDeviceProcAddr"); 13 m_vk.createDevice = (CreateDeviceFunc) GET_PROC_ADDR("vkCreateDevice"); [all …]
|
D | vkDeviceDriverImpl.inl | 7 m_vk.destroyDevice(device, pAllocator); 12 m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue); 17 return m_vk.queueSubmit(queue, submitCount, pSubmits, fence); 22 return m_vk.queueWaitIdle(queue); 27 return m_vk.deviceWaitIdle(device); 32 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory); 37 m_vk.freeMemory(device, memory, pAllocator); 42 return m_vk.mapMemory(device, memory, offset, size, flags, ppData); 47 m_vk.unmapMemory(device, memory); 52 return m_vk.flushMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges); [all …]
|
D | vkInstanceDriverImpl.inl | 7 m_vk.destroyInstance(instance, pAllocator); 12 return m_vk.enumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices); 17 m_vk.getPhysicalDeviceFeatures(physicalDevice, pFeatures); 22 m_vk.getPhysicalDeviceFormatProperties(physicalDevice, format, pFormatProperties); 27 …return m_vk.getPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, fl… 32 m_vk.getPhysicalDeviceProperties(physicalDevice, pProperties); 37 …m_vk.getPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFamilyPropertyCount, pQueueFamil… 42 m_vk.getPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperties); 47 return m_vk.getDeviceProcAddr(device, pName); 52 return m_vk.createDevice(physicalDevice, pCreateInfo, pAllocator, pDevice); [all …]
|
D | vkInitPlatformFunctionPointers.inl | 4 m_vk.createInstance = (CreateInstanceFunc) GET_PROC_ADDR("vkCreateInstance"); 5 m_vk.getInstanceProcAddr = (GetInstanceProcAddrFunc) GET_PROC_ADDR("vkGetInstanceProcAddr"… 6 m_vk.enumerateInstanceExtensionProperties = (EnumerateInstanceExtensionPropertiesFunc) GET_PROC_ADD… 7 m_vk.enumerateInstanceLayerProperties = (EnumerateInstanceLayerPropertiesFunc) GET_PROC_ADDR("vkE…
|
D | vkPlatformDriverImpl.inl | 7 return m_vk.createInstance(pCreateInfo, pAllocator, pInstance); 12 return m_vk.getInstanceProcAddr(instance, pName); 17 return m_vk.enumerateInstanceExtensionProperties(pLayerName, pPropertyCount, pProperties); 22 return m_vk.enumerateInstanceLayerProperties(pPropertyCount, pProperties);
|
D | vkPlatform.hpp | 61 Functions m_vk; member in vk::PlatformDriver 78 Functions m_vk; member in vk::InstanceDriver 95 Functions m_vk; member in vk::DeviceDriver
|
D | vkMemUtil.cpp | 171 : m_vk (vk) in SimpleAllocator() 181 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate() 185 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate() 201 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate() 207 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateBaseClass.cpp | 38 , m_vk (context.getDeviceInterface()) in DynamicStateBaseClass() 50 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 56 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize() 59 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 91 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() 98 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize() 130 …m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, vk::VK_BUFFER_USA… in initialize() 136 vk::flushMappedMemoryRange(m_vk, device, in initialize() 142 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize() 152 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo); in initialize() [all …]
|
D | vktDynamicStateRSTests.cpp | 52 , m_vk (context.getDeviceInterface()) in DepthBiasBaseCase() 71 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anondbf475a60111::DepthBiasBaseCase 122 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 124 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 125 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 131 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize() 137 …m_depthStencilImage = Image::createAndAlloc(m_vk, device, depthStencilImageCreateInfo, m_context.g… in initialize() 140 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 143 m_attachmentView = vk::createImageView(m_vk, device, &attachmentViewInfo); in initialize() 187 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() [all …]
|
D | vktDynamicStateDSTests.cpp | 60 , m_vk (context.getDeviceInterface()) in DepthStencilBaseCase() 79 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anon90e28c180111::DepthStencilBaseCase 132 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 134 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 135 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 144 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize() 151 …m_depthStencilImage = Image::createAndAlloc(m_vk, device, depthStencilImageCreateInfo, m_context.g… in initialize() 154 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 157 m_attachmentView = vk::createImageView(m_vk, device, &attachmentViewInfo); in initialize() 202 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() [all …]
|
D | vktDynamicStateGeneralTests.cpp | 83 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 87 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 91 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 95 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 97 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 98 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 112 m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL); in iterate() 115 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate() 189 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 193 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() [all …]
|
D | vktDynamicStateVPTests.cpp | 83 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 87 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 89 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 91 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 92 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 106 m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL); in iterate() 110 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate() 259 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initPipeline() 260 …const vk::Unique<vk::VkShaderModule> gs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initPipeline() 261 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initPipeline() [all …]
|
D | vktDynamicStateImageObjectUtil.cpp | 159 , m_vk(vk) in Image() 303 …stagingResource = Buffer::createAndAlloc(m_vk, m_device, stagingBufferResourceCreateInfo, allocato… in readUsingBuffer() 308 …vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreate… in readUsingBuffer() 318 …vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, &cmdBuffer… in readUsingBuffer() 321 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in readUsingBuffer() 344 …m_vk.cmdPipelineBarrier(*copyCmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_ST… in readUsingBuffer() 358 …m_vk.cmdCopyImageToBuffer(*copyCmdBuffer, object(), layout, stagingResource->object(), 1, ®ion); in readUsingBuffer() 359 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in readUsingBuffer() 373 m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL); in readUsingBuffer() 376 VK_CHECK(m_vk.queueWaitIdle(queue)); in readUsingBuffer() [all …]
|
D | vktDynamicStateCBTests.cpp | 61 …const vk::Unique<vk::VkShaderModule> vs (createShaderModule(m_vk, device, m_context.getBinaryColle… in initPipeline() 62 …const vk::Unique<vk::VkShaderModule> fs (createShaderModule(m_vk, device, m_context.getBinaryColle… in initPipeline() 81 m_pipeline = vk::createGraphicsPipeline(m_vk, device, DE_NULL, &pipelineCreateInfo); in initPipeline() 98 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 102 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 104 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 106 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 107 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 121 m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL); in iterate() 122 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate()
|
D | vktDynamicStateBufferObjectUtil.cpp | 37 , m_vk (vk) in Buffer() 45 …VK_CHECK(m_vk.bindBufferMemory(m_device, *m_object, allocation->getMemory(), allocation->getOffset… in bindMemory()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawBaseClass.cpp | 36 , m_vk (context.getDeviceInterface()) in DrawTestsBaseClass() 48 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 54 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in initialize() 57 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 87 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() 94 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize() 125 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize() 131 vk::flushMappedMemoryRange(m_vk, in initialize() 138 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize() 148 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo); in initialize() [all …]
|
D | vktDrawIndexedTest.cpp | 125 m_indexBuffer = Buffer::createAndAlloc( m_vk, m_context.getDevice(), in iterate() 135 vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), in iterate() 144 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 145 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate() 147 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 149 m_vk.cmdDrawIndexed(*m_cmdBuffer, 6, 1, 2, 0, 0); in iterate() 151 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 152 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 167 VK_CHECK(m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in iterate() 169 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate() [all …]
|
D | vktDrawSimpleTest.cpp | 117 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 118 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 123 m_vk.cmdDraw(*m_cmdBuffer, 6, 1, 2, 0); in iterate() 126 m_vk.cmdDraw(*m_cmdBuffer, 4, 1, 2, 0); in iterate() 145 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 146 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 160 VK_CHECK(m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in iterate() 162 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate() 222 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 224 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() [all …]
|
D | vktDrawImageObjectUtil.cpp | 159 , m_vk(vk) in Image() 303 …stagingResource = Buffer::createAndAlloc(m_vk, m_device, stagingBufferResourceCreateInfo, allocato… in readUsingBuffer() 308 …vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreate… in readUsingBuffer() 318 …vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, &cmdBuffer… in readUsingBuffer() 321 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in readUsingBuffer() 344 …m_vk.cmdPipelineBarrier(*copyCmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_ST… in readUsingBuffer() 358 …m_vk.cmdCopyImageToBuffer(*copyCmdBuffer, object(), layout, stagingResource->object(), 1, ®ion); in readUsingBuffer() 359 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in readUsingBuffer() 373 m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL); in readUsingBuffer() 376 VK_CHECK(m_vk.queueWaitIdle(queue)); in readUsingBuffer() [all …]
|
D | vktDrawIndirectTest.cpp | 239 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 243 m_indirectBuffer = Buffer::createAndAlloc( m_vk, in iterate() 255 vk::flushMappedMemoryRange(m_vk, in iterate() 261 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 263 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, m_drawCount, m_st… in iterate() 267 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_stride… in iterate() 270 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 271 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 285 VK_CHECK(m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in iterate() 287 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate() [all …]
|
D | vktDrawBufferObjectUtil.cpp | 37 , m_vk (vk) in Buffer() 45 …VK_CHECK(m_vk.bindBufferMemory(m_device, *m_object, allocation->getMemory(), allocation->getOffset… in bindMemory()
|
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
D | vktQueryPoolImageObjectUtil.cpp | 160 , m_vk(vk) in Image() 280 …stagingResource = Buffer::createAndAlloc(m_vk, m_device, stagingBufferResourceCreateInfo, allocato… in readUsingBuffer() 285 …vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreate… in readUsingBuffer() 295 …vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, &cmdBuffer… in readUsingBuffer() 298 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in readUsingBuffer() 321 …m_vk.cmdPipelineBarrier(*copyCmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_ST… in readUsingBuffer() 335 …m_vk.cmdCopyImageToBuffer(*copyCmdBuffer, object(), layout, stagingResource->object(), 1, ®ion); in readUsingBuffer() 336 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in readUsingBuffer() 350 m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL); in readUsingBuffer() 353 VK_CHECK(m_vk.queueWaitIdle(queue)); in readUsingBuffer() [all …]
|
D | vktQueryPoolBufferObjectUtil.cpp | 37 , m_vk (vk) in Buffer() 45 …VK_CHECK(m_vk.bindBufferMemory(m_device, *m_object, allocation->getMemory(), allocation->getOffset… in bindMemory()
|
D | vktQueryPoolBufferObjectUtil.hpp | 64 const vk::DeviceInterface& m_vk; member in vkt::QueryPool::Buffer
|