/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSwapchainTests.cpp | 204 VkQueue getDeviceQueue (const DeviceInterface& vkd, VkDevice device, deUint32 queueFamilyIndex, deU… in getDeviceQueue() argument 207 vkd.getDeviceQueue(device, queueFamilyIndex, queueIndex, &queue); in getDeviceQueue() 216 const DeviceDriver vkd; member 231 , vkd (vki, *device) in DeviceHelper() 232 , queue (getDeviceQueue(vkd, *device, queueFamilyIndex, 0)) in DeviceHelper() 574 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in createSwapchainTest() 640 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in iterate() 755 TriangleRenderer (const DeviceInterface& vkd, 771 static Move<VkRenderPass> createRenderPass (const DeviceInterface& vkd, 774 static Move<VkPipelineLayout> createPipelineLayout(const DeviceInterface& vkd, [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryPipelineBarrierTests.cpp | 472 vk::Move<vk::VkCommandBuffer> createCommandBuffer (const vk::DeviceInterface& vkd, in createCommandBuffer() argument 487 return vk::allocateCommandBuffer(vkd, device, &bufferInfo); in createCommandBuffer() 490 vk::Move<vk::VkCommandBuffer> createBeginCommandBuffer (const vk::DeviceInterface& vkd, in createBeginCommandBuffer() argument 514 vk::Move<vk::VkCommandBuffer> commandBuffer (createCommandBuffer(vkd, device, pool, level)); in createBeginCommandBuffer() 516 vkd.beginCommandBuffer(*commandBuffer, &beginInfo); in createBeginCommandBuffer() 521 vk::Move<vk::VkCommandPool> createCommandPool (const vk::DeviceInterface& vkd, in createCommandPool() argument 534 return vk::createCommandPool(vkd, device, &poolInfo); in createCommandPool() 537 vk::Move<vk::VkBuffer> createBuffer (const vk::DeviceInterface& vkd, in createBuffer() argument 557 return vk::createBuffer(vkd, device, &createInfo); in createBuffer() 560 vk::Move<vk::VkDeviceMemory> allocMemory (const vk::DeviceInterface& vkd, in allocMemory() argument [all …]
|
D | vktMemoryMappingTests.cpp | 325 const DeviceInterface& vkd = context.getDeviceInterface(); in testMemoryMapping() local 402 …const Unique<VkDeviceMemory> memory (allocMemory(vkd, device, config.allocationSize * atomSize,… in testMemoryMapping() 409 …VK_CHECK(vkd.mapMemory(device, *memory, config.mapping.offset * atomSize, config.mapping.size * at… in testMemoryMapping() 442 VK_CHECK(vkd.flushMappedMemoryRanges(device, (deUint32)ranges.size(), &ranges[0])); in testMemoryMapping() 448 vkd.unmapMemory(device, *memory); in testMemoryMapping() 449 …VK_CHECK(vkd.mapMemory(device, *memory, config.mapping.offset * atomSize, config.mapping.size * at… in testMemoryMapping() 474 VK_CHECK(vkd.invalidateMappedMemoryRanges(device, (deUint32)ranges.size(), &ranges[0])); in testMemoryMapping() 480 vkd.unmapMemory(device, *memory); in testMemoryMapping() 608 MemoryObject (const DeviceInterface& vkd, 616 MemoryMapping* mapRandom (const DeviceInterface& vkd, VkDevice device, de::Random& rng); [all …]
|
D | vktMemoryAllocationTests.cpp | 115 const DeviceInterface& vkd = m_context.getDeviceInterface(); in iterate() local 168 …VK_CHECK(vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &memoryObjects[… in iterate() 179 vkd.freeMemory(device, mem, (const VkAllocationCallbacks*)DE_NULL); in iterate() 189 vkd.freeMemory(device, mem, (const VkAllocationCallbacks*)DE_NULL); in iterate() 206 …VK_CHECK(vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &memoryObjects[… in iterate() 209 vkd.freeMemory(device, memoryObjects[ndx], (const VkAllocationCallbacks*)DE_NULL); in iterate() 222 vkd.freeMemory(device, mem, (const VkAllocationCallbacks*)DE_NULL); in iterate() 358 const DeviceInterface& vkd = m_context.getDeviceInterface(); in ~RandomAllocFreeTestInstance() local 367 vkd.freeMemory(device, heap.objects[objectNdx].memory, (const VkAllocationCallbacks*)DE_NULL); in ~RandomAllocFreeTestInstance() 375 const DeviceInterface& vkd = m_context.getDeviceInterface(); in iterate() local [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 45 …HostPtr (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset,… 57 void* mapMemory (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offs… in mapMemory() argument 60 VK_CHECK(vkd.mapMemory(device, mem, offset, size, flags, &hostPtr)); in mapMemory() 65 HostPtr::HostPtr (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize … in HostPtr() argument 66 : m_vkd (vkd) in HostPtr() 69 , m_ptr (mapMemory(vkd, device, memory, offset, size, flags)) in HostPtr() 213 void flushMappedMemoryRange (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, Vk… in flushMappedMemoryRange() argument 224 VK_CHECK(vkd.flushMappedMemoryRanges(device, 1u, &range)); in flushMappedMemoryRange() 227 void invalidateMappedMemoryRange (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memor… in invalidateMappedMemoryRange() argument 238 VK_CHECK(vkd.invalidateMappedMemoryRanges(device, 1u, &range)); in invalidateMappedMemoryRange()
|
D | vkMemUtil.hpp | 136 void flushMappedMemoryRange (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, V… 137 void invalidateMappedMemoryRange (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memor…
|
D | vkWsiUtil.cpp | 313 std::vector<VkImage> getSwapchainImages (const DeviceInterface& vkd, in getSwapchainImages() argument 319 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, DE_NULL)); in getSwapchainImages() 325 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, &images[0])); in getSwapchainImages()
|
D | vkWsiUtil.hpp | 97 std::vector<VkImage> getSwapchainImages (const DeviceInterface& vkd,
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 1291 const vk::DeviceInterface& vkd = context.getDeviceInterface(); in allocateAndBindMemory() local 1292 …const vk::VkMemoryRequirements bufReqs = vk::getBufferMemoryRequirements(vkd, context.getDevice(),… in allocateAndBindMemory() 1295 vkd.bindBufferMemory(context.getDevice(), buffer, memory->getMemory(), memory->getOffset()); in allocateAndBindMemory() 1302 const vk::DeviceInterface& vkd = context.getDeviceInterface(); in allocateAndBindMemory() local 1303 …const vk::VkMemoryRequirements imgReqs = vk::getImageMemoryRequirements(vkd, context.getDevice(), … in allocateAndBindMemory() 1306 vkd.bindImageMemory(context.getDevice(), image, memory->getMemory(), memory->getOffset()); in allocateAndBindMemory() 1423 const vk::DeviceInterface& vkd = context.getDeviceInterface(); in ShaderCaseInstance() local 1461 .update(vkd, m_context.getDevice()); in ShaderCaseInstance() 1476 .update(vkd, m_context.getDevice()); in ShaderCaseInstance() 1490 VK_CHECK(vkd.beginCommandBuffer(*m_cmdBuffer, &beginInfo)); in ShaderCaseInstance() [all …]
|
D | vktSynchronization.cpp | 157 void createVulkanBuffer (const DeviceInterface& vkd, VkDevice device, Allocator& allocator, const B… in createVulkanBuffer() argument 171 buffer.buffer = createBuffer(vkd, device, &bufferCreateParams); in createVulkanBuffer() 172 …buffer.allocation = allocator.allocate(getBufferMemoryRequirements(vkd, device, *buffer.buffer), v… in createVulkanBuffer() 174 …VK_CHECK(vkd.bindBufferMemory(device, *buffer.buffer, buffer.allocation->getMemory(), buffer.alloc… in createVulkanBuffer() 192 VK_CHECK(vkd.flushMappedMemoryRanges(device, 1, &range)); in createVulkanBuffer() 229 void createVulkanImage (const DeviceInterface& vkd, VkDevice device, Allocator& allocator, const Im… in createVulkanImage() argument 254 image.image = createImage(vkd, device, &imageCreateParams); in createVulkanImage() 255 …image.allocation = allocator.allocate(getImageMemoryRequirements(vkd, device, *image.image), visib… in createVulkanImage() 257 …VK_CHECK(vkd.bindImageMemory(device, *image.image, image.allocation->getMemory(), image.allocation… in createVulkanImage() 280 image.imageView = createImageView(vkd, device, &imageViewCreateInfo); in createVulkanImage() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiObjectManagementTests.cpp | 229 const DeviceInterface& vkd; member 238 , vkd (context.getDeviceInterface()) in Environment() 255 , vkd (vkd_) in Environment() 602 return allocateMemory(env.vkd, env.device, &allocInfo, env.allocationCallbacks); in create() 613 return getDeviceMemoryParameters(getImageMemoryRequirements(env.vkd, env.device, image)); in getDeviceMemoryParameters() 618 return getDeviceMemoryParameters(getBufferMemoryRequirements(env.vkd, env.device, image)); in getDeviceMemoryParameters() 647 const VkMemoryRequirements memReqs = getBufferMemoryRequirements(env.vkd, env.device, *buffer); in getMaxConcurrent() 669 return createBuffer(env.vkd, env.device, &bufferInfo, env.allocationCallbacks); in create() 704 VK_CHECK(env.vkd.bindBufferMemory(env.device, *buffer.object, *memory.object, 0)); in Resources() 726 return createBufferView(env.vkd, env.device, &bufferViewInfo, env.allocationCallbacks); in create() [all …]
|
D | vktApiCommandBuffersTests.cpp | 2070 const DeviceInterface& vkd = context.getDeviceInterface(); in renderPassContinueTest() local 2095 vkd.cmdClearAttachments(secondaryCommandBuffer, 1, &clearAttachment, 1, &clearRect); in renderPassContinueTest() 2096 VK_CHECK(vkd.endCommandBuffer(secondaryCommandBuffer)); in renderPassContinueTest() 2101 vkd.cmdExecuteCommands(primaryCommandBuffer, 1, &secondaryCommandBuffer); in renderPassContinueTest() 2102 vkd.cmdEndRenderPass(primaryCommandBuffer); in renderPassContinueTest() 2104 VK_CHECK(vkd.endCommandBuffer(primaryCommandBuffer)); in renderPassContinueTest()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 1179 const vk::DeviceInterface& vkd = context.getDeviceInterface(); in allocateAndBindMemory() local 1180 …const vk::VkMemoryRequirements bufReqs = vk::getBufferMemoryRequirements(vkd, context.getDevice(),… in allocateAndBindMemory() 1183 vkd.bindBufferMemory(context.getDevice(), buffer, memory->getMemory(), memory->getOffset()); in allocateAndBindMemory() 1190 const vk::DeviceInterface& vkd = context.getDeviceInterface(); in allocateAndBindMemory() local 1191 …const vk::VkMemoryRequirements imgReqs = vk::getImageMemoryRequirements(vkd, context.getDevice(),… in allocateAndBindMemory() 1194 vkd.bindImageMemory(context.getDevice(), image, memory->getMemory(), memory->getOffset()); in allocateAndBindMemory()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1755 const vk::DeviceInterface& vkd = context.getDeviceInterface(); in allocateAndBindMemory() local 1756 …const vk::VkMemoryRequirements bufReqs = vk::getBufferMemoryRequirements(vkd, context.getDevice(),… in allocateAndBindMemory() 1759 vkd.bindBufferMemory(context.getDevice(), buffer, memory->getMemory(), memory->getOffset()); in allocateAndBindMemory()
|