Lines Matching defs:device

357 	const VkDevice					device				= m_context.getDevice();
401 validationBuffer = createBuffer(vk, device, &validationBufferCreateInfo);
402 validationAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *validationBuffer), MemoryRequirement::HostVisible);
403 VK_CHECK(vk.bindBufferMemory(device, *validationBuffer, validationAlloc->getMemory(), validationAlloc->getOffset()));
426 depthResolveImage = createImage(vk, device, &depthResolveImageCreateInfo, DE_NULL);
427 depthResolveAllocation = allocator.allocate(getImageMemoryRequirements(vk, device, *depthResolveImage), MemoryRequirement::Any);
428 VK_CHECK(vk.bindImageMemory(device, *depthResolveImage, depthResolveAllocation->getMemory(), depthResolveAllocation->getOffset()));
442 depthResolveImageView = createImageView(vk, device, &depthResolveImageViewCreateInfo, DE_NULL);
461 markerBuffer = createBuffer(vk, device, &markerBufferCreateInfo, DE_NULL);
462 markerBufferAllocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *markerBuffer), MemoryRequirement::HostVisible);
463 VK_CHECK(vk.bindBufferMemory(device, *markerBuffer, markerBufferAllocation->getMemory(), markerBufferAllocation->getOffset()));
486 markerImage = createImage(vk, device, &markerImageCreateInfo, DE_NULL);
487 markerImageAllocation = allocator.allocate(getImageMemoryRequirements(vk, device, *markerImage), MemoryRequirement::Any);
488 VK_CHECK(vk.bindImageMemory(device, *markerImage, markerImageAllocation->getMemory(), markerImageAllocation->getOffset()));
502 markerImageView = createImageView(vk, device, &markerViewCreateInfo, DE_NULL);
520 controlBuffer = createBuffer(vk, device, &controlBufferCreateInfo, DE_NULL);
521 controlBufferAllocation = allocator.allocate( getBufferMemoryRequirements(vk, device, *controlBuffer), MemoryRequirement::HostVisible);
522 VK_CHECK(vk.bindBufferMemory(device, *controlBuffer, controlBufferAllocation->getMemory(), controlBufferAllocation->getOffset()));
543 VK_CHECK(vk.flushMappedMemoryRanges(device, 1u, &range));
572 depthImage = createImage(vk, device, &depthImageCreateInfo, DE_NULL);
573 depthImageAllocation = allocator.allocate(getImageMemoryRequirements(vk, device, *depthImage), MemoryRequirement::Any);
574 VK_CHECK(vk.bindImageMemory(device, *depthImage, depthImageAllocation->getMemory(), depthImageAllocation->getOffset()));
587 depthImageView = createImageView(vk, device, &imageViewParams);
611 depthSampler = createSampler(vk, device, &depthSamplerCreateInfo, DE_NULL);
624 cmdPool = createCommandPool(vk, device, &cmdPoolCreateInfo);
638 transferCmdBuffer = allocateCommandBuffer(vk, device, &cmdBufferAllocInfo);
707 submitCommandsAndWait(vk, device, queue, transferCmdBuffer.get());
708 m_context.resetCommandPoolForVKSC(device, *cmdPool);
725 descriptorSetLayout = layoutBuilder.build(vk, device);
729 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u);
740 descriptorSet = allocateDescriptorSet(vk, device, &descriptorSetAllocInfo);
759 .update(vk, device);
851 submitCommandsAndWait(vk, device, queue, transferCmdBuffer.get());
852 m_context.resetCommandPoolForVKSC(device, *cmdPool);
868 descriptorSetLayout = layoutBuilder.build(vk, device);
872 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u);
883 descriptorSet = allocateDescriptorSet(vk, device, &descriptorSetAllocInfo);
902 .update(vk, device);
934 submitCommandsAndWait(vk, device, queue, transferCmdBuffer.get());
935 m_context.resetCommandPoolForVKSC(device, *cmdPool);
946 submitCommandsAndWait(vk, device, queue, transferCmdBuffer.get());
947 m_context.resetCommandPoolForVKSC(device, *cmdPool);
949 invalidateMappedMemoryRange(vk, device, validationAlloc->getMemory(), validationAlloc->getOffset(), VK_WHOLE_SIZE);
950 invalidateMappedMemoryRange(vk, device, markerBufferAllocation->getMemory(), markerBufferAllocation->getOffset(), VK_WHOLE_SIZE);
1080 const VkDevice device = m_context.getDevice();
1119 outputImage = createImage(vk, device, &outputImageCreateInfo, DE_NULL);
1120 outputImageAllocation = allocator.allocate(getImageMemoryRequirements(vk, device, *outputImage), MemoryRequirement::Any);
1121 vk.bindImageMemory(device, *outputImage, outputImageAllocation->getMemory(), outputImageAllocation->getOffset());
1136 outputImageView = createImageView(vk, device, &outputImageViewCreateInfo);
1154 sampleLocationBuffer = createBuffer(vk, device, &sampleLocationBufferCreateInfo, DE_NULL);
1155 sampleLocationBufferAllocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *sampleLocationBuffer), MemoryRequirement::HostVisible);
1156 vk.bindBufferMemory(device, *sampleLocationBuffer, sampleLocationBufferAllocation->getMemory(), sampleLocationBufferAllocation->getOffset());
1163 descriptorSetLayout = layoutBuilder.build(vk, device);
1166 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u);
1177 descriptorSet = allocateDescriptorSet(vk, device, &descriptorSetAllocInfo);
1188 .update(vk, device);
1201 cmdPool = createCommandPool(vk, device, &cmdPoolCreateInfo);
1215 transferCmdBuffer = allocateCommandBuffer(vk, device, &cmdBufferAllocInfo);
1249 submitCommandsAndWait(vk, device, queue, transferCmdBuffer.get());
1250 m_context.resetCommandPoolForVKSC(device, *cmdPool);
1297 submitCommandsAndWait(vk, device, queue, transferCmdBuffer.get());
1298 m_context.resetCommandPoolForVKSC(device, *cmdPool);
1300 invalidateAlloc(vk, device, *sampleLocationBufferAllocation);