Home
last modified time | relevance | path

Searched refs:vkDevice (Results 1 - 25 of 112) sorted by relevance

12345

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCommandBuffersTests.cpp347 const VkDevice vkDevice = context.getDevice(); in createPoolNullParamsTest() local
351 createCommandPool(vk, vkDevice, 0u, queueFamilyIndex); in createPoolNullParamsTest()
359 const VkDevice vkDevice = context.getDevice(); in createPoolNonNullAllocatorTest() local
372 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks); in createPoolNonNullAllocatorTest()
380 const VkDevice vkDevice = context.getDevice(); in createPoolTransientBitTest() local
392 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolTransientBitTest()
399 const VkDevice vkDevice = context.getDevice(); in createPoolResetBitTest() local
411 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolResetBitTest()
419 const VkDevice vkDevice = context.getDevice(); in resetPoolReleaseResourcesBitTest() local
431 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, in resetPoolReleaseResourcesBitTest()
441 const VkDevice vkDevice = context.getDevice(); resetPoolNoFlagsTest() local
486 const VkDevice vkDevice = context.getDevice(); resetPoolReuseTest() local
544 const VkDevice vkDevice = context.getDevice(); allocatePrimaryBufferTest() local
574 const VkDevice vkDevice = context.getDevice(); allocateManyPrimaryBuffersTest() local
622 const VkDevice vkDevice = context.getDevice(); allocateSecondaryBufferTest() local
652 const VkDevice vkDevice = context.getDevice(); allocateManySecondaryBuffersTest() local
700 const VkDevice vkDevice = context.getDevice(); executePrimaryBufferTest() local
754 const VkDevice vkDevice = context.getDevice(); executeLargePrimaryBufferTest() local
823 const VkDevice vkDevice = context.getDevice(); resetBufferImplicitlyTest() local
903 const VkDevice vkDevice = context.getDevice(); submitAndCheck() local
934 createCommadBuffers(const DeviceInterface& vk, const VkDevice vkDevice, deUint32 bufferCount, VkCommandPool pool, const VkCommandBufferLevel cmdBufferLevel, VkCommandBuffer* pCommandBuffers) createCommadBuffers() argument
987 const VkDevice vkDevice = context.getDevice(); executeSecondaryCmdBuffer() local
1006 const VkDevice vkDevice = context.getDevice(); trimCommandPoolTest() local
1090 const VkDevice vkDevice = context.getDevice(); recordSinglePrimaryBufferTest() local
1130 const VkDevice vkDevice = context.getDevice(); recordLargePrimaryBufferTest() local
1193 const VkDevice vkDevice = context.getDevice(); recordSingleSecondaryBufferTest() local
1252 const VkDevice vkDevice = context.getDevice(); recordLargeSecondaryBufferTest() local
1353 const VkDevice vkDevice = context.getDevice(); submitPrimaryBufferTwiceTest() local
1417 const VkDevice vkDevice = context.getDevice(); submitSecondaryBufferTwiceTest() local
1542 const VkDevice vkDevice = context.getDevice(); oneTimeSubmitFlagPrimaryBufferTest() local
1619 const VkDevice vkDevice = context.getDevice(); oneTimeSubmitFlagSecondaryBufferTest() local
1811 const VkDevice vkDevice = context.getDevice(); simultaneousUseSecondaryBufferOnePrimaryBufferTest() local
2152 const VkDevice vkDevice = context.getDevice(); simultaneousUseSecondaryBufferTwoPrimaryBuffersTest() local
2330 const VkDevice vkDevice = context.getDevice(); recordBufferQueryPreciseWithFlagTest() local
2425 const VkDevice vkDevice = context.getDevice(); recordBufferQueryImpreciseWithFlagTest() local
2520 const VkDevice vkDevice = context.getDevice(); recordBufferQueryImpreciseWithoutFlagTest() local
2616 const VkDevice vkDevice = context.getDevice(); submitBufferCountNonZero() local
2712 const VkDevice vkDevice = context.getDevice(); submitBufferCountEqualZero() local
2822 const VkDevice vkDevice = context.getDevice(); submitBufferWaitSingleSemaphore() local
2960 const VkDevice vkDevice = context.getDevice(); submitBufferWaitManySemaphores() local
3102 const VkDevice vkDevice = context.getDevice(); submitBufferNullFence() local
3211 const VkDevice vkDevice = context.getDevice(); submitTwoBuffersOneBufferNullWithFence() local
3308 const VkDevice vkDevice = context.getDevice(); executeSecondaryBufferTest() local
3409 const VkDevice vkDevice = context.getDevice(); executeSecondaryBufferTwiceTest() local
3831 const VkDevice vkDevice = context.getDevice(); executeStateTransitionTest() local
[all...]
H A DvktApiBufferAndImageAllocationUtil.cpp42 VkDevice vkDevice, in createTestBuffer()
66 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer()
67 memory = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), requirement); in createTestBuffer()
68 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), 0)); in createTestBuffer()
72 VkDevice vkDevice, in createTestBuffer()
101 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer()
102 memory = allocateDedicated(vkInstance, vk, vkPhysicalDevice, vkDevice, buffer.get(), requirement); in createTestBuffer()
103 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), memory->getOffset())); in createTestBuffer()
115 const VkDevice vkDevice = context.getDevice(); in createTestImage() local
139 image = createImage(vk, vkDevice, in createTestImage()
41 createTestBuffer(const DeviceInterface& vk, VkDevice vkDevice, deUint32 queueFamilyIndex, VkDeviceSize size, VkBufferUsageFlags usage, Context& context, Allocator& allocator, Move<VkBuffer>& buffer, const MemoryRequirement& requirement, de::MovePtr<Allocation>& memory) const createTestBuffer() argument
71 createTestBuffer(const DeviceInterface& vk, VkDevice vkDevice, deUint32 queueFamilyIndex, VkDeviceSize size, VkBufferUsageFlags usage, Context& context, Allocator& allocator, Move<VkBuffer>& buffer, const MemoryRequirement& requirement, de::MovePtr<Allocation>& memory) const createTestBuffer() argument
158 const VkDevice vkDevice = context.getDevice(); createTestImage() local
[all...]
H A DvktApiSmokeTests.cpp66 const VkDevice vkDevice = context.getDevice(); in createSamplerTest() local
92 Move<VkSampler> tmpSampler = createSampler(vk, vkDevice, &samplerInfo); in createSamplerTest()
113 const VkDevice vkDevice = context.getDevice(); in createShaderModuleTest() local
115 const Unique<VkShaderModule> shader (createShaderModule(vk, vkDevice, context.getBinaryCollection().get("test"), 0)); in createShaderModuleTest()
334 const VkDevice vkDevice = context.getDevice(); in renderTriangleTest() local
338 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in renderTriangleTest()
361 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams)); in renderTriangleTest()
362 const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); in renderTriangleTest()
364 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBufferMemory->getOffset())); in renderTriangleTest()
378 const Unique<VkBuffer> readImageBuffer (createBuffer(vk, vkDevice, in renderTriangleTest()
595 const VkDevice vkDevice = context.getDevice(); renderTriangleUnusedResolveAttachmentTest() local
[all...]
H A DvktApiBufferViewAccessTests.cpp195 const VkDevice vkDevice = context.getDevice(); in BufferViewTestInstance() local
197 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in BufferViewTestInstance()
213 BufferDedicatedAllocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc); in BufferViewTestInstance()
217 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc); in BufferViewTestInstance()
234 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in BufferViewTestInstance()
238 m_renderPass = makeRenderPass(vk, vkDevice, m_colorFormat); in BufferViewTestInstance()
260 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in BufferViewTestInstance()
287 m_descriptorSetLayout = createDescriptorSetLayout(vk, vkDevice, &descriptorLayoutParams); in BufferViewTestInstance()
295 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, uniformSize, testCase.createUsage, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible, m_uniformBufferAlloc); in BufferViewTestInstance()
297 flushAlloc(vk, vkDevice, *m_uniformBufferAllo in BufferViewTestInstance()
464 const VkDevice vkDevice = m_context.getDevice(); checkResult() local
491 const VkDevice vkDevice = m_context.getDevice(); iterate() local
666 const VkDevice vkDevice = context.getDevice(); BufferViewAllFormatsTestInstance() local
906 const VkDevice vkDevice = m_context.getDevice(); checkResult() local
942 const VkDevice vkDevice = m_context.getDevice(); checkResultFloat() local
978 const VkDevice vkDevice = m_context.getDevice(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiCommandBuffersTests.cpp347 const VkDevice vkDevice = context.getDevice(); in createPoolNullParamsTest() local
351 createCommandPool(vk, vkDevice, 0u, queueFamilyIndex); in createPoolNullParamsTest()
359 const VkDevice vkDevice = context.getDevice(); in createPoolNonNullAllocatorTest() local
372 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks); in createPoolNonNullAllocatorTest()
380 const VkDevice vkDevice = context.getDevice(); in createPoolTransientBitTest() local
392 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolTransientBitTest()
399 const VkDevice vkDevice = context.getDevice(); in createPoolResetBitTest() local
411 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolResetBitTest()
419 const VkDevice vkDevice = context.getDevice(); in resetPoolReleaseResourcesBitTest() local
431 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, in resetPoolReleaseResourcesBitTest()
441 const VkDevice vkDevice = context.getDevice(); resetPoolNoFlagsTest() local
486 const VkDevice vkDevice = context.getDevice(); resetPoolReuseTest() local
544 const VkDevice vkDevice = context.getDevice(); allocatePrimaryBufferTest() local
574 const VkDevice vkDevice = context.getDevice(); allocateManyPrimaryBuffersTest() local
622 const VkDevice vkDevice = context.getDevice(); allocateSecondaryBufferTest() local
652 const VkDevice vkDevice = context.getDevice(); allocateManySecondaryBuffersTest() local
700 const VkDevice vkDevice = context.getDevice(); executePrimaryBufferTest() local
754 const VkDevice vkDevice = context.getDevice(); executeLargePrimaryBufferTest() local
823 const VkDevice vkDevice = context.getDevice(); resetBufferImplicitlyTest() local
903 const VkDevice vkDevice = context.getDevice(); submitAndCheck() local
934 createCommadBuffers(const DeviceInterface& vk, const VkDevice vkDevice, deUint32 bufferCount, VkCommandPool pool, const VkCommandBufferLevel cmdBufferLevel, VkCommandBuffer* pCommandBuffers) createCommadBuffers() argument
987 const VkDevice vkDevice = context.getDevice(); executeSecondaryCmdBuffer() local
1006 const VkDevice vkDevice = context.getDevice(); trimCommandPoolTest() local
1090 const VkDevice vkDevice = context.getDevice(); recordSinglePrimaryBufferTest() local
1130 const VkDevice vkDevice = context.getDevice(); recordLargePrimaryBufferTest() local
1193 const VkDevice vkDevice = context.getDevice(); recordSingleSecondaryBufferTest() local
1252 const VkDevice vkDevice = context.getDevice(); recordLargeSecondaryBufferTest() local
1353 const VkDevice vkDevice = context.getDevice(); submitPrimaryBufferTwiceTest() local
1417 const VkDevice vkDevice = context.getDevice(); submitSecondaryBufferTwiceTest() local
1542 const VkDevice vkDevice = context.getDevice(); oneTimeSubmitFlagPrimaryBufferTest() local
1619 const VkDevice vkDevice = context.getDevice(); oneTimeSubmitFlagSecondaryBufferTest() local
1811 const VkDevice vkDevice = context.getDevice(); simultaneousUseSecondaryBufferOnePrimaryBufferTest() local
2152 const VkDevice vkDevice = context.getDevice(); simultaneousUseSecondaryBufferTwoPrimaryBuffersTest() local
2330 const VkDevice vkDevice = context.getDevice(); recordBufferQueryPreciseWithFlagTest() local
2425 const VkDevice vkDevice = context.getDevice(); recordBufferQueryImpreciseWithFlagTest() local
2520 const VkDevice vkDevice = context.getDevice(); recordBufferQueryImpreciseWithoutFlagTest() local
2616 const VkDevice vkDevice = context.getDevice(); submitBufferCountNonZero() local
2712 const VkDevice vkDevice = context.getDevice(); submitBufferCountEqualZero() local
2822 const VkDevice vkDevice = context.getDevice(); submitBufferWaitSingleSemaphore() local
2960 const VkDevice vkDevice = context.getDevice(); submitBufferWaitManySemaphores() local
3102 const VkDevice vkDevice = context.getDevice(); submitBufferNullFence() local
3211 const VkDevice vkDevice = context.getDevice(); submitTwoBuffersOneBufferNullWithFence() local
3308 const VkDevice vkDevice = context.getDevice(); executeSecondaryBufferTest() local
3409 const VkDevice vkDevice = context.getDevice(); executeSecondaryBufferTwiceTest() local
3831 const VkDevice vkDevice = context.getDevice(); executeStateTransitionTest() local
[all...]
H A DvktApiSmokeTests.cpp66 const VkDevice vkDevice = context.getDevice(); in createSamplerTest() local
92 Move<VkSampler> tmpSampler = createSampler(vk, vkDevice, &samplerInfo); in createSamplerTest()
113 const VkDevice vkDevice = context.getDevice(); in createShaderModuleTest() local
115 const Unique<VkShaderModule> shader (createShaderModule(vk, vkDevice, context.getBinaryCollection().get("test"), 0)); in createShaderModuleTest()
334 const VkDevice vkDevice = context.getDevice(); in renderTriangleTest() local
338 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in renderTriangleTest()
361 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams)); in renderTriangleTest()
362 const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); in renderTriangleTest()
364 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBufferMemory->getOffset())); in renderTriangleTest()
378 const Unique<VkBuffer> readImageBuffer (createBuffer(vk, vkDevice, in renderTriangleTest()
595 const VkDevice vkDevice = context.getDevice(); renderTriangleUnusedResolveAttachmentTest() local
[all...]
H A DvktApiBufferAndImageAllocationUtil.cpp49 const VkDevice vkDevice = context.getDevice(); in createTestBuffer() local
64 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer()
65 memory = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), requirement); in createTestBuffer()
66 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), 0)); in createTestBuffer()
82 const VkDevice vkDevice = context.getDevice(); in createTestBuffer() local
99 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer()
100 memory = allocateDedicated(vkInstance, vk, vkPhysicalDevice, vkDevice, buffer.get(), requirement); in createTestBuffer()
101 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), memory->getOffset())); in createTestBuffer()
113 const VkDevice vkDevice = context.getDevice(); in createTestImage() local
137 image = createImage(vk, vkDevice, in createTestImage()
156 const VkDevice vkDevice = context.getDevice(); createTestImage() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassUnusedAttachmentTests.cpp101 VkDevice vkDevice, in createRenderPass()
227 return renderPassInfo.createRenderPass(vk, vkDevice); in createRenderPass()
252 VkDevice vkDevice);
356 const VkDevice vkDevice = m_context.getDevice(); in UnusedAttachmentTestInstance() local
358 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in UnusedAttachmentTestInstance()
386 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in UnusedAttachmentTestInstance()
389 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); in UnusedAttachmentTestInstance()
390 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); in UnusedAttachmentTestInstance()
415 m_unusedImage = createImage(vk, vkDevice, &unusedImageParams); in UnusedAttachmentTestInstance()
418 VkMemoryRequirements memoryRequirements = getImageMemoryRequirements(vk, vkDevice, *m_unusedImag in UnusedAttachmentTestInstance()
100 createRenderPass(const DeviceInterface& vk, VkDevice vkDevice, const TestParams testParams) createRenderPass() argument
842 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice) createCommandBuffer() argument
888 const VkDevice vkDevice = m_context.getDevice(); iterate() local
899 const VkDevice vkDevice = m_context.getDevice(); verifyImage() local
[all...]
H A DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp98 VkDevice vkDevice);
179 Move<VkRenderPass> createRenderPass (const DeviceInterface& vk, VkDevice vkDevice) in createRenderPass() argument
255 return createRenderPass(vk, vkDevice, &renderPassInfo); in createRenderPass()
274 const VkDevice vkDevice = m_context.getDevice(); in MultipleSubpassesMultipleCommandBuffersTestInstance() local
276 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in MultipleSubpassesMultipleCommandBuffersTestInstance()
301 m_colorImageA = createImage(vk, vkDevice, &colorImageParams); in MultipleSubpassesMultipleCommandBuffersTestInstance()
302 m_colorImageAllocA = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageA), MemoryRequirement::Any); in MultipleSubpassesMultipleCommandBuffersTestInstance()
303 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImageA, m_colorImageAllocA->getMemory(), m_colorImageAllocA->getOffset())); in MultipleSubpassesMultipleCommandBuffersTestInstance()
305 m_colorImageB = createImage(vk, vkDevice, &colorImageParams); in MultipleSubpassesMultipleCommandBuffersTestInstance()
306 m_colorImageAllocB = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage in MultipleSubpassesMultipleCommandBuffersTestInstance()
703 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice) createCommandBuffer() argument
791 const VkDevice vkDevice = m_context.getDevice(); iterate() local
[all...]
H A DvktRenderPassUnusedAttachmentSparseFillingTests.cpp141 VkDevice vkDevice);
145 VkDevice vkDevice);
264 const VkDevice vkDevice = m_context.getDevice(); in InputAttachmentSparseFillingTestInstance() local
266 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in InputAttachmentSparseFillingTestInstance()
304 auto inputImage = safeSharedPtr(new Unique<VkImage>(vk::createImage(vk, vkDevice, &inputImageParams))); in InputAttachmentSparseFillingTestInstance()
306 auto inputImageAlloc = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **inputImage), MemoryRequirement::Any).release()); in InputAttachmentSparseFillingTestInstance()
307 VK_CHECK(vk.bindImageMemory(vkDevice, **inputImage, inputImageAlloc->getMemory(), inputImageAlloc->getOffset())); in InputAttachmentSparseFillingTestInstance()
310 auto inputImageView = safeSharedPtr(new Unique<VkImageView>(createImageView(vk, vkDevice, &inputAttachmentViewParams))); in InputAttachmentSparseFillingTestInstance()
339 m_outputImage = safeSharedPtr(new Unique<VkImage>(vk::createImage(vk, vkDevice, &outputImageParams))); in InputAttachmentSparseFillingTestInstance()
340 m_outputImageMemory = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **m_outputImag in InputAttachmentSparseFillingTestInstance()
567 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice) createCommandBuffer() argument
664 createRenderPass(const DeviceInterface& vk, VkDevice vkDevice) createRenderPass() argument
753 const VkDevice vkDevice = m_context.getDevice(); iterate() local
764 const VkDevice vkDevice = m_context.getDevice(); verifyImage() local
[all...]
H A DvktRenderPassFragmentDensityMapTests.cpp225 VkDevice vkDevice, in createVertexBuffer()
244 vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); in createVertexBuffer()
245 vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); in createVertexBuffer()
246 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in createVertexBuffer()
250 flushAlloc(vk, vkDevice, *vertexAlloc); in createVertexBuffer()
254 VkDevice vkDevice, in prepareImageAndImageView()
290 image = createImage(vk, vkDevice, &imageCreateInfo); in prepareImageAndImageView()
293 imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any); in prepareImageAndImageView()
294 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in prepareImageAndImageView()
309 imageView = createImageView(vk, vkDevice, in prepareImageAndImageView()
224 createVertexBuffer(const DeviceInterface& vk, VkDevice vkDevice, const deUint32& queueFamilyIndex, SimpleAllocator& memAlloc, const std::vector<T>& vertices, Move<VkBuffer>& vertexBuffer, de::MovePtr<Allocation>& vertexAlloc) createVertexBuffer() argument
253 prepareImageAndImageView(const DeviceInterface& vk, VkDevice vkDevice, SimpleAllocator& memAlloc, VkImageCreateFlags imageCreateFlags, VkFormat format, VkExtent3D extent, deUint32 arrayLayers, VkSampleCountFlagBits samples, VkImageUsageFlags usage, deUint32 queueFamilyIndex, VkImageViewCreateFlags viewFlags, VkImageViewType viewType, const VkComponentMapping& channels, const VkImageSubresourceRange& subresourceRange, Move<VkImage>& image, de::MovePtr<Allocation>& imageAlloc, Move<VkImageView>& imageView) prepareImageAndImageView() argument
395 RenderPassWrapper(const DeviceInterface& vk, const VkDevice vkDevice, const TestParams& testParams) RenderPassWrapper() argument
762 createImagelessFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkFramebufferAttachmentImageInfo>& attachmentInfo) createImagelessFrameBuffer() argument
789 createFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkImageView>& imageViews) createFrameBuffer() argument
1492 const VkDevice vkDevice = getDevice(m_context); FragmentDensityMapTestInstance() local
2105 const VkDevice vkDevice = getDevice(m_context); createCommandBufferForRenderpass() local
2321 createCommandBufferForDynamicRendering(const VkRect2D& dynamicDensityMapRenderArea, const VkRect2D& colorImageRenderArea, const VkRect2D& outputRenderArea, const VkDevice& vkDevice) createCommandBufferForDynamicRendering() argument
2754 const VkDevice vkDevice = getDevice(m_context); iterate() local
2783 const VkDevice vkDevice = getDevice(m_context); verifyImage() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassUnusedAttachmentTests.cpp101 VkDevice vkDevice, in createRenderPass()
227 return renderPassInfo.createRenderPass(vk, vkDevice); in createRenderPass()
253 VkDevice vkDevice);
358 const VkDevice vkDevice = m_context.getDevice(); in UnusedAttachmentTestInstance() local
360 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in UnusedAttachmentTestInstance()
388 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in UnusedAttachmentTestInstance()
391 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); in UnusedAttachmentTestInstance()
392 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); in UnusedAttachmentTestInstance()
417 m_unusedImage = createImage(vk, vkDevice, &unusedImageParams); in UnusedAttachmentTestInstance()
420 VkMemoryRequirements memoryRequirements = getImageMemoryRequirements(vk, vkDevice, *m_unusedImag in UnusedAttachmentTestInstance()
100 createRenderPass(const DeviceInterface& vk, VkDevice vkDevice, const TestParams testParams) createRenderPass() argument
844 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice) createCommandBuffer() argument
890 const VkDevice vkDevice = m_context.getDevice(); iterate() local
901 const VkDevice vkDevice = m_context.getDevice(); verifyImage() local
[all...]
H A DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp98 VkDevice vkDevice);
180 Move<VkRenderPass> createRenderPass (const DeviceInterface& vk, VkDevice vkDevice) in createRenderPass() argument
256 return createRenderPass(vk, vkDevice, &renderPassInfo); in createRenderPass()
275 const VkDevice vkDevice = m_context.getDevice(); in MultipleSubpassesMultipleCommandBuffersTestInstance() local
277 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in MultipleSubpassesMultipleCommandBuffersTestInstance()
302 m_colorImageA = createImage(vk, vkDevice, &colorImageParams); in MultipleSubpassesMultipleCommandBuffersTestInstance()
303 m_colorImageAllocA = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageA), MemoryRequirement::Any); in MultipleSubpassesMultipleCommandBuffersTestInstance()
304 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImageA, m_colorImageAllocA->getMemory(), m_colorImageAllocA->getOffset())); in MultipleSubpassesMultipleCommandBuffersTestInstance()
306 m_colorImageB = createImage(vk, vkDevice, &colorImageParams); in MultipleSubpassesMultipleCommandBuffersTestInstance()
307 m_colorImageAllocB = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage in MultipleSubpassesMultipleCommandBuffersTestInstance()
704 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice) createCommandBuffer() argument
792 const VkDevice vkDevice = m_context.getDevice(); iterate() local
[all...]
H A DvktRenderPassUnusedAttachmentSparseFillingTests.cpp142 VkDevice vkDevice);
146 VkDevice vkDevice);
266 const VkDevice vkDevice = m_context.getDevice(); in InputAttachmentSparseFillingTestInstance() local
268 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in InputAttachmentSparseFillingTestInstance()
306 auto inputImage = safeSharedPtr(new Unique<VkImage>(vk::createImage(vk, vkDevice, &inputImageParams))); in InputAttachmentSparseFillingTestInstance()
308 auto inputImageAlloc = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **inputImage), MemoryRequirement::Any).release()); in InputAttachmentSparseFillingTestInstance()
309 VK_CHECK(vk.bindImageMemory(vkDevice, **inputImage, inputImageAlloc->getMemory(), inputImageAlloc->getOffset())); in InputAttachmentSparseFillingTestInstance()
312 auto inputImageView = safeSharedPtr(new Unique<VkImageView>(createImageView(vk, vkDevice, &inputAttachmentViewParams))); in InputAttachmentSparseFillingTestInstance()
341 m_outputImage = safeSharedPtr(new Unique<VkImage>(vk::createImage(vk, vkDevice, &outputImageParams))); in InputAttachmentSparseFillingTestInstance()
342 m_outputImageMemory = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **m_outputImag in InputAttachmentSparseFillingTestInstance()
569 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice) createCommandBuffer() argument
666 createRenderPass(const DeviceInterface& vk, VkDevice vkDevice) createRenderPass() argument
755 const VkDevice vkDevice = m_context.getDevice(); iterate() local
766 const VkDevice vkDevice = m_context.getDevice(); verifyImage() local
[all...]
H A DvktRenderPassFragmentDensityMapTests.cpp221 VkDevice vkDevice, in createVertexBuffer()
240 vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); in createVertexBuffer()
241 vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); in createVertexBuffer()
242 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOffset())); in createVertexBuffer()
246 flushAlloc(vk, vkDevice, *vertexAlloc); in createVertexBuffer()
250 VkDevice vkDevice, in prepareImageAndImageView()
286 image = createImage(vk, vkDevice, &imageCreateInfo); in prepareImageAndImageView()
289 imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any); in prepareImageAndImageView()
290 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in prepareImageAndImageView()
305 imageView = createImageView(vk, vkDevice, in prepareImageAndImageView()
220 createVertexBuffer(const DeviceInterface& vk, VkDevice vkDevice, const deUint32& queueFamilyIndex, SimpleAllocator& memAlloc, const std::vector<T>& vertices, Move<VkBuffer>& vertexBuffer, de::MovePtr<Allocation>& vertexAlloc) createVertexBuffer() argument
249 prepareImageAndImageView(const DeviceInterface& vk, VkDevice vkDevice, SimpleAllocator& memAlloc, VkImageCreateFlags imageCreateFlags, VkFormat format, VkExtent3D extent, deUint32 arrayLayers, VkSampleCountFlagBits samples, VkImageUsageFlags usage, deUint32 queueFamilyIndex, VkImageViewCreateFlags viewFlags, VkImageViewType viewType, const VkComponentMapping& channels, const VkImageSubresourceRange& subresourceRange, Move<VkImage>& image, de::MovePtr<Allocation>& imageAlloc, Move<VkImageView>& imageView) prepareImageAndImageView() argument
391 RenderPassWrapper(const DeviceInterface& vk, const VkDevice vkDevice, const TestParams& testParams) RenderPassWrapper() argument
758 createImagelessFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkFramebufferAttachmentImageInfo>& attachmentInfo) createImagelessFrameBuffer() argument
785 createFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkImageView>& imageViews) createFrameBuffer() argument
1451 const VkDevice vkDevice = getDevice(m_context); FragmentDensityMapTestInstance() local
2036 const VkDevice vkDevice = getDevice(m_context); createCommandBufferForRenderpass() local
2252 createCommandBufferForDynamicRendering(const VkRect2D& dynamicDensityMapRenderArea, const VkRect2D& colorImageRenderArea, const VkRect2D& outputRenderArea, const VkDevice& vkDevice) createCommandBufferForDynamicRendering() argument
2677 const VkDevice vkDevice = getDevice(m_context); iterate() local
2706 const VkDevice vkDevice = getDevice(m_context); verifyImage() local
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DFencedDeleter.cpp103 VkDevice vkDevice = mDevice->GetVkDevice(); in Tick() local
109 mDevice->fn.DestroyBuffer(vkDevice, buffer, nullptr); in Tick()
113 mDevice->fn.DestroyImage(vkDevice, image, nullptr); in Tick()
118 mDevice->fn.FreeMemory(vkDevice, memory, nullptr); in Tick()
123 mDevice->fn.DestroyPipelineLayout(vkDevice, layout, nullptr); in Tick()
128 mDevice->fn.DestroyRenderPass(vkDevice, renderPass, nullptr); in Tick()
133 mDevice->fn.DestroyFramebuffer(vkDevice, framebuffer, nullptr); in Tick()
138 mDevice->fn.DestroyImageView(vkDevice, view, nullptr); in Tick()
143 mDevice->fn.DestroyShaderModule(vkDevice, module, nullptr); in Tick()
148 mDevice->fn.DestroyPipeline(vkDevice, pipelin in Tick()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryBindingTests.cpp565 const VkDevice vkDevice = getDevice(); in createBindingTargets() local
572 targets.push_back(BufferPtr(new Move<VkBuffer>(vk::createBuffer(vk, vkDevice, &bufferParams)))); in createBindingTargets()
580 const VkDevice vkDevice = getDevice(); in createBindingTargets() local
587 targets.push_back(ImagePtr(new Move<VkImage>(createImage(vk, vkDevice, &imageParams)))); in createBindingTargets()
597 const VkDevice vkDevice = getDevice(); in createMemory() local
604 vk.getBufferMemoryRequirements(vkDevice, **targets[i], &memReqs); in createMemory()
614 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
618 vk.setDeviceMemoryPriorityEXT(vkDevice, rawMemory, priority.priority); in createMemory()
621 memory.push_back(MemoryRegionPtr(new Move<VkDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevice, DE_NULL)))); in createMemory()
631 const VkDevice vkDevice in createMemory() local
665 const VkDevice vkDevice = getDevice(); createMemory() local
701 const VkDevice vkDevice = getDevice(); createMemory() local
736 const VkDevice vkDevice = getDevice(); makeBinding() local
753 const VkDevice vkDevice = getDevice(); makeBinding() local
770 const VkDevice vkDevice = getDevice(); fillUpResource() local
794 const VkDevice vkDevice = getDevice(); fillUpResource() local
840 const VkDevice vkDevice = getDevice(); readUpResource() local
863 const VkDevice vkDevice = getDevice(); layoutTransitionResource() local
884 const VkDevice vkDevice = getDevice(); createBuffer() local
905 const VkDevice vkDevice = getDevice(); pushData() local
922 const VkDevice vkDevice = getDevice(); checkData() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryBindingTests.cpp565 const VkDevice vkDevice = getDevice(); in createBindingTargets() local
572 targets.push_back(BufferPtr(new Move<VkBuffer>(vk::createBuffer(vk, vkDevice, &bufferParams)))); in createBindingTargets()
580 const VkDevice vkDevice = getDevice(); in createBindingTargets() local
587 targets.push_back(ImagePtr(new Move<VkImage>(createImage(vk, vkDevice, &imageParams)))); in createBindingTargets()
597 const VkDevice vkDevice = getDevice(); in createMemory() local
604 vk.getBufferMemoryRequirements(vkDevice, **targets[i], &memReqs); in createMemory()
614 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
618 vk.setDeviceMemoryPriorityEXT(vkDevice, rawMemory, priority.priority); in createMemory()
621 memory.push_back(MemoryRegionPtr(new Move<VkDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevice, DE_NULL)))); in createMemory()
631 const VkDevice vkDevice in createMemory() local
665 const VkDevice vkDevice = getDevice(); createMemory() local
701 const VkDevice vkDevice = getDevice(); createMemory() local
736 const VkDevice vkDevice = getDevice(); makeBinding() local
753 const VkDevice vkDevice = getDevice(); makeBinding() local
770 const VkDevice vkDevice = getDevice(); fillUpResource() local
794 const VkDevice vkDevice = getDevice(); fillUpResource() local
840 const VkDevice vkDevice = getDevice(); readUpResource() local
863 const VkDevice vkDevice = getDevice(); layoutTransitionResource() local
884 const VkDevice vkDevice = getDevice(); createBuffer() local
905 const VkDevice vkDevice = getDevice(); pushData() local
922 const VkDevice vkDevice = getDevice(); checkData() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineDescriptorLimitsTests.cpp223 const VkDevice vkDevice = m_context.getDevice(); in iterate() local
246 ShaderWrapper vertexShaderModule = ShaderWrapper(vk, vkDevice, m_context.getBinaryCollection().get("vert"), 0u); in iterate()
247 ShaderWrapper testedShaderModule = ShaderWrapper(vk, vkDevice, m_context.getBinaryCollection().get("test"), 0u); in iterate()
251 const Move<VkImage> colorImage (makeImage(vk, vkDevice, makeImageCreateInfo(m_params.m_framebufferSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT))); in iterate()
252 const de::MovePtr<Allocation> colorImageAlloc (bindImage(vk, vkDevice, allocator, *colorImage, MemoryRequirement::Any)); in iterate()
253 const Move<VkImageView> colorImageView (makeImageView(vk, vkDevice, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresourceRange)); in iterate()
255 const Move<VkImage> inputImages[2] { (makeImage(vk, vkDevice, makeImageCreateInfo(m_params.m_framebufferSize, colorFormat, imageFlags))) in iterate()
256 , (makeImage(vk, vkDevice, makeImageCreateInfo(m_params.m_framebufferSize, colorFormat, imageFlags))) }; in iterate()
257 const de::MovePtr<Allocation> inputImageAllocs[2] { (bindImage(vk, vkDevice, allocator, *inputImages[0], MemoryRequirement::Any)) in iterate()
258 , (bindImage(vk, vkDevice, allocato in iterate()
[all...]
H A DvktPipelineDerivativeTests.cpp84 const VkDevice vkDevice = context.getDevice(); in testComputeDerivativeByHandle() local
85 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByHandle()
87 Move<VkPipelineLayout> layout = makePipelineLayout(vk, vkDevice); in testComputeDerivativeByHandle()
119 Move<VkPipeline> basePipeline = createComputePipeline(vk, vkDevice, DE_NULL, &cpci); in testComputeDerivativeByHandle()
133 Move<VkPipeline> derivedPipeline = createComputePipeline(vk, vkDevice, DE_NULL, &cpci); in testComputeDerivativeByHandle()
142 const VkDevice vkDevice = context.getDevice(); in testComputeDerivativeByIndex() local
143 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByIndex()
145 Move<VkPipelineLayout> layout = makePipelineLayout(vk, vkDevice); in testComputeDerivativeByIndex()
182 vk.createComputePipelines(vkDevice, 0, 2, cpci, DE_NULL, rawPipelines.data()); in testComputeDerivativeByIndex()
185 vk.destroyPipeline(vkDevice, rawPipeline in testComputeDerivativeByIndex()
[all...]
H A DvktPipelineCacheTests.cpp138 const VkDevice vkDevice = context.getDevice(); in createBufferAndBindMemory() local
153 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); in createBufferAndBindMemory()
155 *pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); in createBufferAndBindMemory()
156 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); in createBufferAndBindMemory()
170 const VkDevice vkDevice = context.getDevice(); in createImage2DAndBindMemory() local
192 Move<VkImage> image = createImage(vk, vkDevice, &colorImageParams); in createImage2DAndBindMemory()
194 *pAlloc = context.getDefaultAllocator().allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any); in createImage2DAndBindMemory()
195 VK_CHECK(vk.bindImageMemory(vkDevice, *image, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); in createImage2DAndBindMemory()
244 const VkDevice vkDevice = m_context.getDevice(); in CacheTestInstance() local
248 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BI in CacheTestInstance()
275 const VkDevice vkDevice = m_context.getDevice(); iterate() local
480 const VkDevice vkDevice = m_context.getDevice(); global() variable
725 const VkDevice vkDevice = m_context.getDevice(); preparePipelineWrapper() local
821 const VkDevice vkDevice = m_context.getDevice(); verifyTestResult() local
927 const VkDevice vkDevice = m_context.getDevice(); buildBuffers() local
959 const VkDevice vkDevice = m_context.getDevice(); buildDescriptorSets() local
1004 const VkDevice vkDevice = m_context.getDevice(); buildShader() local
1021 const VkDevice vkDevice = m_context.getDevice(); buildPipeline() local
1102 const VkDevice vkDevice = m_context.getDevice(); verifyTestResult() local
1159 const VkDevice vkDevice = m_context.getDevice(); PipelineFromCacheTestInstance() local
1229 const VkDevice vkDevice = m_context.getDevice(); PipelineFromIncompleteCacheTestInstance() local
1364 const VkDevice vkDevice = m_context.getDevice(); MergeCacheTestInstance() local
1519 const VkDevice vkDevice = m_context.getDevice(); CacheHeaderTestInstance() local
1592 const VkDevice vkDevice = m_context.getDevice(); InvalidSizeTestInstance() local
1679 const VkDevice vkDevice = m_context.getDevice(); ZeroSizeTestInstance() local
1757 const VkDevice vkDevice = m_context.getDevice(); InvalidBlobTestInstance() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineDescriptorLimitsTests.cpp200 const VkDevice vkDevice = m_context.getDevice(); in iterate() local
223 Move<VkShaderModule> vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("vert"), 0u); in iterate()
224 Move<VkShaderModule> testedShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("test"), 0u); in iterate()
228 const Move<VkImage> colorImage (makeImage(vk, vkDevice, makeImageCreateInfo(m_framebufferSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT))); in iterate()
229 const de::MovePtr<Allocation> colorImageAlloc (bindImage(vk, vkDevice, allocator, *colorImage, MemoryRequirement::Any)); in iterate()
230 const Move<VkImageView> colorImageView (makeImageView(vk, vkDevice, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresourceRange)); in iterate()
232 const Move<VkImage> inputImages[2] { (makeImage(vk, vkDevice, makeImageCreateInfo(m_framebufferSize, colorFormat, imageFlags))) in iterate()
233 , (makeImage(vk, vkDevice, makeImageCreateInfo(m_framebufferSize, colorFormat, imageFlags))) }; in iterate()
234 const de::MovePtr<Allocation> inputImageAllocs[2] { (bindImage(vk, vkDevice, allocator, *inputImages[0], MemoryRequirement::Any)) in iterate()
235 , (bindImage(vk, vkDevice, allocato in iterate()
[all...]
H A DvktPipelineDerivativeTests.cpp80 const VkDevice vkDevice = context.getDevice(); in testComputeDerivativeByHandle() local
81 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByHandle()
83 Move<VkPipelineLayout> layout = makePipelineLayout(vk, vkDevice); in testComputeDerivativeByHandle()
103 Move<VkPipeline> basePipeline = createComputePipeline(vk, vkDevice, DE_NULL, &cpci); in testComputeDerivativeByHandle()
109 Move<VkPipeline> derivedPipeline = createComputePipeline(vk, vkDevice, DE_NULL, &cpci); in testComputeDerivativeByHandle()
118 const VkDevice vkDevice = context.getDevice(); in testComputeDerivativeByIndex() local
119 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByIndex()
121 Move<VkPipelineLayout> layout = makePipelineLayout(vk, vkDevice); in testComputeDerivativeByIndex()
158 vk.createComputePipelines(vkDevice, 0, 2, cpci, DE_NULL, rawPipelines.data()); in testComputeDerivativeByIndex()
161 vk.destroyPipeline(vkDevice, rawPipeline in testComputeDerivativeByIndex()
[all...]
H A DvktPipelineCacheTests.cpp147 const VkDevice vkDevice = context.getDevice(); in createBufferAndBindMemory() local
162 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); in createBufferAndBindMemory()
164 *pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); in createBufferAndBindMemory()
165 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); in createBufferAndBindMemory()
179 const VkDevice vkDevice = context.getDevice(); in createImage2DAndBindMemory() local
201 Move<VkImage> image = createImage(vk, vkDevice, &colorImageParams); in createImage2DAndBindMemory()
203 *pAlloc = context.getDefaultAllocator().allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any); in createImage2DAndBindMemory()
204 VK_CHECK(vk.bindImageMemory(vkDevice, *image, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); in createImage2DAndBindMemory()
254 const VkDevice vkDevice = m_context.getDevice(); in CacheTestInstance() local
258 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BI in CacheTestInstance()
285 const VkDevice vkDevice = m_context.getDevice(); iterate() local
491 const VkDevice vkDevice = m_context.getDevice(); global() variable
729 const VkDevice vkDevice = m_context.getDevice(); preparePipelineWrapper() local
825 const VkDevice vkDevice = m_context.getDevice(); verifyTestResult() local
932 const VkDevice vkDevice = m_context.getDevice(); buildBuffers() local
964 const VkDevice vkDevice = m_context.getDevice(); buildDescriptorSets() local
1009 const VkDevice vkDevice = m_context.getDevice(); buildShader() local
1026 const VkDevice vkDevice = m_context.getDevice(); buildPipeline() local
1107 const VkDevice vkDevice = m_context.getDevice(); verifyTestResult() local
1164 const VkDevice vkDevice = m_context.getDevice(); PipelineFromCacheTestInstance() local
1234 const VkDevice vkDevice = m_context.getDevice(); PipelineFromIncompleteCacheTestInstance() local
1368 const VkDevice vkDevice = m_context.getDevice(); MergeCacheTestInstance() local
1524 const VkDevice vkDevice = m_context.getDevice(); CacheHeaderTestInstance() local
1597 const VkDevice vkDevice = m_context.getDevice(); InvalidSizeTestInstance() local
1684 const VkDevice vkDevice = m_context.getDevice(); ZeroSizeTestInstance() local
1762 const VkDevice vkDevice = m_context.getDevice(); InvalidBlobTestInstance() local
[all...]
H A DvktPipelineEarlyDestroyTests.cpp91 const VkDevice vkDevice = context.getDevice(); in testEarlyDestroy() local
92 const Unique<VkShaderModule> vertexShaderModule (createShaderModule(vk, vkDevice, context.getBinaryCollection().get("color_vert"), 0)); in testEarlyDestroy()
93 const Unique<VkShaderModule> fragmentShaderModule (createShaderModule(vk, vkDevice, context.getBinaryCollection().get("color_frag"), 0)); in testEarlyDestroy()
95 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT | VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, context.getUniversalQueueFamilyIndex())); in testEarlyDestroy()
96 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, vkDevice, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY)); in testEarlyDestroy()
113 Move<VkPipelineLayout> pipelineLayout (createPipelineLayout(vk, vkDevice, &pipelineLayoutCreateInfo, DE_NULL)); in testEarlyDestroy()
114 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, vkDevice, VK_FORMAT_R8G8B8A8_UNORM)); in testEarlyDestroy()
186 const Unique<VkPipelineCache> pipelineCache (createPipelineCache(vk, vkDevice, &pipelineCacheCreateInfo)); in testEarlyDestroy()
190 GraphicsPipelineWrapper graphicsPipeline (vk, vkDevice, params.pipelineConstructionType, VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT); in testEarlyDestroy()
251 const ImageWithMemory attachmentImage (vk, vkDevice, contex in testEarlyDestroy()
[all...]

Completed in 31 milliseconds

12345