/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("vkDestroyInstan… 5 m_vk.enumeratePhysicalDevices = (EnumeratePhysicalDevicesFunc) GET_PROC_ADDR("vk… 6 m_vk.getPhysicalDeviceFeatures = (GetPhysicalDeviceFeaturesFunc) GET_PROC_ADDR("… 7 m_vk.getPhysicalDeviceFormatProperties = (GetPhysicalDeviceFormatPropertiesFunc) GET… 8 m_vk.getPhysicalDeviceImageFormatProperties = (GetPhysicalDeviceImageFormatPropertiesFunc) … 9 m_vk.getPhysicalDeviceProperties = (GetPhysicalDevicePropertiesFunc) GET_PROC_ADD… 10 m_vk.getPhysicalDeviceQueueFamilyProperties = (GetPhysicalDeviceQueueFamilyPropertiesFunc) … 11 m_vk.getPhysicalDeviceMemoryProperties = (GetPhysicalDeviceMemoryPropertiesFunc) GET… 12 m_vk.createDevice = (CreateDeviceFunc) GET_PROC_ADDR("vkCreateDevice"); 13 m_vk.enumerateDeviceExtensionProperties = (EnumerateDeviceExtensionPropertiesFunc) G… [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()
|
/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::__anon2ae3478d0111::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::__anondfd15dff0111::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 | vktDynamicStateInheritanceTests.cpp | 139 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anon92f56ff20111::InheritanceTestInstance 440 , m_vk(context.getDeviceInterface()) in InheritanceTestInstance() 442 …, m_rectangleBuffer(m_vk, m_context.getDevice(), m_context.getDefaultAllocator(), rectangleBufferI… in InheritanceTestInstance() 444 …, m_downloadBuffer(m_vk, m_context.getDevice(), m_context.getDefaultAllocator(), downloadBufferInf… in InheritanceTestInstance() 447 …, m_colorImage(m_vk, m_context.getDevice(), m_context.getDefaultAllocator(), colorImageInfo, Memor… in InheritanceTestInstance() 448 …, m_depthImage(m_vk, m_context.getDevice(), m_context.getDefaultAllocator(), m_depthImageInfo, Mem… in InheritanceTestInstance() 453 , m_colorView(createImageView(m_vk, m_context.getDevice(), &m_colorViewInfo, NULL)) 454 , m_depthView(createImageView(m_vk, m_context.getDevice(), &m_depthViewInfo, NULL)) 512 m_renderPass = createRenderPass(m_vk, dev, &renderPassInfo, NULL); 523 m_framebuffer = createFramebuffer(m_vk, dev, &framebufferInfo, NULL); [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() 239 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initPipeline() 240 …const vk::Unique<vk::VkShaderModule> gs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initPipeline() 241 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initPipeline() 258 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 | 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 | vktDrawIndirectTest.cpp | 267 …m_indexBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(sizeof(deUint… in IndirectDraw() 273 vk::flushAlloc(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory()); in IndirectDraw() 481 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 485 m_indirectBuffer = Buffer::createAndAlloc( m_vk, in iterate() 497 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory()); in iterate() 502 m_indirectCountBuffer = Buffer::createAndAlloc(m_vk, in iterate() 517 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectCountBuffer->getBoundMemory()); in iterate() 520 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 524 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, m_indexBuffer->object(), DE_NULL, vk::VK_INDEX_TYPE_UINT32); in iterate() 536 m_vk.cmdDrawIndirectCount(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, in iterate() [all …]
|
D | vktDrawInstancedTests.cpp | 227 const vk::DeviceInterface& m_vk; member in vkt::Draw::__anon32cab5d20111::InstancedDrawInstance 342 , m_vk (context.getDeviceInterface()) in InstancedDrawInstance() 355 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in InstancedDrawInstance() 362 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in InstancedDrawInstance() 371 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in InstancedDrawInstance() 426 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in InstancedDrawInstance() 433 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in InstancedDrawInstance() 485 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in InstancedDrawInstance() 487 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in InstancedDrawInstance() 489 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in InstancedDrawInstance() [all …]
|
D | vktBasicDrawTests.cpp | 287 const vk::DeviceInterface& m_vk; member in vkt::Draw::__anon55a7ac1b0111::DrawTestInstanceBase 309 , m_vk (context.getDeviceInterface()) in DrawTestInstanceBase() 326 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 332 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in initialize() 335 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 364 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() 371 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize() 402 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize() 408 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize() 411 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize() [all …]
|
D | vktDrawImageObjectUtil.cpp | 162 , m_vk(vk) in Image() 328 …stagingResource = Buffer::createAndAlloc(m_vk, m_device, stagingBufferResourceCreateInfo, allocato… in readUsingBuffer() 332 …vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreate… in readUsingBuffer() 333 …vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, *copyCmdPo… in readUsingBuffer() 335 beginCommandBuffer(m_vk, *copyCmdBuffer); in readUsingBuffer() 358 …m_vk.cmdPipelineBarrier(*copyCmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_ST… in readUsingBuffer() 372 …m_vk.cmdCopyImageToBuffer(*copyCmdBuffer, object(), layout, stagingResource->object(), 1, ®ion); in readUsingBuffer() 388 …m_vk.cmdPipelineBarrier(*copyCmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, vk::VK_PIPELINE_STAGE_… in readUsingBuffer() 391 endCommandBuffer(m_vk, *copyCmdBuffer); in readUsingBuffer() 393 submitCommandsAndWait(m_vk, m_device, queue, copyCmdBuffer.get()); in readUsingBuffer() [all …]
|
D | vktDrawShaderDrawParametersTests.cpp | 150 …m_indirectBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(indirectBu… in DrawTest() 154 …vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory().getMemo… in DrawTest() 161 …m_indexBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(indexBufferSi… in DrawTest() 173 …vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory().getMemory(… in DrawTest() 187 …vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory().getMemo… in setIndirectCommand() 232 m_vk.cmdBindVertexBuffers (*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 233 m_vk.cmdBindPipeline (*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 236 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, m_indexBuffer->object(), 0ull, vk::VK_INDEX_TYPE_UINT32); in iterate() 271 …m_vk.cmdDrawIndexedIndirect(*m_cmdBuffer, m_indirectBuffer->object(), 0ull, numIndirectDraws, size… in iterate() 273 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), 0ull, numIndirectDraws, sizeof(vk::… in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalClearAttachmentTests.cpp | 80 …m_secondaryCmdBuffer = vk::allocateCommandBuffer(m_vk, m_context.getDevice(), *m_cmdPool, vk::VK_C… in ConditionalClearAttachmentTest() 126 m_vk.beginCommandBuffer(*m_secondaryCmdBuffer, &commandBufferBeginInfo); in iterate() 131 m_vk.cmdBindPipeline(targetCmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 151 beginConditionalRendering(m_vk, *m_secondaryCmdBuffer, *m_conditionalBuffer, m_conditionalData); in iterate() 152 m_vk.cmdClearAttachments(*m_secondaryCmdBuffer, 1, &clearAttachment, 1, &rect); in iterate() 153 m_vk.cmdEndConditionalRenderingEXT(*m_secondaryCmdBuffer); in iterate() 154 m_vk.endCommandBuffer(*m_secondaryCmdBuffer); in iterate() 158 m_vk.cmdClearAttachments(*m_secondaryCmdBuffer, 1, &clearAttachment, 1, &rect); in iterate() 159 m_vk.endCommandBuffer(*m_secondaryCmdBuffer); in iterate() 164 beginConditionalRendering(m_vk, *m_cmdBuffer, *m_conditionalBuffer, m_conditionalData); in iterate() [all …]
|
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 …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMutableTests.cpp | 871 m_vk(context.getDeviceInterface()), in UploadDownloadExecutor() 905 const DeviceInterface& m_vk; member in vkt::image::UploadDownloadExecutor 1003 …m_cmdPool = createCommandPool(m_vk, m_device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, m_q… in runSwapchain() 1004 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in runSwapchain() 1005 beginCommandBuffer(m_vk, *m_cmdBuffer); in runSwapchain() 1042 endCommandBuffer(m_vk, *m_cmdBuffer); in runSwapchain() 1043 submitCommandsAndWait(m_vk, m_device, m_queue, *m_cmdBuffer); in runSwapchain() 1052 …m_cmdPool = createCommandPool(m_vk, m_device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, … in run() 1053 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in run() 1054 beginCommandBuffer(m_vk, *m_cmdBuffer); in run() [all …]
|