/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkInitDeviceFunctionPointers.inl | 4 m_vk.getDeviceProcAddr = (GetDeviceProcAddrFunc) GET_PROC_ADDR("vkGetDeviceProcAddr"); 5 m_vk.destroyDevice = (DestroyDeviceFunc) GET_PROC_ADDR("vkDestroyDevice"); 6 m_vk.getDeviceQueue = (GetDeviceQueueFunc) GET_PROC_ADDR("vkGetDeviceQueue"); 7 m_vk.queueSubmit = (QueueSubmitFunc) GET_PROC_ADDR("vkQueueSubmit"); 8 m_vk.queueWaitIdle = (QueueWaitIdleFunc) GET_PROC_ADDR("vkQueueWaitIdle"); 9 m_vk.deviceWaitIdle = (DeviceWaitIdleFunc) GET_PROC_ADDR("vkDeviceWaitIdle"); 10 m_vk.allocateMemory = (AllocateMemoryFunc) GET_PROC_ADDR("vkAllocateMemory"); 11 m_vk.freeMemory = (FreeMemoryFunc) GET_PROC_ADDR("vkFreeMemory"); 12 m_vk.mapMemory = (MapMemoryFunc) GET_PROC_ADDR("vkMapMemory"); 13 m_vk.unmapMemory = (UnmapMemoryFunc) GET_PROC_ADDR("vkUnmapMemory"); [all …]
|
D | vkInitInstanceFunctionPointers.inl | 4 m_vk.destroyInstance = (DestroyInstanceFunc) GET_PROC_ADDR("vkDestroyInstance"); 5 m_vk.enumeratePhysicalDevices = (EnumeratePhysicalDevicesFunc) GET_PROC_ADDR("vkEnumer… 6 m_vk.getPhysicalDeviceFeatures = (GetPhysicalDeviceFeaturesFunc) GET_PROC_ADDR("vkGetP… 7 m_vk.getPhysicalDeviceFormatProperties = (GetPhysicalDeviceFormatPropertiesFunc) GET_PROC_… 8 m_vk.getPhysicalDeviceImageFormatProperties = (GetPhysicalDeviceImageFormatPropertiesFunc) G… 9 m_vk.getPhysicalDeviceProperties = (GetPhysicalDevicePropertiesFunc) GET_PROC_ADDR("vkG… 10 m_vk.getPhysicalDeviceQueueFamilyProperties = (GetPhysicalDeviceQueueFamilyPropertiesFunc) G… 11 m_vk.getPhysicalDeviceMemoryProperties = (GetPhysicalDeviceMemoryPropertiesFunc) GET_PROC_… 12 m_vk.createDevice = (CreateDeviceFunc) GET_PROC_ADDR("vkCreateDevice"); 13 m_vk.enumerateDeviceExtensionProperties = (EnumerateDeviceExtensionPropertiesFunc) GET_PRO… [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.createDevice(physicalDevice, pCreateInfo, pAllocator, pDevice); 52 …return m_vk.enumerateDeviceExtensionProperties(physicalDevice, pLayerName, pPropertyCount, pProper… [all …]
|
D | vkDeviceDriverImpl.inl | 7 return m_vk.getDeviceProcAddr(device, pName); 12 m_vk.destroyDevice(device, pAllocator); 17 m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue); 22 return m_vk.queueSubmit(queue, submitCount, pSubmits, fence); 27 return m_vk.queueWaitIdle(queue); 32 return m_vk.deviceWaitIdle(device); 37 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory); 42 m_vk.freeMemory(device, memory, pAllocator); 47 return m_vk.mapMemory(device, memory, offset, size, flags, ppData); 52 m_vk.unmapMemory(device, memory); [all …]
|
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); 27 if (m_vk.enumerateInstanceVersion) 28 return m_vk.enumerateInstanceVersion(pApiVersion);
|
D | vkInitPlatformFunctionPointers.inl | 4 m_vk.createInstance = (CreateInstanceFunc) GET_PROC_ADDR("vkCreateInstance"); 5 m_vk.enumerateInstanceExtensionProperties = (EnumerateInstanceExtensionPropertiesFunc) GET_PROC_ADD… 6 m_vk.enumerateInstanceLayerProperties = (EnumerateInstanceLayerPropertiesFunc) GET_PROC_ADDR("vkE… 7 m_vk.enumerateInstanceVersion = (EnumerateInstanceVersionFunc) GET_PROC_ADDR("vkEnumerateInst…
|
D | vkPlatform.cpp | 32 m_vk.getInstanceProcAddr = (GetInstanceProcAddrFunc)library.getFunction("vkGetInstanceProcAddr"); in PlatformDriver() 34 #define GET_PROC_ADDR(NAME) m_vk.getInstanceProcAddr(DE_NULL, NAME) in PlatformDriver() 61 …m_vk.getDeviceProcAddr = (GetDeviceProcAddrFunc)platformInterface.getInstanceProcAddr(instance, "v… in DeviceDriver() 63 #define GET_PROC_ADDR(NAME) m_vk.getDeviceProcAddr(device, NAME) in DeviceDriver()
|
D | vkPlatform.hpp | 62 Functions m_vk; member in vk::PlatformDriver 81 Functions m_vk; member in vk::InstanceDriver 98 Functions m_vk; member in vk::DeviceDriver
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateBaseClass.cpp | 42 , m_vk (context.getDeviceInterface()) in DynamicStateBaseClass() 54 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 60 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize() 63 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 95 …m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, vk::VK_BUFFER_USA… in initialize() 101 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize() 104 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize() 114 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo); in initialize() 154 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initRenderPass() 164 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initFramebuffer() [all …]
|
D | vktDynamicStateRSTests.cpp | 57 , m_vk (context.getDeviceInterface()) in DepthBiasBaseCase() 76 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anon1d75ffef0111::DepthBiasBaseCase 127 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 129 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 130 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 136 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize() 142 …m_depthStencilImage = Image::createAndAlloc(m_vk, device, depthStencilImageCreateInfo, m_context.g… in initialize() 145 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 148 m_attachmentView = vk::createImageView(m_vk, device, &attachmentViewInfo); in initialize() 192 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() [all …]
|
D | vktDynamicStateDSTests.cpp | 65 , m_vk (context.getDeviceInterface()) in DepthStencilBaseCase() 84 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anond26416610111::DepthStencilBaseCase 137 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 139 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 140 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 149 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize() 156 …m_depthStencilImage = Image::createAndAlloc(m_vk, device, depthStencilImageCreateInfo, m_context.g… in initialize() 159 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 162 m_attachmentView = vk::createImageView(m_vk, device, &attachmentViewInfo); in initialize() 207 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() [all …]
|
D | vktDynamicStateGeneralTests.cpp | 89 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 93 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 97 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 101 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 103 endRenderPass(m_vk, *m_cmdBuffer); in iterate() 104 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate() 106 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() 182 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 186 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 195 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() [all …]
|
D | vktDynamicStateVPTests.cpp | 88 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 92 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 94 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 96 endRenderPass(m_vk, *m_cmdBuffer); in iterate() 97 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate() 99 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() 250 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initPipeline() 251 …const vk::Unique<vk::VkShaderModule> gs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initPipeline() 252 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initPipeline() 269 m_pipeline = vk::createGraphicsPipeline(m_vk, device, DE_NULL, &pipelineCreateInfo); in initPipeline() [all …]
|
D | vktDynamicStateCBTests.cpp | 65 …const vk::Unique<vk::VkShaderModule> vs (createShaderModule(m_vk, device, m_context.getBinaryColle… in initPipeline() 66 …const vk::Unique<vk::VkShaderModule> fs (createShaderModule(m_vk, device, m_context.getBinaryColle… in initPipeline() 85 m_pipeline = vk::createGraphicsPipeline(m_vk, device, DE_NULL, &pipelineCreateInfo); in initPipeline() 97 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 107 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 109 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 111 endRenderPass(m_vk, *m_cmdBuffer); in iterate() 112 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate() 114 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawBaseClass.cpp | 38 , m_vk (context.getDeviceInterface()) in DrawTestsBaseClass() 50 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 56 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in initialize() 59 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 89 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() 96 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize() 133 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize() 139 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize() 142 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize() 143 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize() [all …]
|
D | vktDrawIndexedTest.cpp | 144 m_indexBuffer = Buffer::createAndAlloc( m_vk, m_context.getDevice(), in iterate() 152 vk::flushAlloc(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory()); in iterate() 158 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 159 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate() 161 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 163 m_vk.cmdDrawIndexed(*m_cmdBuffer, 6, 1, 2, VERTEX_OFFSET, 0); in iterate() 165 endRenderPass(m_vk, *m_cmdBuffer); in iterate() 166 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate() 168 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() 226 m_indexBuffer = Buffer::createAndAlloc( m_vk, m_context.getDevice(), in iterate() [all …]
|
D | vktDrawInstancedTests.cpp | 222 const vk::DeviceInterface& m_vk; member in vkt::Draw::__anon1daf2bb40111::InstancedDrawInstance 317 , m_vk (context.getDeviceInterface()) in InstancedDrawInstance() 330 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in InstancedDrawInstance() 336 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in InstancedDrawInstance() 339 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in InstancedDrawInstance() 368 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in InstancedDrawInstance() 375 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in InstancedDrawInstance() 427 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in InstancedDrawInstance() 429 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in InstancedDrawInstance() 431 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in InstancedDrawInstance() [all …]
|
D | vktDrawIndirectTest.cpp | 261 …m_indexBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(sizeof(deUint… in IndirectDraw() 267 vk::flushAlloc(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory()); in IndirectDraw() 454 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 458 m_indirectBuffer = Buffer::createAndAlloc( m_vk, in iterate() 470 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory()); in iterate() 475 m_indirectCountBuffer = Buffer::createAndAlloc(m_vk, in iterate() 489 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectCountBuffer->getBoundMemory()); in iterate() 492 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 496 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, m_indexBuffer->object(), DE_NULL, vk::VK_INDEX_TYPE_UINT32); in iterate() 506 m_vk.cmdDrawIndirectCountKHR(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, in iterate() [all …]
|
D | vktDrawImageObjectUtil.cpp | 162 , m_vk(vk) in Image() 306 …stagingResource = Buffer::createAndAlloc(m_vk, m_device, stagingBufferResourceCreateInfo, allocato… in readUsingBuffer() 310 …vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreate… in readUsingBuffer() 311 …vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, *copyCmdPo… in readUsingBuffer() 313 beginCommandBuffer(m_vk, *copyCmdBuffer); in readUsingBuffer() 336 …m_vk.cmdPipelineBarrier(*copyCmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_ST… in readUsingBuffer() 350 …m_vk.cmdCopyImageToBuffer(*copyCmdBuffer, object(), layout, stagingResource->object(), 1, ®ion); in readUsingBuffer() 351 endCommandBuffer(m_vk, *copyCmdBuffer); in readUsingBuffer() 353 submitCommandsAndWait(m_vk, m_device, queue, copyCmdBuffer.get()); in readUsingBuffer() 358 …invalidateMappedMemoryRange(m_vk, m_device, bufAllocation.getMemory(), bufAllocation.getOffset(), … in readUsingBuffer() [all …]
|
D | vktDrawSimpleTest.cpp | 121 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 122 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 127 m_vk.cmdDraw(*m_cmdBuffer, 6, 1, 2, 0); in iterate() 130 m_vk.cmdDraw(*m_cmdBuffer, 4, 1, 2, 0); in iterate() 149 endRenderPass(m_vk, *m_cmdBuffer); in iterate() 150 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate() 152 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() 212 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 214 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 219 m_vk.cmdDraw(*m_cmdBuffer, 6, 4, 2, 2); in iterate() [all …]
|
D | vktBasicDrawTests.cpp | 286 const vk::DeviceInterface& m_vk; member in vkt::Draw::__anone44880fd0111::DrawTestInstanceBase 308 , m_vk (context.getDeviceInterface()) in DrawTestInstanceBase() 337 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 343 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in initialize() 346 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 375 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() 382 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize() 413 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize() 419 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize() 422 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize() [all …]
|
D | vktDrawShaderDrawParametersTests.cpp | 188 …m_indirectBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(indirectBu… in DrawTest() 192 …vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory().getMemo… in DrawTest() 199 …m_indexBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(indexBufferSi… in DrawTest() 211 …vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory().getMemory(… in DrawTest() 225 …vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory().getMemo… in setIndirectCommand() 270 m_vk.cmdBindVertexBuffers (*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 271 m_vk.cmdBindPipeline (*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 274 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, m_indexBuffer->object(), 0ull, vk::VK_INDEX_TYPE_UINT32); in iterate() 309 …m_vk.cmdDrawIndexedIndirect(*m_cmdBuffer, m_indirectBuffer->object(), 0ull, numIndirectDraws, size… in iterate() 311 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), 0ull, numIndirectDraws, sizeof(vk::… in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDrawTests.cpp | 154 …m_secondaryCmdBuffer = vk::allocateCommandBuffer(m_vk, m_context.getDevice(), *m_cmdPool, vk::VK_C… in ConditionalDraw() 160 m_indexBuffer = Draw::Buffer::createAndAlloc(m_vk, m_context.getDevice(), in createAndBindIndexBuffer() 169 vk::flushAlloc(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory()); in createAndBindIndexBuffer() 172 m_vk.cmdBindIndexBuffer(cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in createAndBindIndexBuffer() 204 m_indirectBuffer = Draw::Buffer::createAndAlloc(m_vk, in createIndirectBuffer() 214 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory()); in createIndirectBuffer() 248 m_indirectBuffer = Draw::Buffer::createAndAlloc(m_vk, in createIndexedIndirectBuffer() 258 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory()); in createIndexedIndirectBuffer() 263 m_indirectCountBuffer = Draw::Buffer::createAndAlloc(m_vk, in createIndirectCountBuffer() 273 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectCountBuffer->getBoundMemory()); in createIndirectCountBuffer() [all …]
|
D | vktConditionalClearAttachmentTests.cpp | 80 …m_secondaryCmdBuffer = vk::allocateCommandBuffer(m_vk, m_context.getDevice(), *m_cmdPool, vk::VK_C… in ConditionalClearAttachmentTest() 125 m_vk.beginCommandBuffer(*m_secondaryCmdBuffer, &commandBufferBeginInfo); in iterate() 130 m_vk.cmdBindPipeline(targetCmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 148 m_vk.cmdClearAttachments(*m_secondaryCmdBuffer, 1, &clearAttachment, 1, &rect); in iterate() 154 beginConditionalRendering(m_vk, *m_cmdBuffer, *m_conditionalBuffer, m_conditionalData); in iterate() 159 m_vk.cmdClearAttachments(*m_cmdBuffer, 1, &clearAttachment, 1, &rect); in iterate() 164 m_vk.endCommandBuffer(*m_secondaryCmdBuffer); in iterate() 166 m_vk.cmdExecuteCommands(*m_cmdBuffer, 1, &m_secondaryCmdBuffer.get()); in iterate() 171 m_vk.cmdEndConditionalRenderingEXT(*m_cmdBuffer); in iterate() 174 endRenderPass(m_vk, *m_cmdBuffer); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMutableTests.cpp | 929 m_vk(context.getDeviceInterface()), in UploadDownloadExecutor() 963 const DeviceInterface& m_vk; member in vkt::image::UploadDownloadExecutor 1061 …m_cmdPool = createCommandPool(m_vk, m_device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, m_q… in runSwapchain() 1062 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in runSwapchain() 1063 beginCommandBuffer(m_vk, *m_cmdBuffer); in runSwapchain() 1100 endCommandBuffer(m_vk, *m_cmdBuffer); in runSwapchain() 1101 submitCommandsAndWait(m_vk, m_device, m_queue, *m_cmdBuffer); in runSwapchain() 1110 …m_cmdPool = createCommandPool(m_vk, m_device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, … in run() 1111 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in run() 1112 beginCommandBuffer(m_vk, *m_cmdBuffer); in run() [all …]
|