/external/deqp/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 484 const VkDevice vkDevice = context.getDevice(); local 488 createCommandPool(vk, vkDevice, 0u, queueFamilyIndex); 495 const VkDevice vkDevice = context.getDevice(); local 508 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks); 515 const VkDevice vkDevice = context.getDevice(); local 527 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); 534 const VkDevice vkDevice = context.getDevice(); local 546 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); 553 const VkDevice vkDevice = context.getDevice(); local 565 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, 574 const VkDevice vkDevice = context.getDevice(); local 644 const VkDevice vkDevice = context.getDevice(); local 695 const VkDevice vkDevice = context.getDevice(); local 725 const VkDevice vkDevice = context.getDevice(); local 769 const VkDevice vkDevice = context.getDevice(); local 799 const VkDevice vkDevice = context.getDevice(); local 843 const VkDevice vkDevice = context.getDevice(); local 924 const VkDevice vkDevice = context.getDevice(); local 1015 const VkDevice vkDevice = context.getDevice(); local 1120 const VkDevice vkDevice = context.getDevice(); local 1151 createCommadBuffers(const DeviceInterface& vk, const VkDevice vkDevice, deUint32 bufferCount, VkCommandPool pool, const VkCommandBufferLevel cmdBufferLevel, VkCommandBuffer* pCommandBuffers) argument 1204 const VkDevice vkDevice = context.getDevice(); local 1230 const VkDevice vkDevice = context.getDevice(); local 1312 const VkDevice vkDevice = context.getDevice(); local 1361 const VkDevice vkDevice = context.getDevice(); local 1447 const VkDevice vkDevice = context.getDevice(); local 1507 const VkDevice vkDevice = context.getDevice(); local 1595 const VkDevice vkDevice = context.getDevice(); local 1690 const VkDevice vkDevice = context.getDevice(); local 1854 const VkDevice vkDevice = context.getDevice(); local 1961 const VkDevice vkDevice = context.getDevice(); local 2191 const VkDevice vkDevice = context.getDevice(); local 2290 const VkDevice vkDevice = context.getDevice(); local 2425 const VkDevice vkDevice = context.getDevice(); local 2592 const VkDevice vkDevice = context.getDevice(); local 2770 const VkDevice vkDevice = context.getDevice(); local 2865 const VkDevice vkDevice = context.getDevice(); local 2961 const VkDevice vkDevice = context.getDevice(); local 3058 const VkDevice vkDevice = context.getDevice(); local 3151 const VkDevice vkDevice = context.getDevice(); local 3259 const VkDevice vkDevice = context.getDevice(); local 3397 const VkDevice vkDevice = context.getDevice(); local 3539 const VkDevice vkDevice = context.getDevice(); local 3648 const VkDevice vkDevice = context.getDevice(); local 3768 const VkDevice vkDevice = context.getDevice(); local [all...] |
H A D | vktApiBufferAndImageAllocationUtil.cpp | 49 const VkDevice vkDevice = context.getDevice(); local 64 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); 65 memory = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), requirement); 66 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), 0)); 86 const VkDevice vkDevice = context.getDevice(); local 103 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); 104 memory = allocateDedicated(vkInstance, vk, vkPhysicalDevice, vkDevice, buffer.get(), requirement); 105 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), memory->getOffset())); 116 const VkDevice vkDevice = context.getDevice(); local 139 image = createImage(vk, vkDevice, 161 const VkDevice vkDevice = context.getDevice(); local [all...] |
H A D | vktApiSmokeTests.cpp | 64 const VkDevice vkDevice = context.getDevice(); local 90 Move<VkSampler> tmpSampler = createSampler(vk, vkDevice, &samplerInfo); 111 const VkDevice vkDevice = context.getDevice(); local 113 const Unique<VkShaderModule> shader (createShaderModule(vk, vkDevice, context.getBinaryCollection().get("test"), 0)); 332 const VkDevice vkDevice = context.getDevice(); local 336 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 359 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams)); 360 const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); 362 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBufferMemory->getOffset())); 376 const Unique<VkBuffer> readImageBuffer (createBuffer(vk, vkDevice, 944 const VkDevice vkDevice = context.getDevice(); local [all...] |
H A D | vktApiBufferViewCreateTests.cpp | 136 const VkDevice vkDevice = context.getDevice(); local 154 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); 161 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); 180 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); 187 if (vk.bindBufferMemory(vkDevice, *testBuffer, *memory, 0) != VK_SUCCESS) 205 const VkDevice vkDevice = context.getDevice(); local 238 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); 252 vk.getBufferMemoryRequirements2(vkDevice, &info, &memReqs); 273 vk.getBufferMemoryRequirements2(vkDevice, &info, &memReqs); // get the proper size requirement 303 result = vk.allocateMemory(vkDevice, 320 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktApiBufferTests.cpp | 307 const VkDevice vkDevice = getDevice(); local 337 buffer = createBuffer(vk, vkDevice, &bufferParams); 338 vk.getBufferMemoryRequirements(vkDevice, *buffer, &memReqs); 369 result = vk.createBuffer(vkDevice, &bufferParams, (vk::VkAllocationCallbacks*)DE_NULL, &rawBuffer); 383 buffer = Move<VkBuffer>(check<VkBuffer>(rawBuffer), Deleter<VkBuffer>(vk, vkDevice, DE_NULL)); 386 vk.getBufferMemoryRequirements(vkDevice, *buffer, &memReqs); // get the proper size requirement 409 result = vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); 423 memory = Move<VkDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevice, DE_NULL)); 431 const VkQueue queue = getDeviceQueue(vk, vkDevice, queueFamilyIndex, 0); 466 const vk::Unique<vk::VkFence> fence (vk::createFence(vk, vkDevice)); 517 const VkDevice vkDevice = getDevice(); local [all...] |
H A D | vktApiFillBufferTests.cpp | 111 const VkDevice vkDevice = context.getDevice(); local 116 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); 119 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); 122 m_fence = createFence(vk, vkDevice); 139 const VkDevice vkDevice = m_context.getDevice(); local 181 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get())); 183 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity */)); 187 invalidateMappedMemoryRange(vk, vkDevice, m_destinationBufferAlloc->getMemory(), m_destinationBufferAlloc->getOffset(), m_params.dstOffset); 215 const VkDevice vkDevice = m_context.getDevice(); local 220 flushMappedMemoryRange(vk, vkDevice, bufferAllo 304 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktApiBufferViewAccessTests.cpp | 163 const VkDevice vkDevice = context.getDevice(); local 165 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 202 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 253 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 276 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 303 m_descriptorSetLayout = createDescriptorSetLayout(vk, vkDevice, &descriptorLayoutParams); 313 flushMappedMemoryRange(vk, vkDevice, m_uniformBufferAlloc->getMemory(), m_uniformBufferAlloc->getOffset(), uniformSize); 326 m_uniformBufferView = createBufferView(vk, vkDevice, &viewInfo); 347 m_descriptorPool = createDescriptorPool(vk, vkDevice, &descriptorPoolParams); 358 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, 727 const VkDevice vkDevice = m_context.getDevice(); local 754 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktApiCopiesAndBlittingTests.cpp | 323 const VkDevice vkDevice = context.getDevice(); local 333 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex); 336 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); 339 m_fence = createFence(vk, vkDevice); 426 const VkDevice vkDevice = m_context.getDevice(); local 431 flushMappedMemoryRange(vk, vkDevice, bufferAlloc.getMemory(), bufferAlloc.getOffset(), bufferSize); 439 const VkDevice vkDevice = m_context.getDevice(); local 464 buffer = createBuffer(vk, vkDevice, &bufferParams); 465 bufferAlloc = allocateBuffer(vki, vk, vkPhysDevice, vkDevice, *buffer, MemoryRequirement::HostVisible, memAlloc, m_params.allocationKind); 466 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffe 857 const VkDevice vkDevice = context.getDevice(); local 963 const VkDevice vkDevice = m_context.getDevice(); local 1209 const VkDevice vkDevice = context.getDevice(); local 1268 const VkDevice vkDevice = m_context.getDevice(); local 1380 const VkDevice vkDevice = context.getDevice(); local 1447 const VkDevice vkDevice = m_context.getDevice(); local 1588 const VkDevice vkDevice = context.getDevice(); local 1656 const VkDevice vkDevice = m_context.getDevice(); local 1787 const VkDevice vkDevice = context.getDevice(); local 1907 const VkDevice vkDevice = m_context.getDevice(); local 2652 const VkDevice vkDevice = context.getDevice(); local 2796 const VkDevice vkDevice = m_context.getDevice(); local 3306 const VkDevice vkDevice = context.getDevice(); local 3844 const VkDevice vkDevice = m_context.getDevice(); local 3968 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelinePushConstantTests.cpp | 605 const VkDevice vkDevice = context.getDevice(); local 607 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 634 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 637 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 638 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 655 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 717 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 740 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 755 m_descriptorSetLayout = DescriptorSetLayoutBuilder().addSingleBinding(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_SHADER_STAGE_VERTEX_BIT).build(vk, vkDevice); 758 m_descriptorPool = DescriptorPoolBuilder().addType(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1u).build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BI 1210 const VkDevice vkDevice = m_context.getDevice(); local 1286 const VkDevice vkDevice = m_context.getDevice(); local 1396 const VkDevice vkDevice = context.getDevice(); local 1533 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineCacheTests.cpp | 190 const VkDevice vkDevice = m_context.getDevice(); local 205 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); 222 const VkDevice vkDevice = m_context.getDevice(); local 419 return createGraphicsPipeline(vk, vkDevice, cache, &graphicsPipelineParams); 440 const VkDevice vkDevice = context.getDevice(); local 455 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); 457 *pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); 458 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); 472 const VkDevice vkDevice = context.getDevice(); local 494 Move<VkImage> image = createImage(vk, vkDevice, 549 const VkDevice vkDevice = m_context.getDevice(); local 583 const VkDevice vkDevice = m_context.getDevice(); local 778 const VkDevice vkDevice = m_context.getDevice(); local 1131 const VkDevice vkDevice = m_context.getDevice(); local 1238 const VkDevice vkDevice = m_context.getDevice(); local 1267 const VkDevice vkDevice = m_context.getDevice(); local 1312 const VkDevice vkDevice = m_context.getDevice(); local 1329 const VkDevice vkDevice = m_context.getDevice(); local 1418 const VkDevice vkDevice = m_context.getDevice(); local 1479 const VkDevice vkDevice = m_context.getDevice(); local 1543 const VkDevice vkDevice = m_context.getDevice(); local 1614 const VkDevice vkDevice = m_context.getDevice(); local 1703 const VkDevice vkDevice = m_context.getDevice(); local 1776 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineDepthTests.cpp | 231 const VkDevice vkDevice = context.getDevice(); local 233 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 260 m_colorImage = createImage(vk, vkDevice, &colorImageParams); 263 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 264 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 292 m_depthImage = createImage(vk, vkDevice, &depthImageParams); 295 m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), MemoryRequirement::Any); 296 VK_CHECK(vk.bindImageMemory(vkDevice, *m_depthImage, m_depthImageAlloc->getMemory(), m_depthImageAlloc->getOffset())); 317 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 334 m_depthAttachmentView = createImageView(vk, vkDevice, 792 const VkDevice vkDevice = m_context.getDevice(); local 843 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineStencilTests.cpp | 317 const VkDevice vkDevice = context.getDevice(); local 319 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 344 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 347 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 348 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 376 m_stencilImage = createImage(vk, vkDevice, &stencilImageParams); 379 m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage), MemoryRequirement::Any); 380 VK_CHECK(vk.bindImageMemory(vkDevice, *m_stencilImage, m_stencilImageAlloc->getMemory(), m_stencilImageAlloc->getOffset())); 401 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 418 m_stencilAttachmentView = createImageView(vk, vkDevice, 877 const VkDevice vkDevice = m_context.getDevice(); local 961 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineTimestampTests.cpp | 339 const VkDevice vkDevice = m_context.getDevice(); 354 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); 371 const VkDevice vkDevice = m_context.getDevice(); 386 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 585 return createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams); 677 const VkDevice vkDevice = context.getDevice(); local 702 m_queryPool = createQueryPool(vk, vkDevice, &queryPoolParams); 706 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); 709 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); 720 m_fence = createFence(vk, vkDevice, [all...] |
H A D | vktPipelineBlendTests.cpp | 303 const VkDevice vkDevice = m_context.getDevice(); local 305 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 335 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 338 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 339 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 356 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 407 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 425 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 441 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 444 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_contex 769 const VkDevice vkDevice = m_context.getDevice(); local 1033 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineInputAssemblyTests.cpp | 923 const VkDevice vkDevice = context.getDevice(); local 925 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 969 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 972 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 973 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 990 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 1041 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 1059 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 1075 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 1078 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_contex 1428 const VkDevice vkDevice = m_context.getDevice(); local 1505 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineMultisampleTests.cpp | 1620 const VkDevice vkDevice = context.getDevice(); local 1622 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 1650 m_colorImage = createImage(vk, vkDevice, &colorImageParams); 1653 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 1654 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 1680 m_resolveImage = createImage(vk, vkDevice, &resolveImageParams); 1683 m_resolveImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_resolveImage), MemoryRequirement::Any); 1684 VK_CHECK(vk.bindImageMemory(vkDevice, *m_resolveImage, m_resolveImageAlloc->getMemory(), m_resolveImageAlloc->getOffset())); 1700 m_resolveAttachmentView = createImageView(vk, vkDevice, &resolveAttachmentViewParams); 1734 image.m_image = createImage(vk, vkDevice, 2722 const VkDevice vkDevice = m_context.getDevice(); local 2756 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineImageSamplingInstance.cpp | 218 const VkDevice vkDevice = context.getDevice(); local 221 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 317 m_images[imgNdx] = SharedImagePtr(new UniqueImage(createImage(vk, vkDevice, &imageParams))); 318 m_imageAllocs[imgNdx] = SharedAllocPtr(new UniqueAlloc(allocateImage(vki, vk, physDevice, vkDevice, **m_images[imgNdx], MemoryRequirement::Any, memAlloc, m_allocationKind))); 319 VK_CHECK(vk.bindImageMemory(vkDevice, **m_images[imgNdx], (*m_imageAllocs[imgNdx])->getMemory(), (*m_imageAllocs[imgNdx])->getOffset())); 322 uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, **m_images[imgNdx]); 337 m_imageViews[imgNdx] = SharedImageViewPtr(new UniqueImageView(createImageView(vk, vkDevice, &imageViewParams))); 340 m_sampler = createSampler(vk, vkDevice, &m_samplerParams); 349 m_descriptorPool = descriptorPoolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 356 m_descriptorSetLayout = setLayoutBuilder.build(vk, vkDevice); 846 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineVertexInputTests.cpp | 792 const VkDevice vkDevice = context.getDevice(); local 794 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 828 m_colorImage = createImage(vk, vkDevice, &colorImageParams); 831 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 832 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 849 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 900 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 918 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 934 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 937 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_contex 1267 const VkDevice vkDevice = m_context.getDevice(); local 1455 const VkDevice vkDevice = m_context.getDevice(); local 1530 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryBindingTests.cpp | 441 const VkDevice vkDevice = ctx.getDevice(); local 448 targets.push_back(BufferPtr(new Move<VkBuffer>(createBuffer(vk, vkDevice, &bufferParams)))); 458 const VkDevice vkDevice = ctx.getDevice(); local 465 targets.push_back(ImagePtr(new Move<VkImage>(createImage(vk, vkDevice, &imageParams)))); 485 const VkDevice vkDevice = ctx.getDevice(); local 492 vk.getBufferMemoryRequirements(vkDevice, **targets[i], &memReqs); 497 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); 498 memory.push_back(MemoryRegionPtr(new Move<VkDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevice, DE_NULL)))); 511 const VkDevice vkDevice = ctx.getDevice(); local 517 vk.getImageMemoryRequirements(vkDevice, **target 536 const VkDevice vkDevice = ctx.getDevice(); local 563 const VkDevice vkDevice = ctx.getDevice(); local 595 const VkDevice vkDevice = ctx.getDevice(); local 615 const VkDevice vkDevice = ctx.getDevice(); local 640 const VkDevice vkDevice = ctx.getDevice(); local 671 const VkDevice vkDevice = ctx.getDevice(); local 732 const VkDevice vkDevice = ctx.getDevice(); local 777 const VkDevice vkDevice = ctx.getDevice(); local 798 const VkDevice vkDevice = ctx.getDevice(); local 816 const VkDevice vkDevice = ctx.getDevice(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureTestUtil.cpp | 303 const VkDevice vkDevice = m_context.getDevice(); local 368 m_textureImage = createImage(vkd, vkDevice, &imageParams); 369 m_textureImageMemory = allocator.allocate(getImageMemoryRequirements(vkd, vkDevice, *m_textureImage), MemoryRequirement::Any); 370 VK_CHECK(vkd.bindImageMemory(vkDevice, *m_textureImage, m_textureImageMemory->getMemory(), m_textureImageMemory->getOffset())); 374 pipeline::uploadTestTexture(vkd, vkDevice, queue, queueFamilyIndex, allocator, *m_textureData, *m_textureImage); 380 const VkDevice vkDevice = m_context.getDevice(); local 404 m_textureImageView = createImageView(vkd, vkDevice, &viewParams); 427 const VkDevice vkDevice = m_context.getDevice(); local 432 m_commandPool = createCommandPool(vkd, vkDevice, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex); 474 m_image = vk::createImage(vkd, vkDevice, 752 const VkDevice vkDevice = m_context.getDevice(); local 895 const VkDevice vkDevice = m_context.getDevice(); local 965 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmGraphicsShaderTestUtil.cpp | 332 const VkDevice vkDevice, 340 const ModuleHandleSp mod(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, context.getBinaryCollection().get(moduleNdx->first), 0))); 2220 Move<VkBuffer> createBufferForResource(const DeviceInterface& vk, const VkDevice vkDevice, const Resource& resource, deUint32 queueFamilyIndex) argument 2237 return createBuffer(vk, vkDevice, &resourceBufferParams); 2333 const Unique<VkDevice> vkDevice (createDeviceWithExtensions(context, queueFamilyIndex, context.getDeviceExtensions(), instance.requiredDeviceExtensions)); 2334 const DeviceDriver vk (vkInstance, *vkDevice); 2335 const VkQueue queue = getDeviceQueue(vk, *vkDevice, queueFamilyIndex, 0); 2336 const de::UniquePtr<Allocator> allocatorUptr (createAllocator(vkInstance, vkPhysicalDevice, vk, *vkDevice)); 2388 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, *vkDevice, &vertexBufferParams)); 2389 const UniquePtr<Allocation> vertexBufferMemory (allocator.allocate(getBufferMemoryRequirements(vk, *vkDevice, *vertexBuffe 331 createPipelineShaderStages(const DeviceInterface& vk, const VkDevice vkDevice, InstanceContext& instance, Context& context, vector<ModuleHandleSp>& modules, vector<VkPipelineShaderStageCreateInfo>& createInfos) argument [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.cpp | 611 const VkDevice vkDevice = m_context.getDevice(); local 628 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); 629 de::MovePtr<Allocation> alloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); 631 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); 634 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), inputSize); 733 const VkDevice vkDevice = m_context.getDevice(); local 771 Unique<VkDescriptorSetLayout> emptyDescriptorSetLayout (createEmptyDescriptorSetLayout(vk, vkDevice)); 772 Unique<VkDescriptorPool> dummyDescriptorPool (createDummyDescriptorPool(vk, vkDevice)); 773 Unique<VkDescriptorSet> emptyDescriptorSet (allocateSingleDescriptorSet(vk, vkDevice, *dummyDescriptorPool, *emptyDescriptorSetLayout)); 840 Move<VkImage> colorImage = createImage(vk, vkDevice, 1754 const VkDevice vkDevice = m_context.getDevice(); local 1777 const VkDevice vkDevice = m_context.getDevice(); local 1806 const VkDevice vkDevice = m_context.getDevice(); local 1907 const VkDevice vkDevice = m_context.getDevice(); local 2142 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 793 const VkDevice vkDevice = getDevice(); 809 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams); 810 de::MovePtr<Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); 811 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); 814 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), size); 863 const VkDevice vkDevice = getDevice(); local 880 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); 881 de::MovePtr<vk::Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); 882 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); 885 flushMappedMemoryRange(vk, vkDevice, allo 1041 const VkDevice vkDevice = getDevice(); local 1234 const VkDevice vkDevice = m_context.getDevice(); local 1423 const VkDevice vkDevice = getDevice(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeTestsUtil.cpp | 173 const VkDevice vkDevice, 189 return createBufferView(vk, vkDevice, &bufferViewParams); 193 const VkDevice vkDevice, 210 return createImageView(vk, vkDevice, &imageViewParams); 172 makeBufferView(const DeviceInterface& vk, const VkDevice vkDevice, const VkBuffer buffer, const VkFormat format, const VkDeviceSize offset, const VkDeviceSize size) argument 192 makeImageView(const DeviceInterface& vk, const VkDevice vkDevice, const VkImage image, const VkImageViewType imageViewType, const VkFormat format, const VkImageSubresourceRange subresourceRange) argument
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
H A D | vktBasicDrawTests.cpp | 754 const vk::VkDevice vkDevice = m_context.getDevice(); local 783 indexBuffer = createBuffer(vk, vkDevice, &bufferCreateInfo); 787 indexAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indexBuffer), vk::MemoryRequirement::HostVisible); 788 VK_CHECK(vk.bindBufferMemory(vkDevice, *indexBuffer, indexAlloc->getMemory(), indexAlloc->getOffset())); 792 vk::flushMappedMemoryRange(m_vk, vkDevice, indexAlloc->getMemory(), indexAlloc->getOffset(), bufferSize); 882 const vk::VkDevice vkDevice = m_context.getDevice(); local 914 indirectBuffer = createBuffer(vk, vkDevice, &indirectCreateInfo); 915 indirectAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indirectBuffer), vk::MemoryRequirement::HostVisible); 916 VK_CHECK(vk.bindBufferMemory(vkDevice, *indirectBuffer, indirectAlloc->getMemory(), indirectAlloc->getOffset())); 920 vk::flushMappedMemoryRange(m_vk, vkDevice, indirectAllo 1047 const vk::VkDevice vkDevice = m_context.getDevice(); local [all...] |