Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/framework/vulkan/generated/vulkan/
DvkInitDeviceFunctionPointers.inl6 m_vk.getDeviceProcAddr = (GetDeviceProcAddrFunc) GET_PROC_ADDR("vkGetDeviceProcAd…
7 m_vk.destroyDevice = (DestroyDeviceFunc) GET_PROC_ADDR("vkDestroyDevice");
8 m_vk.getDeviceQueue = (GetDeviceQueueFunc) GET_PROC_ADDR("vkGetDeviceQueue");
9 m_vk.queueSubmit = (QueueSubmitFunc) GET_PROC_ADDR("vkQueueSubmit");
10 m_vk.queueWaitIdle = (QueueWaitIdleFunc) GET_PROC_ADDR("vkQueueWaitIdle");
11 m_vk.deviceWaitIdle = (DeviceWaitIdleFunc) GET_PROC_ADDR("vkDeviceWaitIdle");
12 m_vk.allocateMemory = (AllocateMemoryFunc) GET_PROC_ADDR("vkAllocateMemory");
13 m_vk.freeMemory = (FreeMemoryFunc) GET_PROC_ADDR("vkFreeMemory");
14 m_vk.mapMemory = (MapMemoryFunc) GET_PROC_ADDR("vkMapMemory");
15 m_vk.unmapMemory = (UnmapMemoryFunc) GET_PROC_ADDR("vkUnmapMemory");
[all …]
DvkInitInstanceFunctionPointers.inl6 m_vk.destroyInstance = (DestroyInstanceFunc) GET_PROC_ADDR("vkDestroyInstan…
7 m_vk.enumeratePhysicalDevices = (EnumeratePhysicalDevicesFunc) GET_PROC_ADDR("vk…
8 m_vk.getPhysicalDeviceProperties = (GetPhysicalDevicePropertiesFunc) GET_PROC_ADD…
9 m_vk.getPhysicalDeviceQueueFamilyProperties = (GetPhysicalDeviceQueueFamilyPropertiesFunc) …
10 m_vk.getPhysicalDeviceMemoryProperties = (GetPhysicalDeviceMemoryPropertiesFunc) GET…
11 m_vk.getPhysicalDeviceFeatures = (GetPhysicalDeviceFeaturesFunc) GET_PROC_ADDR("…
12 m_vk.getPhysicalDeviceFormatProperties = (GetPhysicalDeviceFormatPropertiesFunc) GET…
13 m_vk.getPhysicalDeviceImageFormatProperties = (GetPhysicalDeviceImageFormatPropertiesFunc) …
14 m_vk.createDevice = (CreateDeviceFunc) GET_PROC_ADDR("vkCreateDevice");
15 m_vk.enumerateDeviceLayerProperties = (EnumerateDeviceLayerPropertiesFunc) GET_PRO…
[all …]
DvkDeviceDriverImpl.inl9 return m_vk.getDeviceProcAddr(device, pName);
14 m_vk.destroyDevice(device, pAllocator);
19 m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue);
24 return m_vk.queueSubmit(queue, submitCount, pSubmits, fence);
29 return m_vk.queueWaitIdle(queue);
34 return m_vk.deviceWaitIdle(device);
39 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory);
44 m_vk.freeMemory(device, memory, pAllocator);
49 return m_vk.mapMemory(device, memory, offset, size, flags, ppData);
54 m_vk.unmapMemory(device, memory);
[all …]
DvkInstanceDriverImpl.inl9 m_vk.destroyInstance(instance, pAllocator);
14 return m_vk.enumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices);
19 m_vk.getPhysicalDeviceProperties(physicalDevice, pProperties);
24m_vk.getPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFamilyPropertyCount, pQueueFamil…
29 m_vk.getPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperties);
34 m_vk.getPhysicalDeviceFeatures(physicalDevice, pFeatures);
39 m_vk.getPhysicalDeviceFormatProperties(physicalDevice, format, pFormatProperties);
44 …return m_vk.getPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, fl…
49 return m_vk.createDevice(physicalDevice, pCreateInfo, pAllocator, pDevice);
54 return m_vk.enumerateDeviceLayerProperties(physicalDevice, pPropertyCount, pProperties);
[all …]
/external/deqp/external/vulkancts/framework/vulkan/generated/vulkansc/
DvkInitDeviceFunctionPointers.inl6 m_vk.getDeviceProcAddr = (GetDeviceProcAddrFunc) GET_PROC_ADDR("vkGetDeviceProcAddr");
7 m_vk.destroyDevice = (DestroyDeviceFunc) GET_PROC_ADDR("vkDestroyDevice");
8 m_vk.getDeviceQueue = (GetDeviceQueueFunc) GET_PROC_ADDR("vkGetDeviceQueue");
9 m_vk.queueSubmit = (QueueSubmitFunc) GET_PROC_ADDR("vkQueueSubmit");
10 m_vk.queueWaitIdle = (QueueWaitIdleFunc) GET_PROC_ADDR("vkQueueWaitIdle");
11 m_vk.deviceWaitIdle = (DeviceWaitIdleFunc) GET_PROC_ADDR("vkDeviceWaitIdle");
12 m_vk.allocateMemory = (AllocateMemoryFunc) GET_PROC_ADDR("vkAllocateMemory");
13 m_vk.mapMemory = (MapMemoryFunc) GET_PROC_ADDR("vkMapMemory");
14 m_vk.unmapMemory = (UnmapMemoryFunc) GET_PROC_ADDR("vkUnmapMemory");
15 m_vk.flushMappedMemoryRanges = (FlushMappedMemoryRangesFunc) GET_PROC_ADDR("vkFlushMappedMem…
[all …]
DvkInitInstanceFunctionPointers.inl6 m_vk.destroyInstance = (DestroyInstanceFunc) GET_PROC_ADDR("vkDestroyInstanc…
7 m_vk.enumeratePhysicalDevices = (EnumeratePhysicalDevicesFunc) GET_PROC_ADDR("vkE…
8 m_vk.getPhysicalDeviceFeatures = (GetPhysicalDeviceFeaturesFunc) GET_PROC_ADDR("v…
9 m_vk.getPhysicalDeviceFormatProperties = (GetPhysicalDeviceFormatPropertiesFunc) GET_…
10 m_vk.getPhysicalDeviceImageFormatProperties = (GetPhysicalDeviceImageFormatPropertiesFunc) …
11 m_vk.getPhysicalDeviceProperties = (GetPhysicalDevicePropertiesFunc) GET_PROC_ADDR…
12 m_vk.getPhysicalDeviceQueueFamilyProperties = (GetPhysicalDeviceQueueFamilyPropertiesFunc) …
13 m_vk.getPhysicalDeviceMemoryProperties = (GetPhysicalDeviceMemoryPropertiesFunc) GET_…
14 m_vk.createDevice = (CreateDeviceFunc) GET_PROC_ADDR("vkCreateDevice");
15 m_vk.enumerateDeviceExtensionProperties = (EnumerateDeviceExtensionPropertiesFunc) GE…
[all …]
DvkDeviceDriverImpl.inl9 return m_vk.getDeviceProcAddr(device, pName);
14 m_vk.destroyDevice(device, pAllocator);
19 m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue);
24 return m_vk.queueSubmit(queue, submitCount, pSubmits, fence);
29 return m_vk.queueWaitIdle(queue);
34 return m_vk.deviceWaitIdle(device);
39 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory);
44 return m_vk.mapMemory(device, memory, offset, size, flags, ppData);
49 m_vk.unmapMemory(device, memory);
54 return m_vk.flushMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges);
[all …]
DvkInstanceDriverImpl.inl9 m_vk.destroyInstance(instance, pAllocator);
14 return m_vk.enumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices);
19 m_vk.getPhysicalDeviceFeatures(physicalDevice, pFeatures);
24 m_vk.getPhysicalDeviceFormatProperties(physicalDevice, format, pFormatProperties);
29 …return m_vk.getPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, fl…
34 m_vk.getPhysicalDeviceProperties(physicalDevice, pProperties);
39m_vk.getPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFamilyPropertyCount, pQueueFamil…
44 m_vk.getPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperties);
49 return m_vk.createDevice(physicalDevice, pCreateInfo, pAllocator, pDevice);
54 …return m_vk.enumerateDeviceExtensionProperties(physicalDevice, pLayerName, pPropertyCount, pProper…
[all …]
DvkDeviceDriverSCImpl.inl9 return m_vk.getDeviceProcAddr(device, pName);
16 m_vk.destroyDevice(device, pAllocator);
25 m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue);
27 m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue);
33 return m_vk.queueSubmit(queue, submitCount, pSubmits, fence);
40 return m_vk.queueWaitIdle(queue);
47 return m_vk.deviceWaitIdle(device);
55 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory);
69 return m_vk.mapMemory(device, memory, offset, size, flags, ppData);
83 m_vk.unmapMemory(device, memory);
[all …]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.cpp48 , m_vk (context.getDeviceInterface()) in DynamicStateBaseClass()
74 m_meshSetLayout = setLayoutBuilder.build(m_vk, device); in initialize()
77 …m_descriptorPool = poolBuilder.build(m_vk, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_S… in initialize()
79 …m_descriptorSet = vk::makeDescriptorSet(m_vk, device, m_descriptorPool.get(), m_meshSetLayout.get(… in initialize()
92 …m_pipelineLayout = vk::makePipelineLayout(m_vk, device, de::sizeU32(rawSetLayouts), de::dataOrNull… in initialize()
98 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize()
101 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize()
134 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, bufferUsage), in initialize()
140 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize()
150 updateBuilder.update(m_vk, device); in initialize()
[all …]
DvktDynamicStateDSTests.cpp68 , m_vk (context.getDeviceInterface()) in DepthStencilBaseCase()
69 , m_pipeline_1 (m_vk, context.getDevice(), pipelineConstructionType) in DepthStencilBaseCase()
70 , m_pipeline_2 (m_vk, context.getDevice(), pipelineConstructionType) in DepthStencilBaseCase()
93 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anoned3ea59d0111::DepthStencilBaseCase
161 m_setLayout = setLayoutBuilder.build(m_vk, device); in initialize()
164 …m_descriptorPool = poolBuilder.build(m_vk, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_S… in initialize()
166 m_descriptorSet = vk::makeDescriptorSet(m_vk, device, m_descriptorPool.get(), m_setLayout.get()); in initialize()
171 …m_pipelineLayout = vk::makePipelineLayout(m_vk, device, m_setLayout.get(), de::dataOrNull(pcRanges… in initialize()
180 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize()
187 …m_depthStencilImage = Image::createAndAlloc(m_vk, device, depthStencilImageCreateInfo, m_context.g… in initialize()
[all …]
DvktDynamicStateInheritanceTests.cpp131 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anon77c829500111::InheritanceTestInstance
377 , m_vk(context.getDeviceInterface()) in InheritanceTestInstance()
379 …, m_rectangleBuffer(m_vk, m_context.getDevice(), m_context.getDefaultAllocator(), rectangleBufferI… in InheritanceTestInstance()
381 …, m_downloadBuffer(m_vk, m_context.getDevice(), m_context.getDefaultAllocator(), downloadBufferInf… in InheritanceTestInstance()
384 …, m_colorImage(m_vk, m_context.getDevice(), m_context.getDefaultAllocator(), colorImageInfo, Memor… in InheritanceTestInstance()
385 …, m_depthImage(m_vk, m_context.getDevice(), m_context.getDefaultAllocator(), m_depthImageInfo, Mem… in InheritanceTestInstance()
390 , m_colorView(createImageView(m_vk, m_context.getDevice(), &m_colorViewInfo, NULL))
391 , m_depthView(createImageView(m_vk, m_context.getDevice(), &m_depthViewInfo, NULL))
449 m_renderPass = createRenderPass(m_vk, dev, &renderPassInfo, NULL);
460 m_framebuffer = createFramebuffer(m_vk, dev, &framebufferInfo, NULL);
[all …]
DvktDynamicStateRSTests.cpp65 , m_vk (context.getDeviceInterface()) in DepthBiasBaseCase()
66 , m_pipeline (m_vk, context.getDevice(), pipelineConstructionType) in DepthBiasBaseCase()
89 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anon38508f2b0111::DepthBiasBaseCase
155 m_setLayout = setLayoutBuilder.build(m_vk, device); in initialize()
158 …m_descriptorPool = poolBuilder.build(m_vk, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_S… in initialize()
160 m_descriptorSet = vk::makeDescriptorSet(m_vk, device, m_descriptorPool.get(), m_setLayout.get()); in initialize()
165 …m_pipelineLayout = vk::makePipelineLayout(m_vk, device, m_setLayout.get(), de::dataOrNull(pcRanges… in initialize()
171 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize()
177 …m_depthStencilImage = Image::createAndAlloc(m_vk, device, depthStencilImageCreateInfo, m_context.g… in initialize()
180 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize()
[all …]
DvktDynamicStateGeneralTests.cpp87 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, m_pipeline.getPipeline()); in iterate()
95m_vk.cmdBindDescriptorSets(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, m_pipelineLayout.get… in iterate()
100 m_vk.cmdDrawMeshTasksEXT(*m_cmdBuffer, numVert - 2u, 1u, 1u); in iterate()
104 m_vk.cmdDrawMeshTasksEXT(*m_cmdBuffer, numVert - 2u, 1u, 1u); in iterate()
111 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
115 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate()
119 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate()
122 endRenderPass(m_vk, *m_cmdBuffer); in iterate()
123 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
125 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate()
[all …]
DvktDynamicStateDiscardTests.cpp129 …m_depthStencilImage = Image::createAndAlloc(m_vk, device, stencilImageCreateInfo, m_context.getDef… in DiscardTestInstance()
132 m_depthStencilView = vk::createImageView(m_vk, device, &stencilViewInfo); in DiscardTestInstance()
151 m_otherSetLayout = vk::createDescriptorSetLayout(m_vk, device, &descriptorSetLayoutCreateInfo); in DiscardTestInstance()
200 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initRenderPass()
211 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initFramebuffer()
216 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule (m_vk, device, m_context.getBinaryC… in initPipeline()
217 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule (m_vk, device, m_context.getBinaryC… in initPipeline()
268 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in beginRenderPass()
270 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPass()
274 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPass()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawSimpleTest.cpp125 beginSecondaryCmdBuffer(m_vk, vk::VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT); in iterate()
129 beginSecondaryCmdBuffer(m_vk); in iterate()
131 m_vk.cmdBindVertexBuffers(*m_secCmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
132 m_vk.cmdBindPipeline(*m_secCmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
138 endCommandBuffer(m_vk, *m_secCmdBuffer); in iterate()
141 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in iterate()
147 m_vk.cmdExecuteCommands(*m_cmdBuffer, 1u, &*m_secCmdBuffer); in iterate()
152 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
156 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in iterate()
160 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
[all …]
DvktDrawIndexedTest.cpp142 m_indexBuffer = Buffer::createAndAlloc( m_vk, m_context.getDevice(), in iterate()
150 vk::flushAlloc(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory()); in iterate()
162 beginSecondaryCmdBuffer(m_vk, vk::VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT); in iterate()
166 beginSecondaryCmdBuffer(m_vk); in iterate()
168 m_vk.cmdBindVertexBuffers(*m_secCmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
169 m_vk.cmdBindIndexBuffer(*m_secCmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate()
170 m_vk.cmdBindPipeline(*m_secCmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
171 m_vk.cmdDrawIndexed(*m_secCmdBuffer, 6, 1, 2, VERTEX_OFFSET, 0); in iterate()
176 endCommandBuffer(m_vk, *m_secCmdBuffer); in iterate()
179 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in iterate()
[all …]
DvktBasicDrawTests.cpp302 const vk::DeviceInterface& m_vk; member in vkt::Draw::__anonc706d7390111::DrawTestInstanceBase
325 , m_vk (context.getDeviceInterface()) in DrawTestInstanceBase()
342 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize()
348 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in initialize()
351 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize()
383 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize()
388 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize()
420 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize()
426 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize()
429 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize()
[all …]
DvktDrawBaseClass.cpp40 , m_vk (context.getDeviceInterface()) in DrawTestsBaseClass()
52 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize()
58 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in initialize()
61 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize()
93 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize()
98 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize()
136 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize()
142 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize()
145 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize()
146 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize()
[all …]
DvktDrawInstancedTests.cpp245 const vk::DeviceInterface& m_vk; member in vkt::Draw::__anon47e63ff00111::InstancedDrawInstance
372 , m_vk (context.getDeviceInterface()) in InstancedDrawInstance()
385 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in InstancedDrawInstance()
392 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in InstancedDrawInstance()
401 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in InstancedDrawInstance()
456 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in InstancedDrawInstance()
461 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in InstancedDrawInstance()
515 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in InstancedDrawInstance()
516 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in InstancedDrawInstance()
518 …m_secCmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_S… in InstancedDrawInstance()
[all …]
DvktDrawIndirectTest.cpp273 …VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, vk::VK_SHADER_STAGE_COMPUTE_BIT).build(m_vk, m_context.getDevic… in negateDataUsingCompute()
274 …torPoolBuilder().addType(vk::VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 2u).build(m_vk, m_context.getDevic… in negateDataUsingCompute()
278 …m_descriptorSetIndirectBuffer = vk::makeDescriptorSet(m_vk, m_context.getDevice(), *m_descriptorPo… in negateDataUsingCompute()
283 .update(m_vk, m_context.getDevice()); in negateDataUsingCompute()
289 …m_descriptorSetCountBuffer = vk::makeDescriptorSet(m_vk, m_context.getDevice(), *m_descriptorPool,… in negateDataUsingCompute()
294 .update(m_vk, m_context.getDevice()); in negateDataUsingCompute()
297 …m_computeShaderModule = vk::createShaderModule(m_vk, m_context.getDevice(), m_context.getBinaryCol… in negateDataUsingCompute()
298 m_pipelineLayout = vk::makePipelineLayout(m_vk, m_context.getDevice(), *m_descriptorSetLayout); in negateDataUsingCompute()
299 …m_computePipeline = makeComputePipeline(m_vk, m_context.getDevice(), *m_pipelineLayout, *m_comput… in negateDataUsingCompute()
304 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_COMPUTE, *m_computePipeline); in negateDataUsingCompute()
[all …]
DvktDrawShaderDrawParametersTests.cpp154 …m_indirectBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(indirectBu… in DrawTest()
158 …vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory().getMemo… in DrawTest()
165 …m_indexBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(indexBufferSi… in DrawTest()
177 …vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory().getMemory(… in DrawTest()
191 …vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory().getMemo… in setIndirectCommand()
247 endCommandBuffer(m_vk, *m_secCmdBuffer); in iterate()
250 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in iterate()
257 m_vk.cmdExecuteCommands(*m_cmdBuffer, 1u, &*m_secCmdBuffer); in iterate()
262 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
266 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawTests.cpp178 …m_secondaryCmdBuffer = vk::allocateCommandBuffer(m_vk, m_context.getDevice(), *m_cmdPool, vk::VK_C…
212 m_rpWithClear = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in createRenderPassWithClear()
218 m_fbWithClear = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in createRenderPassWithClear()
224 m_indexBuffer = Draw::Buffer::createAndAlloc(m_vk, m_context.getDevice(), in createAndBindIndexBuffer()
233 vk::flushAlloc(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory()); in createAndBindIndexBuffer()
236 m_vk.cmdBindIndexBuffer(cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in createAndBindIndexBuffer()
268 m_indirectBuffer = Draw::Buffer::createAndAlloc(m_vk, in createIndirectBuffer()
278 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory()); in createIndirectBuffer()
312 m_indirectBuffer = Draw::Buffer::createAndAlloc(m_vk, in createIndexedIndirectBuffer()
322 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory()); in createIndexedIndirectBuffer()
[all …]
DvktConditionalClearAttachmentTests.cpp84 …m_secondaryCmdBuffer = vk::allocateCommandBuffer(m_vk, m_context.getDevice(), *m_cmdPool, vk::VK_C…
96 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in iterate()
132 VK_CHECK(m_vk.beginCommandBuffer(*m_secondaryCmdBuffer, &commandBufferBeginInfo)); in iterate()
137 m_vk.cmdBindPipeline(targetCmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
157 beginConditionalRendering(m_vk, *m_secondaryCmdBuffer, *m_conditionalBuffer, m_conditionalData); in iterate()
158 m_vk.cmdClearAttachments(*m_secondaryCmdBuffer, 1, &clearAttachment, 1, &rect); in iterate()
159 m_vk.cmdEndConditionalRenderingEXT(*m_secondaryCmdBuffer); in iterate()
160 m_vk.endCommandBuffer(*m_secondaryCmdBuffer); in iterate()
164 m_vk.cmdClearAttachments(*m_secondaryCmdBuffer, 1, &clearAttachment, 1, &rect); in iterate()
165 m_vk.endCommandBuffer(*m_secondaryCmdBuffer); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp843 m_vk(context.getDeviceInterface()), in UploadDownloadExecutor()
877 const DeviceInterface& m_vk; member in vkt::image::UploadDownloadExecutor
975 …m_cmdPool = createCommandPool(m_vk, m_device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, m_q… in runSwapchain()
976 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in runSwapchain()
977 beginCommandBuffer(m_vk, *m_cmdBuffer); in runSwapchain()
1014 endCommandBuffer(m_vk, *m_cmdBuffer); in runSwapchain()
1015 submitCommandsAndWait(m_vk, m_device, m_queue, *m_cmdBuffer); in runSwapchain()
1024 …m_cmdPool = createCommandPool(m_vk, m_device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, … in run()
1025 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in run()
1026 beginCommandBuffer(m_vk, *m_cmdBuffer); in run()
[all …]

12