Home
last modified time | relevance | path

Searched refs:m_vk (Results 1 – 25 of 33) sorted by relevance

12

/external/deqp/external/vulkancts/framework/vulkan/
DvkInitDeviceFunctionPointers.inl4 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 …]
DvkInitInstanceFunctionPointers.inl4 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 …]
DvkDeviceDriverImpl.inl7 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 …]
DvkInstanceDriverImpl.inl7 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);
37m_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 …]
DvkInitPlatformFunctionPointers.inl4 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…
DvkPlatformDriverImpl.inl7 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);
DvkPlatform.hpp61 Functions m_vk; member in vk::PlatformDriver
78 Functions m_vk; member in vk::InstanceDriver
95 Functions m_vk; member in vk::DeviceDriver
DvkMemUtil.cpp171 : 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/
DvktDynamicStateBaseClass.cpp38 , 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 …]
DvktDynamicStateRSTests.cpp52 , 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 …]
DvktDynamicStateDSTests.cpp60 , 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 …]
DvktDynamicStateGeneralTests.cpp83 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 …]
DvktDynamicStateVPTests.cpp83 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 …]
DvktDynamicStateImageObjectUtil.cpp159 , 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, &copyCmdPoolCreate… 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()
344m_vk.cmdPipelineBarrier(*copyCmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_ST… in readUsingBuffer()
358m_vk.cmdCopyImageToBuffer(*copyCmdBuffer, object(), layout, stagingResource->object(), 1, &region); 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 …]
DvktDynamicStateCBTests.cpp61 …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()
DvktDynamicStateBufferObjectUtil.cpp37 , 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/
DvktDrawBaseClass.cpp36 , 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 …]
DvktDrawIndexedTest.cpp125 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 …]
DvktDrawSimpleTest.cpp117 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 …]
DvktDrawImageObjectUtil.cpp159 , 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, &copyCmdPoolCreate… 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()
344m_vk.cmdPipelineBarrier(*copyCmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_ST… in readUsingBuffer()
358m_vk.cmdCopyImageToBuffer(*copyCmdBuffer, object(), layout, stagingResource->object(), 1, &region); 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 …]
DvktDrawIndirectTest.cpp239 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()
263m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, m_drawCount, m_st… in iterate()
267m_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 …]
DvktDrawBufferObjectUtil.cpp37 , 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/
DvktQueryPoolImageObjectUtil.cpp160 , 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, &copyCmdPoolCreate… 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()
321m_vk.cmdPipelineBarrier(*copyCmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_ST… in readUsingBuffer()
335m_vk.cmdCopyImageToBuffer(*copyCmdBuffer, object(), layout, stagingResource->object(), 1, &region); 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 …]
DvktQueryPoolBufferObjectUtil.cpp37 , m_vk (vk) in Buffer()
45 …VK_CHECK(m_vk.bindBufferMemory(m_device, *m_object, allocation->getMemory(), allocation->getOffset… in bindMemory()
DvktQueryPoolBufferObjectUtil.hpp64 const vk::DeviceInterface& m_vk; member in vkt::QueryPool::Buffer

12