/third_party/vk-gl-cts/build/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 | 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 | 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 | 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…
|
/third_party/vk-gl-cts/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 | vktDynamicStateDSTests.cpp | 66 , m_vk (context.getDeviceInterface()) in DepthStencilBaseCase() 85 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anon553616590111::DepthStencilBaseCase 138 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 140 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 141 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 150 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize() 157 …m_depthStencilImage = Image::createAndAlloc(m_vk, device, depthStencilImageCreateInfo, m_context.g… in initialize() 160 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 163 m_attachmentView = vk::createImageView(m_vk, device, &attachmentViewInfo); in initialize() 208 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() [all …]
|
D | vktDynamicStateRSTests.cpp | 65 , m_vk (context.getDeviceInterface()) in DepthBiasBaseCase() 84 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anona047ffe70111::DepthBiasBaseCase 135 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 137 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 138 …const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in initialize() 144 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefau… in initialize() 150 …m_depthStencilImage = Image::createAndAlloc(m_vk, device, depthStencilImageCreateInfo, m_context.g… in initialize() 153 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 156 m_attachmentView = vk::createImageView(m_vk, device, &attachmentViewInfo); in initialize() 200 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() [all …]
|
D | vktDynamicStateInheritanceTests.cpp | 139 const vk::DeviceInterface& m_vk; member in vkt::DynamicState::__anon5ce02d8c0111::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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawBaseClass.cpp | 39 , m_vk (context.getDeviceInterface()) in DrawTestsBaseClass() 51 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 57 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in initialize() 60 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 92 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() 97 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize() 135 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize() 141 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize() 144 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize() 145 …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() 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() 235 vk::flushAlloc(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory()); in iterate() [all …]
|
D | vktDrawInstancedTests.cpp | 228 const vk::DeviceInterface& m_vk; member in vkt::Draw::__anon4fea55ac0111::InstancedDrawInstance 346 , m_vk (context.getDeviceInterface()) in InstancedDrawInstance() 359 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in InstancedDrawInstance() 366 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in InstancedDrawInstance() 375 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in InstancedDrawInstance() 430 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in InstancedDrawInstance() 435 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in InstancedDrawInstance() 488 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in InstancedDrawInstance() 490 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in InstancedDrawInstance() 492 …const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollec… in InstancedDrawInstance() [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 | vktBasicDrawTests.cpp | 290 const vk::DeviceInterface& m_vk; member in vkt::Draw::__anone24d6ef50111::DrawTestInstanceBase 312 , m_vk (context.getDeviceInterface()) in DrawTestInstanceBase() 329 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize() 335 …m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.get… in initialize() 338 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 370 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize() 375 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize() 407 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize() 413 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize() 416 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize() [all …]
|
D | vktDrawIndirectTest.cpp | 268 …m_indexBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(sizeof(deUint… in IndirectDraw() 274 vk::flushAlloc(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory()); in IndirectDraw() 482 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 486 m_indirectBuffer = Buffer::createAndAlloc( m_vk, in iterate() 498 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory()); in iterate() 503 m_indirectCountBuffer = Buffer::createAndAlloc(m_vk, in iterate() 518 vk::flushAlloc(m_vk, m_context.getDevice(), m_indirectCountBuffer->getBoundMemory()); in iterate() 521 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 525 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, m_indexBuffer->object(), DE_NULL, vk::VK_INDEX_TYPE_UINT32); in iterate() 537 m_vk.cmdDrawIndirectCount(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, 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() 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() 222 m_vk.cmdDraw(*m_cmdBuffer, 4, 4, 2, 2); in iterate() [all …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationOrderAttachmentAccessTests.cpp | 331 const DeviceInterface& m_vk; member in vkt::rasterization::__anonce2dca4c0111::AttachmentAccessOrderTestInstance 1130 m_vk.updateDescriptorSets(m_context.getDevice(), 1u, &write, 0u, DE_NULL); in writeDescriptorSets() 1226 return ::createRenderPass(m_vk, device, &renderPassCreateInfo); in createRenderPass() 1259 m_vertexBuffer = createBuffer(m_vk, device, &vertexBufferParams); in createVertexBuffer() 1260 …m_vertexBufferMemory = allocator.allocate(getBufferMemoryRequirements(m_vk, device, *m_vertexBuffe… in createVertexBuffer() 1262 …VK_CHECK(m_vk.bindBufferMemory(device, *m_vertexBuffer, m_vertexBufferMemory->getMemory(), m_verte… in createVertexBuffer() 1267 flushAlloc(m_vk, device, *m_vertexBufferMemory); in createVertexBuffer() 1287 m_resultBuffer = createBuffer(m_vk, device, &resultBufferInfo); in createResultBuffer() 1288 …m_resultBufferMemory = allocator.allocate( getBufferMemoryRequirements(m_vk, device, *m_resultBuff… in createResultBuffer() 1290 …VK_CHECK(m_vk.bindBufferMemory(device, *m_resultBuffer, m_resultBufferMemory->getMemory(), m_resul… in createResultBuffer() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
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()
|