/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCommandBuffersTests.cpp | 341 const VkDevice vkDevice = context.getDevice(); in createPoolNullParamsTest() local 345 createCommandPool(vk, vkDevice, 0u, queueFamilyIndex); in createPoolNullParamsTest() 352 const VkDevice vkDevice = context.getDevice(); in createPoolNonNullAllocatorTest() local 365 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks); in createPoolNonNullAllocatorTest() 372 const VkDevice vkDevice = context.getDevice(); in createPoolTransientBitTest() local 384 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolTransientBitTest() 391 const VkDevice vkDevice = context.getDevice(); in createPoolResetBitTest() local 403 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolResetBitTest() 410 const VkDevice vkDevice = context.getDevice(); in resetPoolReleaseResourcesBitTest() local 422 …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() 86 const VkDevice vkDevice = context.getDevice(); in createTestBuffer() local 103 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer() 104 memory = allocateDedicated(vkInstance, vk, vkPhysicalDevice, vkDevice, buffer.get(), requirement); in createTestBuffer() 105 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), memory->getOffset())); in createTestBuffer() 117 const VkDevice vkDevice = context.getDevice(); in createTestImage() local 141 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 | vktApiBufferViewCreateTests.cpp | 151 const VkDevice vkDevice = context.getDevice(); in createTestBuffer() local 169 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer() 176 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); in createTestBuffer() 195 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer() 202 if (vk.bindBufferMemory(vkDevice, *testBuffer, *memory, 0) != VK_SUCCESS) in createTestBuffer() 215 const VkDevice vkDevice = context.getDevice(); in createTestBuffer() local 248 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer() 262 vk.getBufferMemoryRequirements2(vkDevice, &info, &memReqs); in createTestBuffer() 283 vk.getBufferMemoryRequirements2(vkDevice, &info, &memReqs); // get the proper size requirement in createTestBuffer() 313 …result = vk.allocateMemory(vkDevice, &memoryAllocateInfo, (VkAllocationCallbacks*)DE_NULL, &rawMem… in createTestBuffer() [all …]
|
D | vktApiBufferTests.cpp | 325 const VkDevice vkDevice = getDevice(); in bufferCreateAndAllocTest() local 355 buffer = createBuffer(vk, vkDevice, &bufferParams); in bufferCreateAndAllocTest() 356 vk.getBufferMemoryRequirements(vkDevice, *buffer, &memReqs); in bufferCreateAndAllocTest() 387 …result = vk.createBuffer(vkDevice, &bufferParams, (vk::VkAllocationCallbacks*)DE_NULL, &rawBuffer); in bufferCreateAndAllocTest() 401 buffer = Move<VkBuffer>(check<VkBuffer>(rawBuffer), Deleter<VkBuffer>(vk, vkDevice, DE_NULL)); in bufferCreateAndAllocTest() 404 vk.getBufferMemoryRequirements(vkDevice, *buffer, &memReqs); // get the proper size requirement in bufferCreateAndAllocTest() 427 result = vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in bufferCreateAndAllocTest() 441 …<VkDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevice, DE_NULL)); in bufferCreateAndAllocTest() 449 const VkQueue queue = getDeviceQueue(vk, vkDevice, queueFamilyIndex, 0); in bufferCreateAndAllocTest() 484 const vk::Unique<vk::VkFence> fence (vk::createFence(vk, vkDevice)); in bufferCreateAndAllocTest() [all …]
|
D | vktApiFillBufferTests.cpp | 112 const VkDevice vkDevice = context.getDevice(); in FillBufferTestInstance() local 117 …m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex… in FillBufferTestInstance() 120 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in FillBufferTestInstance() 137 const VkDevice vkDevice = m_context.getDevice(); in iterate() local 158 submitCommandsAndWait(vk, vkDevice, queue, m_cmdBuffer.get()); in iterate() 162 invalidateAlloc(vk, vkDevice, *m_destinationBufferAlloc); in iterate() 190 const VkDevice vkDevice = m_context.getDevice(); in uploadBuffer() local 195 flushAlloc(vk, vkDevice, bufferAlloc); in uploadBuffer() 279 const VkDevice vkDevice = m_context.getDevice(); in iterate() local 300 submitCommandsAndWait(vk, vkDevice, queue, m_cmdBuffer.get()); in iterate() [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 …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineCacheTests.cpp | 193 const VkDevice vkDevice = m_context.getDevice(); in bindShaderStage() local 208 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); in bindShaderStage() 225 const VkDevice vkDevice = m_context.getDevice(); in buildPipeline() local 411 return createGraphicsPipeline(vk, vkDevice, cache, &graphicsPipelineParams); in buildPipeline() 432 const VkDevice vkDevice = context.getDevice(); in createBufferAndBindMemory() local 447 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); in createBufferAndBindMemory() 449 …*pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertex… in createBufferAndBindMemory() 450 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset… in createBufferAndBindMemory() 464 const VkDevice vkDevice = context.getDevice(); in createImage2DAndBindMemory() local 486 Move<VkImage> image = createImage(vk, vkDevice, &colorImageParams); in createImage2DAndBindMemory() [all …]
|
D | vktPipelineDynamicOffsetTests.cpp | 158 const VkDevice vkDevice = m_context.getDevice(); in init() local 162 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIns… in init() 194 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in init() 197 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in init() 198 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in init() 215 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in init() 280 …m_renderPasses.push_back(VkRenderPassSp(new Unique<VkRenderPass>(createRenderPass(vk, vkDevice, &r… in init() 304 …m_framebuffers.push_back(VkFramebufferSp(new Unique<VkFramebuffer>(createFramebuffer(vk, vkDevice,… in init() 336 …m_descriptorSetLayout = createDescriptorSetLayout(vk, vkDevice, &descriptorSetLayoutCreateInfo, DE… in init() 350 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in init() [all …]
|
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 | 75 const VkDevice vkDevice = context.getDevice(); in testEarlyDestroy() local 76 …const Unique<VkShaderModule> vertexShaderModule (createShaderModule(vk, vkDevice, context.g… in testEarlyDestroy() 77 …const Unique<VkShaderModule> fragmentShaderModule (createShaderModule(vk, vkDevice, context.… in testEarlyDestroy() 79 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CR… in testEarlyDestroy() 80 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, vkDevice, *cmdPool, VK… in testEarlyDestroy() 93 …const Unique<VkPipelineLayout> pipelineLayout (createPipelineLayout(vk, vkDevice, &pipelin… in testEarlyDestroy() 95 …const Unique<VkRenderPass> renderPass (makeRenderPass(vk, vkDevice, VK_FORMAT_R8G8B8A8_U… in testEarlyDestroy() 189 …const Unique<VkPipelineCache> pipelineCache (createPipelineCache(vk, vkDevice, &pipelineCa… in testEarlyDestroy() 214 …createGraphicsPipeline(vk, vkDevice, usePipelineCache ? *pipelineCache : DE_NULL, &graphicsPipelin… in testEarlyDestroy()
|
D | vktPipelinePushConstantTests.cpp | 263 const VkDevice vkDevice = m_context.getDevice(); in init() local 265 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIn… in init() 293 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in init() 296 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in init() 297 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in init() 314 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in init() 318 m_renderPass = makeRenderPass(vk, vkDevice, m_colorFormat); in init() 340 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in init() 346 …ddSingleBinding(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_SHADER_STAGE_VERTEX_BIT).build(vk, vkDevice); in init() 349 …rPoolBuilder().addType(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1u).build(vk, vkDevice, VK_DESCRIPTOR_PO… in init() [all …]
|
D | vktPipelineDepthTests.cpp | 273 const VkDevice vkDevice = context.getDevice(); in DepthTestInstance() local 275 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in DepthTestInstance() 306 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in DepthTestInstance() 309 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in DepthTestInstance() 310 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in DepthTestInstance() 338 m_depthImage = createImage(vk, vkDevice, &depthImageParams); in DepthTestInstance() 341 …m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), Mem… in DepthTestInstance() 342 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_depthImage, m_depthImageAlloc->getMemory(), m_depthImageA… in DepthTestInstance() 363 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in DepthTestInstance() 380 m_depthAttachmentView = createImageView(vk, vkDevice, &depthAttachmentViewParams); in DepthTestInstance() [all …]
|
D | vktPipelineStencilTests.cpp | 317 const VkDevice vkDevice = context.getDevice(); in StencilTestInstance() local 319 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in StencilTestInstance() 344 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in StencilTestInstance() 347 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in StencilTestInstance() 348 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in StencilTestInstance() 376 m_stencilImage = createImage(vk, vkDevice, &stencilImageParams); in StencilTestInstance() 379 …m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage),… in StencilTestInstance() 380 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_stencilImage, m_stencilImageAlloc->getMemory(), m_stencil… in StencilTestInstance() 401 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in StencilTestInstance() 418 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 | vktPipelineTimestampTests.cpp | 358 const VkDevice vkDevice = m_context.getDevice(); in bindShaderStage() local 373 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); in bindShaderStage() 382 const VkDevice vkDevice = m_context.getDevice(); in buildPipeline() local 416 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in buildPipeline() 494 vkDevice, // const VkDevice device in buildPipeline() 601 const VkDevice vkDevice = context.getDevice(); in TimestampTestInstance() local 626 m_queryPool = createQueryPool(vk, vkDevice, &queryPoolParams); in TimestampTestInstance() 630 …m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex… in TimestampTestInstance() 633 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in TimestampTestInstance() 668 const VkDevice vkDevice = m_context.getDevice(); in iterate() local [all …]
|
D | vktPipelineBlendTests.cpp | 305 const VkDevice vkDevice = m_context.getDevice(); in BlendTestInstance() local 307 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in BlendTestInstance() 337 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in BlendTestInstance() 340 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in BlendTestInstance() 341 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in BlendTestInstance() 358 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in BlendTestInstance() 362 m_renderPass = makeRenderPass(vk, vkDevice, m_colorFormat); in BlendTestInstance() 379 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in BlendTestInstance() 395 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in BlendTestInstance() 398 …m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color… in BlendTestInstance() [all …]
|
D | vktPipelineInputAssemblyTests.cpp | 924 const VkDevice vkDevice = context.getDevice(); in InputAssemblyInstance() local 926 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstan… in InputAssemblyInstance() 970 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in InputAssemblyInstance() 973 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in InputAssemblyInstance() 974 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in InputAssemblyInstance() 991 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in InputAssemblyInstance() 995 m_renderPass = makeRenderPass(vk, vkDevice, m_colorFormat); in InputAssemblyInstance() 1012 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in InputAssemblyInstance() 1028 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in InputAssemblyInstance() 1031 …m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color… in InputAssemblyInstance() [all …]
|
D | vktPipelineImageSamplingInstance.cpp | 223 const VkDevice vkDevice = context.getDevice(); in ImageSamplingInstance() local 226 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInsta… in ImageSamplingInstance() 374 m_images[imgNdx] = SharedImagePtr(new UniqueImage(createImage(vk, vkDevice, &imageParams))); in ImageSamplingInstance() 375 …dx] = SharedAllocPtr(new UniqueAlloc(allocateImage(vki, vk, physDevice, vkDevice, **m_images[imgNd… in ImageSamplingInstance() 376 …VK_CHECK(vk.bindImageMemory(vkDevice, **m_images[imgNdx], (*m_imageAllocs[imgNdx])->getMemory(), (… in ImageSamplingInstance() 379 …uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, **m_images[imgNdx]); in ImageSamplingInstance() 394 …m_imageViews[imgNdx] = SharedImageViewPtr(new UniqueImageView(createImageView(vk, vkDevice, &image… in ImageSamplingInstance() 397 m_sampler = createSampler(vk, vkDevice, &m_samplerParams); in ImageSamplingInstance() 406 …m_descriptorPool = descriptorPoolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRI… in ImageSamplingInstance() 413 m_descriptorSetLayout = setLayoutBuilder.build(vk, vkDevice); in ImageSamplingInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryBindingTests.cpp | 425 const VkDevice vkDevice = ctx.getDevice(); in createBindingTargets() local 432 targets.push_back(BufferPtr(new Move<VkBuffer>(createBuffer(vk, vkDevice, &bufferParams)))); in createBindingTargets() 442 const VkDevice vkDevice = ctx.getDevice(); in createBindingTargets() local 449 targets.push_back(ImagePtr(new Move<VkImage>(createImage(vk, vkDevice, &imageParams)))); in createBindingTargets() 469 const VkDevice vkDevice = ctx.getDevice(); in createMemory() local 476 vk.getBufferMemoryRequirements(vkDevice, **targets[i], &memReqs); in createMemory() 481 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory() 482 …kDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevice, DE_NULL)))); in createMemory() 495 const VkDevice vkDevice = ctx.getDevice(); in createMemory() local 501 vk.getImageMemoryRequirements(vkDevice, **targets[i], &memReqs); in createMemory() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.cpp | 320 const VkDevice vkDevice = m_context.getDevice(); in updateTextureData() local 393 m_textureImage = createImage(vkd, vkDevice, &imageParams); in updateTextureData() 398 vkDevice, in updateTextureData() 412 …m_textureImageMemory = allocator.allocate(getImageMemoryRequirements(vkd, vkDevice, *m_textureImag… in updateTextureData() 413 …VK_CHECK(vkd.bindImageMemory(vkDevice, *m_textureImage, m_textureImageMemory->getMemory(), m_textu… in updateTextureData() 416 vkDevice, in updateTextureData() 430 const VkDevice vkDevice = m_context.getDevice(); in updateTextureViewMipLevels() local 454 m_textureImageView = createImageView(vkd, vkDevice, &viewParams); in updateTextureViewMipLevels() 478 const VkDevice vkDevice = m_context.getDevice(); in TextureRenderer() local 483 …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 | 271 const VkDevice vkDevice = m_context.getDevice(); in iterate() local 278 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &bufferInfo); in iterate() 279 …_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), … in iterate() 285 Move<VkImage> colorAttachmentImage = createImage(vk, vkDevice, &colorAttachmentInfo); in iterate() 286 …m_context.getDefaultAllocator().allocate(getImageMemoryRequirements(vk, vkDevice, *colorAttachment… in iterate() 287 …VK_CHECK(vk.bindImageMemory(vkDevice, *colorAttachmentImage, allocationAttachment->getMemory(), al… in iterate() 288 …Move<VkImageView> colorAttachmentView = makeImageView(vk, vkDevice, *colorAttachmentImage, V… in iterate() 294 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, allocationVertex->getMemory(), allocationVer… in iterate() 296 flushAlloc(vk, vkDevice, *allocationVertex); in iterate() 298 Move<VkRenderPass> renderPass = makeRenderPass (vk, vkDevice, m_colorFormat); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 710 const VkDevice vkDevice = getDevice(); in setupUniformData() local 726 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams); in setupUniformData() 727 …de::MovePtr<Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice,… in setupUniformData() 728 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in setupUniformData() 731 flushAlloc(vk, vkDevice, *alloc); in setupUniformData() 780 const VkDevice vkDevice = getDevice(); in addAttribute() local 797 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); in addAttribute() 798 …ion> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), Memory… in addAttribute() 799 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute() 802 flushAlloc(vk, vkDevice, *alloc); in addAttribute() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 764 const VkDevice vkDevice = m_context.getDevice(); in addAttribute() local 781 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); in addAttribute() 782 …_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), Memory… in addAttribute() 784 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute() 787 flushAlloc(vk, vkDevice, *alloc); in addAttribute() 888 const VkDevice vkDevice = m_context.getDevice(); in execute() local 924 …kDescriptorSetLayout> emptyDescriptorSetLayout (createEmptyDescriptorSetLayout(vk, vkDevice)); in execute() 925 Unique<VkDescriptorPool> dummyDescriptorPool (createDummyDescriptorPool(vk, vkDevice)); in execute() 926 …Unique<VkDescriptorSet> emptyDescriptorSet (allocateSingleDescriptorSet(vk, vkDevice, *du… in execute() 1000 Move<VkImage> colorImage = createImage(vk, vkDevice, &colorImageParams); in execute() [all …]
|