/external/vulkan-validation-layers/demos/smoke/ |
Smoke.cpp | 99 vk::GetPhysicalDeviceProperties(physical_dev_, &physical_dev_props_); 107 vk::GetPhysicalDeviceMemoryProperties(physical_dev_, &mem_props); 150 vk::DestroyPipeline(dev_, pipeline_, nullptr); 151 vk::DestroyPipelineLayout(dev_, pipeline_layout_, nullptr); 152 if (!use_push_constants_) vk::DestroyDescriptorSetLayout(dev_, desc_set_layout_, nullptr); 153 vk::DestroyShaderModule(dev_, fs_, nullptr); 154 vk::DestroyShaderModule(dev_, vs_, nullptr); 155 vk::DestroyRenderPass(dev_, render_pass_, nullptr); 206 vk::assert_success(vk::CreateRenderPass(dev_, &render_pass_info, nullptr, &render_pass_)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationOperationSingleQueueTests.cpp | 47 using namespace vk; 78 const DeviceInterface& vk = m_context.getDeviceInterface(); local 82 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); 83 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); 84 const Unique<VkEvent> event (createEvent(vk, device)); 88 beginCommandBuffer(vk, *cmdBuffer); 91 vk.cmdSetEvent(*cmdBuffer, *event, writeSync.stageMask); 97 vk.cmdWaitEvents(*cmdBuffer, 1u, &event.get(), writeSync.stageMask, readSync.stageMask, 0u, DE_NULL, 1u, &barrier, 0u, DE_NULL); 103 vk.cmdWaitEvents(*cmdBuffer, 1u, &event.get(), writeSync.stageMask, readSync.stageMask, 0u, DE_NULL, 0u, DE_NULL, 1u, &barrier); 108 endCommandBuffer(vk, *cmdBuffer) 133 const DeviceInterface& vk = m_context.getDeviceInterface(); local 188 const DeviceInterface& vk = m_context.getDeviceInterface(); local 270 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktSynchronizationOperation.cpp | 47 using namespace vk; 94 const DeviceInterface& vk = context.getDeviceInterface(); local 112 m_vertexBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible)); 119 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), vertexDataSizeBytes); 128 m_indexBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(indexBufferSizeBytes, VK_BUFFER_USAGE_INDEX_BUFFER_BIT), MemoryRequirement::HostVisible)); 137 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), indexBufferSizeBytes); 204 const DeviceInterface& vk = context.getDeviceInterface(); local 213 invalidateMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), size); 502 const DeviceInterface& vk = m_context.getDeviceInterface(); local 505 vk.cmdFillBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_resource. (…) 595 const DeviceInterface& vk = m_context.getDeviceInterface(); local 614 const DeviceInterface& vk = m_context.getDeviceInterface(); local 700 const DeviceInterface& vk = m_context.getDeviceInterface(); local 724 const DeviceInterface& vk = m_context.getDeviceInterface(); local 858 const DeviceInterface& vk = m_context.getDeviceInterface(); local 902 const DeviceInterface& vk = m_context.getDeviceInterface(); local 984 const DeviceInterface& vk = context.getDeviceInterface(); local 1027 const DeviceInterface& vk = context.getDeviceInterface(); local 1081 const DeviceInterface& vk = context.getDeviceInterface(); local 1108 const DeviceInterface& vk = context.getDeviceInterface(); local 1148 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1213 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1273 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1354 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1775 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1789 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1835 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1855 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1968 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1992 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2053 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2067 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2167 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2272 const DeviceInterface& vk = context.getDeviceInterface(); local 2342 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2529 const DeviceInterface& vk = context.getDeviceInterface(); local 2617 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2762 const DeviceInterface& vk = context.getDeviceInterface(); local 2794 const DeviceInterface& vk = context.getDeviceInterface(); local 2867 const DeviceInterface& vk = context.getDeviceInterface(); local 2878 const DeviceInterface& vk = context.getDeviceInterface(); local 2904 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2945 const DeviceInterface& vk = m_context.getDeviceInterface(); local 3037 const DeviceInterface& vk = m_context.getDeviceInterface(); local 3206 const DeviceInterface& vk = context.getDeviceInterface(); local 3260 const DeviceInterface& vk = m_context.getDeviceInterface(); local 3457 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineMultisampleImageTests.cpp | 53 using namespace vk; 85 std::vector<PipelineSp> makeGraphicsPipelines (const DeviceInterface& vk, 307 VK_CHECK(vk.createGraphicsPipelines(device, DE_NULL, static_cast<deUint32>(graphicsPipelineInfos.size()), &graphicsPipelineInfos[0], DE_NULL, &rawPipelines[0])); 312 pipelines.push_back(makeSharedPtr(Move<VkPipeline>(check<VkPipeline>(*it), Deleter<VkPipeline>(vk, device, DE_NULL)))); 318 Move<VkRenderPass> makeMultisampleRenderPass (const DeviceInterface& vk, 381 return createRenderPass(vk, device, &renderPassInfo); 385 Move<VkRenderPass> makeSimpleRenderPass (const DeviceInterface& vk, 435 return createRenderPass(vk, device, &renderPassInfo); 438 Move<VkImage> makeImage (const DeviceInterface& vk, const VkDevice device, const VkFormat format, const IVec2& size, const deUint32 numLayers, const VkSampleCountFlagBits samples, const VkImageUsageFlags usage) 458 return createImage(vk, device, &imageParams) [all...] |
vktPipelineFramebufferAttachmentTests.cpp | 56 using namespace vk; 116 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 183 return createRenderPass(vk, device, &renderPassInfo); 186 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 387 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 390 Move<VkImage> makeImage (const DeviceInterface& vk, 419 return createImage(vk, device, &imageParams); 495 inline Move<VkBuffer> makeBuffer (const DeviceInterface& vk, const VkDevice device, const VkDeviceSize bufferSize, const VkBufferUsageFlags usage) 498 return createBuffer(vk, device, &bufferCreateInfo); 512 const DeviceInterface& vk = context.getDeviceInterface() local 923 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
vktPipelinePushConstantTests.cpp | 54 using namespace vk; 141 void createShaderStage (const DeviceInterface& vk, 548 void PushConstantGraphicsTestInstance::createShaderStage (const DeviceInterface& vk, 555 *module = createShaderModule(vk, device, programCollection.get(name), 0); 557 const vk::VkPipelineShaderStageCreateInfo stageCreateInfo = 604 const DeviceInterface& vk = context.getDeviceInterface(); local 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->getOff (…) 1209 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1285 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1395 const DeviceInterface& vk = context.getDeviceInterface(); local 1532 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineTimestampTests.cpp | 55 using namespace vk; 338 const DeviceInterface& vk = m_context.getDeviceInterface(); 354 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); 370 const DeviceInterface& vk = m_context.getDeviceInterface(); 386 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 585 return createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams); 676 const DeviceInterface& vk = context.getDeviceInterface(); local 682 const std::vector<VkQueueFamilyProperties> queueProperties = vk::getPhysicalDeviceQueueFamilyProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()); 702 m_queryPool = createQueryPool(vk, vkDevice, &queryPoolParams); 706 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationGeometryPointSizeTests.cpp | 47 using namespace vk; 163 void initPrograms (vk::SourceCollections& programCollection, const Flags flags) 307 const DeviceInterface& vk = context.getDeviceInterface(); local 318 const Image colorAttachmentImage (vk, device, allocator, 325 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 329 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange)); 330 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); 331 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 332 const Unique<VkPipelineLayout> pipelineLayout (makePipelineLayoutWithoutDescriptors(vk, device)); 333 const Unique<VkCommandPool> cmdPool (makeCommandPool (vk, device, queueFamilyIndex)) [all...] |
vktTessellationMiscDrawTests.cpp | 52 using namespace vk; 129 const DeviceInterface& vk = context.getDeviceInterface(); local 145 const Buffer vertexBuffer(vk, device, allocator, 155 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), vertexDataSizeBytes); 164 const Image colorAttachmentImage (vk, device, allocator, 171 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 175 const Buffer tessLevelsBuffer(vk, device, allocator, 182 .build(vk, device)); 186 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); 188 const Unique<VkDescriptorSet> descriptorSet(makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout)) [all...] |
vktTessellationPrimitiveDiscardTests.cpp | 48 using namespace vk; 255 void initPrograms (vk::SourceCollections& programCollection, const CaseDefinition caseDef) 380 const DeviceInterface& vk = context.getDeviceInterface(); 408 const Buffer vertexBuffer (vk, device, allocator, makeBufferCreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible); 416 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), vertexDataSizeBytes); 423 const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 428 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), resultBufferSizeBytes); 436 const Image colorAttachmentImage (vk, device, allocator, 443 const Buffer colorBuffer(vk, device, allocator, 450 .build(vk, device)) [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkStrUtil.cpp | 26 namespace vk namespace 51 } // vk
|
vkStrUtil.hpp | 29 namespace vk namespace 43 } // vk
|
vkDefs.cpp | 29 DE_STATIC_ASSERT(sizeof(vk::VkImageType) == sizeof(deUint32)); 30 DE_STATIC_ASSERT(sizeof(vk::VkResult) == sizeof(deUint32)); 31 DE_STATIC_ASSERT(sizeof(vk::VkDevice) == sizeof(void*)); 32 DE_STATIC_ASSERT(sizeof(vk::VkBuffer) == sizeof(deUint64)); 34 namespace vk namespace 94 } // vk
|
/external/deqp/framework/common/ |
tcuPlatform.cpp | 52 const vk::Platform& Platform::getVulkanPlatform (void) const
|
/external/deqp/modules/internal/ |
ditVulkanTests.cpp | 38 group->addChild(new SelfCheckCase(testCtx, "image_util", "ImageUtil self-check tests", vk::imageUtilSelfTest));
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
vktFragmentOperationsScissorMultiViewportTests.cpp | 49 using namespace vk; 95 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 145 return createRenderPass(vk, device, &renderPassInfo); 148 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 362 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 365 void zeroBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize size) 368 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), size); 564 const DeviceInterface& vk = context.getDeviceInterface(); local 569 m_colorImage = makeImage (vk, device, makeImageCreateInfo(m_colorFormat, m_renderSize, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT)); 570 m_colorImageAlloc = bindImage (vk, device, allocator, *m_colorImage, MemoryRequirement::Any) 596 const DeviceInterface& vk = context.getDeviceInterface(); local 720 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktBuildPrograms.cpp | 57 typedef de::SharedPtr<vk::SpirVAsmSource> SpirVAsmSourceSp; 58 typedef de::SharedPtr<vk::ProgramBinary> ProgramBinarySp; 195 vk::ProgramIdentifier id; 204 vk::SpirvVersion spirvVersion; 206 explicit Program (const vk::ProgramIdentifier& id_, const vk::SpirvVersion spirvVersion_) 216 , spirvVersion (vk::SPIRV_VERSION_LAST) 261 DE_ASSERT(m_source.buildOptions.targetVersion < vk::SPIRV_VERSION_LAST); 263 m_program->binary = ProgramBinarySp(vk::buildProgram(m_source, &buildInfo)); 282 void writeBuildLogs (const vk::SpirVProgramInfo& buildInfo, std::ostream& dst [all...] |
vktDrawUtil.cpp | 45 using namespace vk; 65 rr::PrimitiveType mapVkPrimitiveToRRPrimitive(const vk::VkPrimitiveTopology& primitiveTopology) 81 return de::getSizedArrayElement<vk::VK_PRIMITIVE_TOPOLOGY_PATCH_LIST>(primitiveTypeTable, primitiveTopology); 145 Move<VkCommandPool> makeCommandPool (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex) 154 return createCommandPool(vk, device, &info); 157 Move<VkCommandBuffer> makeCommandBuffer (const DeviceInterface& vk, const VkDevice device, const VkCommandPool commandPool) 167 return allocateCommandBuffer(vk, device, &info); 170 Move<VkDescriptorSet> makeDescriptorSet (const DeviceInterface& vk, 183 return allocateDescriptorSet(vk, device, &info); 186 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, 373 const DeviceInterface& vk = m_context.getDeviceInterface(); local 892 const DeviceInterface& vk = m_context.getDeviceInterface(); local 904 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryTestsUtil.cpp | 34 using namespace vk; 41 GraphicsPipelineBuilder& GraphicsPipelineBuilder::setShader (const DeviceInterface& vk, 52 m_vertexShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 58 m_tessControlShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 64 m_tessEvaluationShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 70 m_geometryShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 76 m_fragmentShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 133 Move<VkPipeline> GraphicsPipelineBuilder::build (const DeviceInterface& vk, 309 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 420 Move<VkDescriptorSet> makeDescriptorSet (const DeviceInterface& vk, [all...] |
vktGeometryInstancedRenderingTests.cpp | 50 using namespace vk; 85 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 135 return createRenderPass(vk, device, &renderPassInfo); 138 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 337 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 348 const DeviceInterface& vk = context.getDeviceInterface(); local 358 const Unique<VkImage> colorImage (makeImage (vk, device, makeImageCreateInfo(colorFormat, colorImageExtent, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT))); 359 const UniquePtr<Allocation> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, MemoryRequirement::Any)); 360 const Unique<VkImageView> colorAttachment (makeImageView (vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresourceRange)); 363 const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, makeBufferCreateInfo(vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT))) 626 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesBufferTests.cpp | 52 using namespace vk; 109 MovePtr<SparseAllocation> build (const DeviceInterface& vk, 208 MovePtr<SparseAllocation> SparseAllocationBuilder::build (const DeviceInterface& vk, 218 const Unique<VkBuffer> refBuffer (createBuffer(vk, device, &referenceCreateInfo)); 219 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vk, device, *refBuffer); 272 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 322 return createRenderPass(vk, device, &renderPassInfo); 325 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 493 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 525 Renderer (const DeviceInterface& vk, 776 const DeviceInterface& vk = getDeviceInterface(); local 957 const DeviceInterface& vk = getDeviceInterface(); local 967 const DeviceInterface& vk = getDeviceInterface(); local 1248 const DeviceInterface& vk = getDeviceInterface(); local 1285 const DeviceInterface& vk = getDeviceInterface(); local 1376 const DeviceInterface& vk = getDeviceInterface(); local 1420 const DeviceInterface& vk = getDeviceInterface(); local 1438 const DeviceInterface& vk = getDeviceInterface(); local 1488 const DeviceInterface& vk = getDeviceInterface(); local 1503 const DeviceInterface& vk = getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
vktSSBOLayoutCase.cpp | 1894 const vk::DeviceInterface& vk = context.getDeviceInterface(); local 1963 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryBindingTests.cpp | 48 using namespace vk; 69 : vk (deviceInterface) 75 vk.mapMemory(dev, memory, offset, size, flags, &hostPtr); 80 vk.unmapMemory(dev, memory); 93 VK_CHECK(vk.flushMappedMemoryRanges(dev, 1u, &range)); 97 const DeviceInterface& vk; member in class:vkt::memory::__anon17723::MemoryMappingRAII 413 Move<VkCommandBuffer> createCommandBuffer (const DeviceInterface& vk, 425 return allocateCommandBuffer(vk, device, &allocInfo); 442 const DeviceInterface& vk = ctx.getDeviceInterface(); local 448 targets.push_back(BufferPtr(new Move<VkBuffer>(createBuffer(vk, vkDevice, &bufferParams)))) 459 const DeviceInterface& vk = ctx.getDeviceInterface(); local 484 const DeviceInterface& vk = ctx.getDeviceInterface(); local 510 const DeviceInterface& vk = ctx.getDeviceInterface(); local 535 const DeviceInterface& vk = ctx.getDeviceInterface(); local 562 const DeviceInterface& vk = ctx.getDeviceInterface(); local 596 const DeviceInterface& vk = ctx.getDeviceInterface(); local 616 const DeviceInterface& vk = ctx.getDeviceInterface(); local 639 const DeviceInterface& vk = ctx.getDeviceInterface(); local 670 const DeviceInterface& vk = ctx.getDeviceInterface(); local 731 const DeviceInterface& vk = ctx.getDeviceInterface(); local 776 const DeviceInterface& vk = ctx.getDeviceInterface(); local 797 const DeviceInterface& vk = ctx.getDeviceInterface(); local 815 const DeviceInterface& vk = ctx.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiFillBufferTests.cpp | 48 using namespace vk; 110 const DeviceInterface& vk = context.getDeviceInterface(); local 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); 138 const DeviceInterface& vk = m_context.getDeviceInterface(); local 163 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); 164 vk.cmdFillBuffer(*m_cmdBuffer, *m_destination, m_params.dstOffset, m_params.size, m_params.testData[0]); 165 vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 1, &dstBufferBarrier, 0, (const VkImageMemoryBarrier*)DE_NULL); 166 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)) 214 const DeviceInterface& vk = m_context.getDeviceInterface(); local 303 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
vktRobustnessUtil.cpp | 41 using namespace vk; 229 const DeviceInterface& vk = context.getDeviceInterface(); local 241 m_commandPool = createCommandPool(vk, m_device, &commandPoolParams); 255 m_commandBuffer = allocateCommandBuffer(vk, m_device, &commandBufferAllocateInfo); 278 const DeviceInterface& vk = context.getDeviceInterface(); local 281 SimpleAllocator memAlloc (vk, m_device, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 304 m_colorImage = createImage(vk, m_device, &colorImageParams); 305 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, m_device, *m_colorImage), MemoryRequirement::Any); 306 VK_CHECK(vk.bindImageMemory(m_device, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 320 m_colorAttachmentView = createImageView(vk, m_device, &colorAttachmentViewParams) 678 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |