Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/build/external/vulkancts/framework/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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::__anon98cd54e40111::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::__anon5b39f8770111::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::__anone3df3e720111::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 …]
/third_party/vk-gl-cts/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::__anon430fcf240111::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::__anonbb89fab70111::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::__anon8e21b8b20111::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 …]
/third_party/vk-gl-cts/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::__anon4c88d0800111::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 …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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::__anon8c0b46400111::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 …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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 …]
/third_party/vk-gl-cts/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 …]

123