/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCommandBuffersTests.cpp | 346 const VkDevice vkDevice = context.getDevice(); in createPoolNullParamsTest() local 350 createCommandPool(vk, vkDevice, 0u, queueFamilyIndex); in createPoolNullParamsTest() 357 const VkDevice vkDevice = context.getDevice(); in createPoolNonNullAllocatorTest() local 370 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks); in createPoolNonNullAllocatorTest() 377 const VkDevice vkDevice = context.getDevice(); in createPoolTransientBitTest() local 389 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolTransientBitTest() 396 const VkDevice vkDevice = context.getDevice(); in createPoolResetBitTest() local 408 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolResetBitTest() 415 const VkDevice vkDevice = context.getDevice(); in resetPoolReleaseResourcesBitTest() local 427 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NUL… in resetPoolReleaseResourcesBitTest() [all …]
|
D | vktApiSmokeTests.cpp | 66 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… in createShaderModuleTest() 334 const VkDevice vkDevice = context.getDevice(); in renderTriangleTest() local 338 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleTest() 361 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams)); in renderTriangleTest() 362 … vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), … in renderTriangleTest() 364 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBuffe… in renderTriangleTest() 378 const Unique<VkBuffer> readImageBuffer (createBuffer(vk, vkDevice, &readImageBufferParams)); in renderTriangleTest() [all …]
|
D | vktApiBufferAndImageAllocationUtil.cpp | 49 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, &colorImageParams); in createTestImage() [all …]
|
D | vktApiBufferViewAccessTests.cpp | 163 const VkDevice vkDevice = context.getDevice(); in BufferViewTestInstance() local 165 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getIns… in BufferViewTestInstance() 202 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in BufferViewTestInstance() 206 m_renderPass = makeRenderPass(vk, vkDevice, m_colorFormat); in BufferViewTestInstance() 228 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in BufferViewTestInstance() 255 m_descriptorSetLayout = createDescriptorSetLayout(vk, vkDevice, &descriptorLayoutParams); in BufferViewTestInstance() 265 flushAlloc(vk, vkDevice, *m_uniformBufferAlloc); in BufferViewTestInstance() 278 m_uniformBufferView = createBufferView(vk, vkDevice, &viewInfo); in BufferViewTestInstance() 299 m_descriptorPool = createDescriptorPool(vk, vkDevice, &descriptorPoolParams); in BufferViewTestInstance() 310 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &descriptorSetParams); in BufferViewTestInstance() [all …]
|
D | vktApiBufferTests.cpp | 198 const VkDevice vkDevice = m_context.getDevice(); in bufferCreateAndAllocTest() local 228 buffer = createBuffer(vk, vkDevice, &bufferParams); in bufferCreateAndAllocTest() 229 vk.getBufferMemoryRequirements(vkDevice, *buffer, &memReqs); in bufferCreateAndAllocTest() 260 …result = vk.createBuffer(vkDevice, &bufferParams, (vk::VkAllocationCallbacks*)DE_NULL, &rawBuffer); in bufferCreateAndAllocTest() 274 buffer = Move<VkBuffer>(check<VkBuffer>(rawBuffer), Deleter<VkBuffer>(vk, vkDevice, DE_NULL)); in bufferCreateAndAllocTest() 277 vk.getBufferMemoryRequirements(vkDevice, *buffer, &memReqs); // get the proper size requirement in bufferCreateAndAllocTest() 300 result = vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in bufferCreateAndAllocTest() 314 …<VkDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevice, DE_NULL)); in bufferCreateAndAllocTest() 357 const vk::Unique<vk::VkFence> fence (vk::createFence(vk, vkDevice)); in bufferCreateAndAllocTest() 362 VK_CHECK(vk.waitForFences(vkDevice, 1, &fence.get(), VK_TRUE, ~(0ull) /* infinity */)); in bufferCreateAndAllocTest() [all …]
|
D | vktApiBufferViewCreateTests.cpp | 149 const VkDevice vkDevice = context.getDevice(); in createTestBuffer() local 167 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer() 174 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); in createTestBuffer() 193 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer() 200 if (vk.bindBufferMemory(vkDevice, *testBuffer, *memory, 0) != VK_SUCCESS) in createTestBuffer() 213 const VkDevice vkDevice = context.getDevice(); in createTestBuffer() local 246 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer() 260 vk.getBufferMemoryRequirements2(vkDevice, &info, &memReqs); in createTestBuffer() 281 vk.getBufferMemoryRequirements2(vkDevice, &info, &memReqs); // get the proper size requirement in createTestBuffer() 311 …result = vk.allocateMemory(vkDevice, &memoryAllocateInfo, (VkAllocationCallbacks*)DE_NULL, &rawMem… in createTestBuffer() [all …]
|
D | vktApiFillBufferTests.cpp | 93 const VkDevice vkDevice = context.getDevice(); in FillWholeBufferTestInstance() local 97 …m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex… in FillWholeBufferTestInstance() 98 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in FillWholeBufferTestInstance() 105 const VkDevice vkDevice = m_context.getDevice(); in iterate() local 116 flushAlloc(vk, vkDevice, *m_destinationBufferAlloc); in iterate() 136 submitCommandsAndWait(vk, vkDevice, queue, m_cmdBuffer.get()); in iterate() 139 invalidateAlloc(vk, vkDevice, *m_destinationBufferAlloc); in iterate() 219 const VkDevice vkDevice = context.getDevice(); in FillBufferTestInstance() local 224 …m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex… in FillBufferTestInstance() 227 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in FillBufferTestInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassUnusedAttachmentTests.cpp | 100 VkDevice vkDevice, in createRenderPass() argument 226 return renderPassInfo.createRenderPass(vk, vkDevice); in createRenderPass() 252 VkDevice vkDevice); 357 const VkDevice vkDevice = m_context.getDevice(); in UnusedAttachmentTestInstance() local 359 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInsta… in UnusedAttachmentTestInstance() 387 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in UnusedAttachmentTestInstance() 390 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in UnusedAttachmentTestInstance() 391 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in UnusedAttachmentTestInstance() 416 m_unusedImage = createImage(vk, vkDevice, &unusedImageParams); in UnusedAttachmentTestInstance() 419 …VkMemoryRequirements memoryRequirements = getImageMemoryRequirements(vk, vkDevice, *m_unusedImage); in UnusedAttachmentTestInstance() [all …]
|
D | vktRenderPassUnusedAttachmentSparseFillingTests.cpp | 141 VkDevice vkDevice); 145 VkDevice vkDevice); 265 const VkDevice vkDevice = m_context.getDevice(); in InputAttachmentSparseFillingTestInstance() local 267 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIns… in InputAttachmentSparseFillingTestInstance() 305 …auto inputImage = safeSharedPtr(new Unique<VkImage>(vk::createImage(vk, vkDevice, &inputImageP… in InputAttachmentSparseFillingTestInstance() 307 …auto inputImageAlloc = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, … in InputAttachmentSparseFillingTestInstance() 308 …VK_CHECK(vk.bindImageMemory(vkDevice, **inputImage, inputImageAlloc->getMemory(), inputImageAlloc-… in InputAttachmentSparseFillingTestInstance() 311 …auto inputImageView = safeSharedPtr(new Unique<VkImageView>(createImageView(vk, vkDevice, &inpu… in InputAttachmentSparseFillingTestInstance() 340 …m_outputImage = safeSharedPtr(new Unique<VkImage>(vk::createImage(vk, vkDevice, &outputImageParam… in InputAttachmentSparseFillingTestInstance() 341 …m_outputImageMemory = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **m… in InputAttachmentSparseFillingTestInstance() [all …]
|
D | vktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp | 98 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.getInsta… in MultipleSubpassesMultipleCommandBuffersTestInstance() 302 m_colorImageA = createImage(vk, vkDevice, &colorImageParams); in MultipleSubpassesMultipleCommandBuffersTestInstance() 303 …m_colorImageAllocA = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageA), M… in MultipleSubpassesMultipleCommandBuffersTestInstance() 304 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImageA, m_colorImageAllocA->getMemory(), m_colorImag… in MultipleSubpassesMultipleCommandBuffersTestInstance() 306 m_colorImageB = createImage(vk, vkDevice, &colorImageParams); in MultipleSubpassesMultipleCommandBuffersTestInstance() 307 …m_colorImageAllocB = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageB), M… in MultipleSubpassesMultipleCommandBuffersTestInstance() [all …]
|
D | vktRenderPassFragmentDensityMapTests.cpp | 221 VkDevice vkDevice, in createVertexBuffer() argument 240 vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); in createVertexBuffer() 241 …vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryR… in createVertexBuffer() 242 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexAlloc->getMemory(), vertexAlloc->getOf… in createVertexBuffer() 246 flushAlloc(vk, vkDevice, *vertexAlloc); in createVertexBuffer() 250 VkDevice vkDevice, in prepareImageAndImageView() argument 286 image = createImage(vk, vkDevice, &imageCreateInfo); in prepareImageAndImageView() 289 …imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement… in prepareImageAndImageView() 290 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in prepareImageAndImageView() 305 imageView = createImageView(vk, vkDevice, &imageViewCreateInfo); in prepareImageAndImageView() [all …]
|
D | vktRenderPassUnusedClearAttachmentTests.cpp | 184 VkDevice vkDevice); 316 VkDevice vkDevice, in createRenderPass() argument 413 return renderPassInfo.createRenderPass(vk, vkDevice); in createRenderPass() 440 const VkDevice vkDevice = m_context.getDevice(); in UnusedClearAttachmentTestInstance() local 442 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInsta… in UnusedClearAttachmentTestInstance() 490 m_colorImages.emplace_back(createImage(vk, vkDevice, &colorImageParams)); in UnusedClearAttachmentTestInstance() 491 …m_colorImageAllocs.emplace_back(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colo… in UnusedClearAttachmentTestInstance() 492 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImages.back(), m_colorImageAllocs.back()->getMemory(… in UnusedClearAttachmentTestInstance() 508 m_colorAttachmentViews.emplace_back(createImageView(vk, vkDevice, &colorAttachmentViewParams)); in UnusedClearAttachmentTestInstance() 518 …cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); in UnusedClearAttachmentTestInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineDerivativeTests.cpp | 80 const VkDevice vkDevice = context.getDevice(); in testComputeDerivativeByHandle() local 81 …Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection(… 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(… 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, rawPipelines[i], DE_NULL); in testComputeDerivativeByIndex()
|
D | vktPipelineEarlyDestroyTests.cpp | 80 const VkDevice vkDevice = context.getDevice(); in testEarlyDestroy() local 81 …const Unique<VkShaderModule> vertexShaderModule (createShaderModule(vk, vkDevice, context.… in testEarlyDestroy() 82 …const Unique<VkShaderModule> fragmentShaderModule (createShaderModule(vk, vkDevice, context… in testEarlyDestroy() 84 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, VK_COMMAND_POOL_C… in testEarlyDestroy() 85 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, vkDevice, *cmdPool, V… in testEarlyDestroy() 102 …Move<VkPipelineLayout> pipelineLayout (createPipelineLayout(vk, vkDevice, &pipelineLayou… in testEarlyDestroy() 103 …const Unique<VkRenderPass> renderPass (makeRenderPass(vk, vkDevice, VK_FORMAT_R8G8B8A8_U… in testEarlyDestroy() 189 …const Unique<VkPipelineCache> pipelineCache (createPipelineCache(vk, vkDevice, &pipelineCa… in testEarlyDestroy() 212 …createGraphicsPipeline(vk, vkDevice, usePipelineCache ? *pipelineCache : DE_NULL, &graphicsPipelin… in testEarlyDestroy() 257 …const ImageWithMemory attachmentImage (vk, vkDevice, context.getDefaultAllocator(), image… in testEarlyDestroy() [all …]
|
D | vktPipelineCacheTests.cpp | 197 const VkDevice vkDevice = m_context.getDevice(); in bindShaderStage() local 212 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); in bindShaderStage() 229 const VkDevice vkDevice = m_context.getDevice(); in buildPipeline() local 415 return createGraphicsPipeline(vk, vkDevice, cache, &graphicsPipelineParams); in buildPipeline() 436 const VkDevice vkDevice = context.getDevice(); in createBufferAndBindMemory() local 451 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); in createBufferAndBindMemory() 453 …*pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertex… in createBufferAndBindMemory() 454 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset… in createBufferAndBindMemory() 468 const VkDevice vkDevice = context.getDevice(); in createImage2DAndBindMemory() local 490 Move<VkImage> image = createImage(vk, vkDevice, &colorImageParams); in createImage2DAndBindMemory() [all …]
|
D | vktPipelinePushConstantTests.cpp | 282 const VkDevice vkDevice = m_context.getDevice(); in init() local 284 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIn… in init() 312 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in init() 315 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in init() 316 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in init() 333 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in init() 337 m_renderPass = makeRenderPass(vk, vkDevice, m_colorFormat); in init() 359 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in init() 365 …ddSingleBinding(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_SHADER_STAGE_VERTEX_BIT).build(vk, vkDevice); in init() 368 …rPoolBuilder().addType(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1u).build(vk, vkDevice, VK_DESCRIPTOR_PO… in init() [all …]
|
D | vktPipelineStencilTests.cpp | 360 const VkDevice vkDevice = context.getDevice(); in StencilTestInstance() local 362 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in StencilTestInstance() 388 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in StencilTestInstance() 391 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in StencilTestInstance() 392 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in StencilTestInstance() 418 m_stencilImage = createImage(vk, vkDevice, &stencilImageParams); in StencilTestInstance() 421 …m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage),… in StencilTestInstance() 422 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_stencilImage, m_stencilImageAlloc->getMemory(), m_stencil… in StencilTestInstance() 444 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in StencilTestInstance() 461 m_stencilAttachmentView = createImageView(vk, vkDevice, &stencilAttachmentViewParams); in StencilTestInstance() [all …]
|
D | vktPipelineMatchedAttachmentsTests.cpp | 73 const VkDevice vkDevice = context.getDevice(); in testMatchedAttachments() local 74 …const Unique<VkShaderModule> vertexShaderModule (createShaderModule(vk, vkDevice, context.g… in testMatchedAttachments() 75 …const Unique<VkShaderModule> fragmentShaderModule (createShaderModule(vk, vkDevice, context.… in testMatchedAttachments() 95 …ptorSetLayout> descriptorSetLayout (createDescriptorSetLayout(vk, vkDevice, &descriptorSetLa… in testMatchedAttachments() 108 …const Unique<VkPipelineLayout> pipelineLayout (createPipelineLayout(vk, vkDevice, &pipelin… in testMatchedAttachments() 175 …const Unique<VkRenderPass> renderPass (createRenderPass(vk, vkDevice, &renderPassCreateI… in testMatchedAttachments() 186 …const Unique<VkPipelineCache> pipelineCache (createPipelineCache(vk, vkDevice, &pipelineCa… in testMatchedAttachments() 333 …createGraphicsPipeline(vk, vkDevice, params.usePipelineCache ? *pipelineCache : DE_NULL, &graphics… in testMatchedAttachments()
|
D | vktPipelineDynamicOffsetTests.cpp | 181 const VkDevice vkDevice = m_context.getDevice(); in init() local 220 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in init() 223 …m_colorImageAlloc = m_memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), … in init() 224 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in init() 241 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in init() 306 …m_renderPasses.push_back(VkRenderPassSp(new Unique<VkRenderPass>(createRenderPass(vk, vkDevice, &r… in init() 330 …m_framebuffers.push_back(VkFramebufferSp(new Unique<VkFramebuffer>(createFramebuffer(vk, vkDevice,… in init() 373 …m_descriptorSetLayouts.push_back(createDescriptorSetLayout(vk, vkDevice, &descriptorSetLayoutCreat… in init() 388 …m_descriptorSetLayouts.push_back(createDescriptorSetLayout(vk, vkDevice, &descriptorSetLayoutCreat… in init() 408 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in init() [all …]
|
D | vktPipelineTimestampTests.cpp | 449 const VkDevice vkDevice = m_context.getDevice(); in bindShaderStage() local 464 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); in bindShaderStage() 473 const VkDevice vkDevice = m_context.getDevice(); in buildPipeline() local 507 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in buildPipeline() 585 vkDevice, // const VkDevice device in buildPipeline() 729 const VkDevice vkDevice = context.getDevice(); in TimestampTestInstance() local 746 m_queryPool = createQueryPool(vk, vkDevice, &queryPoolParams); in TimestampTestInstance() 750 …m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex… in TimestampTestInstance() 753 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in TimestampTestInstance() 794 const VkDevice vkDevice = m_context.getDevice(); in iterate() local [all …]
|
D | vktPipelineLogicOpTests.cpp | 250 const VkDevice vkDevice = m_context.getDevice(); in LogicOpTestInstance() local 277 …m_colorImage = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vk, vkDevice, memAlloc, m_colorI… in LogicOpTestInstance() 295 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in LogicOpTestInstance() 298 m_renderPass = makeRenderPass(vk, vkDevice, m_params.format); in LogicOpTestInstance() 299 …m_framebuffer = makeFramebuffer(vk, vkDevice, *m_renderPass, m_colorAttachmentView.get(), m_render… in LogicOpTestInstance() 321 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in LogicOpTestInstance() 324 …m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color… in LogicOpTestInstance() 325 …m_fragmentShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("col… in LogicOpTestInstance() 364 vkDevice, // const VkDevice device in LogicOpTestInstance() 385 …m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex… in LogicOpTestInstance() [all …]
|
D | vktPipelineDepthTests.cpp | 317 const VkDevice vkDevice = context.getDevice(); in DepthTestInstance() local 319 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in DepthTestInstance() 347 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in DepthTestInstance() 350 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in DepthTestInstance() 351 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in DepthTestInstance() 376 m_depthImage = createImage(vk, vkDevice, &depthImageParams); in DepthTestInstance() 379 …m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), Mem… in DepthTestInstance() 380 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_depthImage, m_depthImageAlloc->getMemory(), m_depthImageA… in DepthTestInstance() 402 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in DepthTestInstance() 419 m_depthAttachmentView = createImageView(vk, vkDevice, &depthAttachmentViewParams); in DepthTestInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryBindingTests.cpp | 442 const VkDevice vkDevice = ctx.getDevice(); in createBindingTargets() local 449 targets.push_back(BufferPtr(new Move<VkBuffer>(createBuffer(vk, vkDevice, &bufferParams)))); in createBindingTargets() 459 const VkDevice vkDevice = ctx.getDevice(); in createBindingTargets() local 466 targets.push_back(ImagePtr(new Move<VkImage>(createImage(vk, vkDevice, &imageParams)))); in createBindingTargets() 486 const VkDevice vkDevice = ctx.getDevice(); in createMemory() local 493 vk.getBufferMemoryRequirements(vkDevice, **targets[i], &memReqs); in createMemory() 499 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory() 500 …kDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevice, DE_NULL)))); in createMemory() 513 const VkDevice vkDevice = ctx.getDevice(); in createMemory() local 519 vk.getImageMemoryRequirements(vkDevice, **targets[i], &memReqs); in createMemory() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.cpp | 333 const VkDevice vkDevice = m_context.getDevice(); in updateTextureData() local 406 m_textureImage = createImage(vkd, vkDevice, &imageParams); in updateTextureData() 411 vkDevice, in updateTextureData() 425 …m_textureImageMemory = allocator.allocate(getImageMemoryRequirements(vkd, vkDevice, *m_textureImag… in updateTextureData() 426 …VK_CHECK(vkd.bindImageMemory(vkDevice, *m_textureImage, m_textureImageMemory->getMemory(), m_textu… in updateTextureData() 429 vkDevice, in updateTextureData() 443 const VkDevice vkDevice = m_context.getDevice(); in updateTextureViewMipLevels() local 466 m_textureImageView = createImageView(vkd, vkDevice, &viewParams); in updateTextureViewMipLevels() 496 const VkDevice vkDevice = m_context.getDevice(); in TextureRenderer() local 501 …m_commandPool = createCommandPool(vkd, vkDevice, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, … in TextureRenderer() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmCrossStageInterfaceTests.cpp | 196 const VkDevice vkDevice = m_context.getDevice(); in iterate() local 203 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &bufferInfo); in iterate() 204 …_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), … in iterate() 210 Move<VkImage> colorAttachmentImage = createImage(vk, vkDevice, &colorAttachmentInfo); in iterate() 211 …m_context.getDefaultAllocator().allocate(getImageMemoryRequirements(vk, vkDevice, *colorAttachment… in iterate() 212 …VK_CHECK(vk.bindImageMemory(vkDevice, *colorAttachmentImage, allocationAttachment->getMemory(), al… in iterate() 213 …Move<VkImageView> colorAttachmentView = makeImageView(vk, vkDevice, *colorAttachmentImage, V… in iterate() 219 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, allocationVertex->getMemory(), allocationVer… in iterate() 221 flushAlloc(vk, vkDevice, *allocationVertex); in iterate() 223 Move<VkRenderPass> renderPass = makeRenderPass (vk, vkDevice, m_colorFormat); in iterate() [all …]
|