HomeSort by relevance Sort by last modified time
    Searched defs:vkDevice (Results 1 - 25 of 27) sorted by null

1 2

  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiBufferAndImageAllocationUtil.cpp 49 const VkDevice vkDevice = context.getDevice();
64 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL);
65 memory = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), requirement);
66 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), 0));
86 const VkDevice vkDevice = context.getDevice();
103 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL);
104 memory = allocateDedicated(vkInstance, vk, vkPhysicalDevice, vkDevice, buffer.get(), requirement);
105 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), memory->getOffset()))
    [all...]
vktApiBufferViewCreateTests.cpp 136 const VkDevice vkDevice = context.getDevice();
154 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL);
161 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs);
180 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL);
187 if (vk.bindBufferMemory(vkDevice, *testBuffer, *memory, 0) != VK_SUCCESS)
205 const VkDevice vkDevice = context.getDevice();
238 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL);
252 vk.getBufferMemoryRequirements2(vkDevice, &info, &memReqs)
    [all...]
vktApiFillBufferTests.cpp 111 const VkDevice vkDevice = context.getDevice();
116 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex);
119 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY);
122 m_fence = createFence(vk, vkDevice);
139 const VkDevice vkDevice = m_context.getDevice();
181 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get()));
183 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity */));
187 invalidateMappedMemoryRange(vk, vkDevice, m_destinationBufferAlloc->getMemory(), m_destinationBufferAlloc->getOffset(), m_params.dstOffset)
    [all...]
vktApiSmokeTests.cpp 64 const VkDevice vkDevice = context.getDevice();
90 Move<VkSampler> tmpSampler = createSampler(vk, vkDevice, &samplerInfo);
111 const VkDevice vkDevice = context.getDevice();
113 const Unique<VkShaderModule> shader (createShaderModule(vk, vkDevice, context.getBinaryCollection().get("test"), 0));
332 const VkDevice vkDevice = context.getDevice();
336 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
359 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams))
    [all...]
vktApiBufferTests.cpp 113 VkDevice getDevice (void) const
150 SparseContext (Move<VkDevice>& device,
159 Unique<VkDevice> m_device;
220 Move<VkDevice> device = createDevice(vk, physicalDevice, &deviceInfo);
307 const VkDevice vkDevice = getDevice();
337 buffer = createBuffer(vk, vkDevice, &bufferParams);
338 vk.getBufferMemoryRequirements(vkDevice, *buffer, &memReqs);
369 result = vk.createBuffer(vkDevice, &bufferParams, (vk::VkAllocationCallbacks*)DE_NULL, &rawBuffer);
383 buffer = Move<VkBuffer>(check<VkBuffer>(rawBuffer), Deleter<VkBuffer>(vk, vkDevice, DE_NULL))
    [all...]
vktApiBufferViewAccessTests.cpp 163 const VkDevice vkDevice = context.getDevice();
165 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
202 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
253 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams);
276 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams);
303 m_descriptorSetLayout = createDescriptorSetLayout(vk, vkDevice, &descriptorLayoutParams);
313 flushMappedMemoryRange(vk, vkDevice, m_uniformBufferAlloc->getMemory(), m_uniformBufferAlloc->getOffset(), uniformSize);
326 m_uniformBufferView = createBufferView(vk, vkDevice, &viewInfo);
347 m_descriptorPool = createDescriptorPool(vk, vkDevice, &descriptorPoolParams)
    [all...]
vktApiCommandBuffersTests.cpp 69 const VkDevice m_device;
484 const VkDevice vkDevice = context.getDevice();
488 createCommandPool(vk, vkDevice, 0u, queueFamilyIndex);
495 const VkDevice vkDevice = context.getDevice();
508 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks);
515 const VkDevice vkDevice = context.getDevice();
527 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineTimestampTests.cpp 339 const VkDevice vkDevice = m_context.getDevice();
354 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo);
371 const VkDevice vkDevice = m_context.getDevice();
386 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams);
585 return createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams);
677 const VkDevice vkDevice = context.getDevice();
702 m_queryPool = createQueryPool(vk, vkDevice, &queryPoolParams)
    [all...]
vktPipelineDepthTests.cpp 231 const VkDevice vkDevice = context.getDevice();
233 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
260 m_colorImage = createImage(vk, vkDevice, &colorImageParams);
263 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
264 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
292 m_depthImage = createImage(vk, vkDevice, &depthImageParams);
295 m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), MemoryRequirement::Any);
296 VK_CHECK(vk.bindImageMemory(vkDevice, *m_depthImage, m_depthImageAlloc->getMemory(), m_depthImageAlloc->getOffset()));
317 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams)
    [all...]
vktPipelineBlendTests.cpp 303 const VkDevice vkDevice = m_context.getDevice();
305 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()));
335 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo);
338 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
339 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
356 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
407 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams);
425 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams);
441 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams)
    [all...]
vktPipelineImageSamplingInstance.cpp 52 const VkDevice device,
82 const VkDevice device,
218 const VkDevice vkDevice = context.getDevice();
221 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
317 m_images[imgNdx] = SharedImagePtr(new UniqueImage(createImage(vk, vkDevice, &imageParams)));
318 m_imageAllocs[imgNdx] = SharedAllocPtr(new UniqueAlloc(allocateImage(vki, vk, physDevice, vkDevice, **m_images[imgNdx], MemoryRequirement::Any, memAlloc, m_allocationKind)));
319 VK_CHECK(vk.bindImageMemory(vkDevice, **m_images[imgNdx], (*m_imageAllocs[imgNdx])->getMemory(), (*m_imageAllocs[imgNdx])->getOffset()));
322 uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, **m_images[imgNdx]);
337 m_imageViews[imgNdx] = SharedImageViewPtr(new UniqueImageView(createImageView(vk, vkDevice, &imageViewParams)))
    [all...]
vktPipelineInputAssemblyTests.cpp 923 const VkDevice vkDevice = context.getDevice();
925 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
969 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo);
972 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
973 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
990 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
    [all...]
vktPipelinePushConstantTests.cpp 142 VkDevice device,
549 VkDevice device,
605 const VkDevice vkDevice = context.getDevice();
607 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
634 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo);
637 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
638 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
655 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
717 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams)
    [all...]
vktPipelineStencilTests.cpp 317 const VkDevice vkDevice = context.getDevice();
319 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
344 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo);
347 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
348 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
376 m_stencilImage = createImage(vk, vkDevice, &stencilImageParams);
379 m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage), MemoryRequirement::Any);
380 VK_CHECK(vk.bindImageMemory(vkDevice, *m_stencilImage, m_stencilImageAlloc->getMemory(), m_stencilImageAlloc->getOffset()));
401 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams)
    [all...]
vktPipelineCacheTests.cpp 190 const VkDevice vkDevice = m_context.getDevice();
205 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo);
222 const VkDevice vkDevice = m_context.getDevice();
419 return createGraphicsPipeline(vk, vkDevice, cache, &graphicsPipelineParams);
440 const VkDevice vkDevice = context.getDevice();
455 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams);
457 *pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)
    [all...]
vktPipelineVertexInputTests.cpp 792 const VkDevice vkDevice = context.getDevice();
794 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
828 m_colorImage = createImage(vk, vkDevice, &colorImageParams);
831 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
832 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
849 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
    [all...]
vktPipelineMultisampleTests.cpp     [all...]
  /external/deqp/external/vulkancts/modules/vulkan/protected_memory/
vktProtectedMemUtils.cpp 147 vk::Move<vk::VkDevice> makeProtectedMemDevice (const vk::InstanceDriver& vkd,
246 vk::VkDevice device,
282 const vk::VkDevice& device = context.getDevice();
331 const vk::VkDevice& device = context.getDevice();
381 const vk::VkDevice vkDevice = context.getDevice();
430 return vk::createRenderPass(vk, vkDevice, &renderPassParams);
436 const vk::VkDevice vkDevice = context.getDevice();
452 return vk::createFramebuffer(vk, vkDevice, &framebufferParams)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktBasicDrawTests.cpp 273 void initPipeline (const vk::VkDevice device);
319 const vk::VkDevice device = m_context.getDevice();
430 void DrawTestInstanceBase::initPipeline (const vk::VkDevice device)
754 const vk::VkDevice vkDevice = m_context.getDevice();
783 indexBuffer = createBuffer(vk, vkDevice, &bufferCreateInfo);
787 indexAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indexBuffer), vk::MemoryRequirement::HostVisible);
788 VK_CHECK(vk.bindBufferMemory(vkDevice, *indexBuffer, indexAlloc->getMemory(), indexAlloc->getOffset()));
792 vk::flushMappedMemoryRange(m_vk, vkDevice, indexAlloc->getMemory(), indexAlloc->getOffset(), bufferSize);
882 const vk::VkDevice vkDevice = m_context.getDevice()
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/memory/
vktMemoryBindingTests.cpp 64 const VkDevice& device,
98 const VkDevice& dev;
414 VkDevice device,
441 const VkDevice vkDevice = ctx.getDevice();
448 targets.push_back(BufferPtr(new Move<VkBuffer>(createBuffer(vk, vkDevice, &bufferParams))));
458 const VkDevice vkDevice = ctx.getDevice();
465 targets.push_back(ImagePtr(new Move<VkImage>(createImage(vk, vkDevice, &imageParams))));
485 const VkDevice vkDevice = ctx.getDevice()
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/rasterization/
vktRasterizationTests.cpp 213 const VkDevice vkDevice = m_context.getDevice();
220 m_commandPool = createCommandPool(vkd, vkDevice, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex);
262 m_image = vk::createImage(vkd, vkDevice, &imageCreateInfo, DE_NULL);
264 m_imageMemory = allocator.allocate(getImageMemoryRequirements(vkd, vkDevice, *m_image), MemoryRequirement::Any);
265 VK_CHECK(vkd.bindImageMemory(vkDevice, *m_image, m_imageMemory->getMemory(), m_imageMemory->getOffset()));
288 m_imageView = vk::createImageView(vkd, vkDevice, &imageViewCreateInfo, DE_NULL);
328 m_resolvedImage = vk::createImage(vkd, vkDevice, &imageCreateInfo, DE_NULL);
329 m_resolvedImageMemory = allocator.allocate(getImageMemoryRequirements(vkd, vkDevice, *m_resolvedImage), MemoryRequirement::Any);
330 VK_CHECK(vkd.bindImageMemory(vkDevice, *m_resolvedImage, m_resolvedImageMemory->getMemory(), m_resolvedImageMemory->getOffset()))
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/texture/
vktTextureTestUtil.cpp 303 const VkDevice vkDevice = m_context.getDevice();
368 m_textureImage = createImage(vkd, vkDevice, &imageParams);
369 m_textureImageMemory = allocator.allocate(getImageMemoryRequirements(vkd, vkDevice, *m_textureImage), MemoryRequirement::Any);
370 VK_CHECK(vkd.bindImageMemory(vkDevice, *m_textureImage, m_textureImageMemory->getMemory(), m_textureImageMemory->getOffset()));
374 pipeline::uploadTestTexture(vkd, vkDevice, queue, queueFamilyIndex, allocator, *m_textureData, *m_textureImage);
380 const VkDevice vkDevice = m_context.getDevice();
404 m_textureImageView = createImageView(vkd, vkDevice, &viewParams);
427 const VkDevice vkDevice = m_context.getDevice()
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRender.cpp 636 Move<VkDevice> ShaderRenderCaseInstance::SparseContext::createDevice () const
699 VkDevice ShaderRenderCaseInstance::getDevice (void) const
793 const VkDevice vkDevice = getDevice();
809 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams);
810 de::MovePtr<Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible);
811 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset()));
814 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), size);
863 const VkDevice vkDevice = getDevice()
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ubo/
vktUniformBlockCase.cpp     [all...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
vktShaderExecutor.cpp 611 const VkDevice vkDevice = m_context.getDevice();
628 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams);
629 de::MovePtr<Allocation> alloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible);
631 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset()));
634 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), inputSize);
686 static Move<VkDescriptorSetLayout> createEmptyDescriptorSetLayout (const DeviceInterface& vkd, VkDevice device)
699 static Move<VkDescriptorPool> createDummyDescriptorPool (const DeviceInterface& vkd, VkDevice device)
718 static Move<VkDescriptorSet> allocateSingleDescriptorSet (const DeviceInterface& vkd, VkDevice device, VkDescriptorPool pool, VkDescriptorSetLayout layout)
733 const VkDevice vkDevice = m_context.getDevice()
    [all...]

Completed in 652 milliseconds

1 2