/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageLoadStoreTests.cpp | 53 using namespace vk; 260 const DeviceInterface& vk = context.getDeviceInterface(); local 268 vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, 1, &shaderWriteBarrier); 273 const DeviceInterface& vk = context.getDeviceInterface(); local 279 vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 1, &shaderWriteBarrier, 0, (const VkImageMemoryBarrier*)DE_NULL); 290 const DeviceInterface& vk = context.getDeviceInterface(); local 304 vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, 1, &prepareForTransferBarrier); 305 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, ©Region); 306 vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 1, ©Barrier, 0, (const VkImageMemoryBarrier*)DE_NULL); 452 const DeviceInterface& vk = m_context.getDeviceInterface() local 519 const DeviceInterface& vk = m_context.getDeviceInterface(); local 533 const DeviceInterface& vk = m_context.getDeviceInterface(); local 596 const DeviceInterface& vk = m_context.getDeviceInterface(); local 632 const DeviceInterface& vk = m_context.getDeviceInterface(); local 669 const DeviceInterface& vk = m_context.getDeviceInterface(); local 690 const DeviceInterface& vk = m_context.getDeviceInterface(); local 749 const DeviceInterface& vk = m_context.getDeviceInterface(); local 772 const DeviceInterface& vk = m_context.getDeviceInterface(); local 918 const DeviceInterface& vk = m_context.getDeviceInterface(); local 938 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1007 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1026 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1067 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1085 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1166 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1180 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1206 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktImageTranscodingSupportTests.cpp | 55 using namespace vk; 300 const DeviceInterface& vk = m_context.getDeviceInterface(); local 341 const MovePtr<Buffer> vertexBuffer = MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible)); 346 const MovePtr<Buffer> srcImageBuffer = MovePtr<Buffer>(new Buffer(vk, device, allocator, srcImageBufferInfo, MemoryRequirement::HostVisible)); 349 const MovePtr<Image> srcImage (new Image(vk, device, allocator, srcImageCreateInfo, MemoryRequirement::Any)); 350 Move<VkImageView> srcImageView (makeImageView(vk, device, srcImage->get(), mapImageViewType(m_parameters.imageType), m_parameters.featuredFormat, subresourceRange, srcImageViewUsageFlags)); 353 de::MovePtr<Image> dstImage (new Image(vk, device, allocator, dstImageCreateInfo, MemoryRequirement::Any)); 354 Move<VkImageView> dstImageView (makeImageView(vk, device, dstImage->get(), mapImageViewType(m_parameters.imageType), m_parameters.featuredFormat, subresourceRange, dstImageViewUsageFlags)); 357 MovePtr<Buffer> dstImageBuffer = MovePtr<Buffer>(new Buffer(vk, device, allocator, dstImageBufferInfo, MemoryRequirement::HostVisible)); 359 const Unique<VkShaderModule> vertShaderModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("vert"), 0)) 550 const DeviceInterface& vk = m_context.getDeviceInterface(); local 813 const InstanceInterface& vk = context.getInstanceInterface(); local [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkPrograms.cpp | 33 namespace vk namespace 273 vk::SpirvVersion getBaselineSpirvVersion (const deUint32 /* vulkanVersion */) 275 return vk::SPIRV_VERSION_1_0; 279 vk::SpirvVersion getMaxSpirvVersionForAsm (const deUint32 vulkanVersion) 281 vk::SpirvVersion result = vk::SPIRV_VERSION_LAST; 285 result = vk::SPIRV_VERSION_1_0; 287 result = vk::SPIRV_VERSION_1_3; 289 DE_ASSERT(result < vk::SPIRV_VERSION_LAST); 294 vk::SpirvVersion getMaxSpirvVersionForGlsl (const deUint32 vulkanVersion [all...] |
vkQueryUtil.hpp | 32 namespace vk namespace 44 std::vector<VkPhysicalDevice> enumeratePhysicalDevices (const InstanceInterface& vk, VkInstance instance); 45 std::vector<VkPhysicalDeviceGroupProperties> enumeratePhysicalDeviceGroups (const InstanceInterface& vk, VkInstance instance); 46 std::vector<VkQueueFamilyProperties> getPhysicalDeviceQueueFamilyProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice); 47 VkPhysicalDeviceFeatures getPhysicalDeviceFeatures (const InstanceInterface& vk, VkPhysicalDevice physicalDevice); 48 VkPhysicalDeviceFeatures2 getPhysicalDeviceFeatures2 (const InstanceInterface& vk, VkPhysicalDevice physicalDevice); 49 VkPhysicalDeviceProperties getPhysicalDeviceProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice); 50 VkPhysicalDeviceMemoryProperties getPhysicalDeviceMemoryProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice); 51 VkFormatProperties getPhysicalDeviceFormatProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, VkFormat format); 52 VkImageFormatProperties getPhysicalDeviceImageFormatProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImage (…) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawNegativeViewportHeightTests.cpp | 49 using namespace vk; 92 const DeviceInterface& vk = m_context.getDeviceInterface(); local 110 m_vertexBuffer = Buffer::createAndAlloc(vk, device, BufferCreateInfo(dataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), 114 flushMappedMemoryRange(vk, device, m_vertexBuffer->getBoundMemory().getMemory(), m_vertexBuffer->getBoundMemory().getOffset(), VK_WHOLE_SIZE); 132 m_colorTargetImage = Image::createAndAlloc(vk, device, targetImageCreateInfo, m_context.getDefaultAllocator()); 163 m_renderPass = createRenderPass(vk, device, &renderPassCreateInfo); 169 m_colorTargetView = createImageView(vk, device, &colorTargetViewInfo); 175 m_framebuffer = createFramebuffer(vk, device, &framebufferCreateInfo); 209 const Unique<VkShaderModule> vertexModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("vert"), 0)); 210 const Unique<VkShaderModule> fragmentModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("frag"), 0)) 244 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationGeometryGridRenderTests.cpp | 50 using namespace vk; 76 void initPrograms (vk::SourceCollections& programCollection) const; 532 const DeviceInterface& vk = m_context.getDeviceInterface(); local 545 const Image colorAttachmentImage (vk, device, allocator, colorImageCreateInfo, MemoryRequirement::Any); 550 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 554 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, colorAttachmentViewType, colorFormat, colorImageAllLayersRange)); 555 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); 556 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), m_params.numLayers)); 557 const Unique<VkPipelineLayout> pipelineLayout (makePipelineLayoutWithoutDescriptors(vk, device)); 558 const Unique<VkCommandPool> cmdPool (makeCommandPool (vk, device, queueFamilyIndex)) [all...] |
vktTessellationUtil.cpp | 34 using namespace vk; 97 Move<VkCommandPool> makeCommandPool (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex) 106 return createCommandPool(vk, device, &info); 110 Move<VkDescriptorSet> makeDescriptorSet (const DeviceInterface& vk, 123 return allocateDescriptorSet(vk, device, &info); 126 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, 140 return createPipelineLayout(vk, device, &info); 143 Move<VkPipelineLayout> makePipelineLayoutWithoutDescriptors (const DeviceInterface& vk, 156 return createPipelineLayout(vk, device, &info); 159 Move<VkPipeline> makeComputePipeline (const DeviceInterface& vk, [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRender.cpp | 56 using namespace vk; 519 void ShaderRenderCase::initPrograms (vk::SourceCollections& programCollection) const 638 const InstanceInterface& vk = m_context.getInstanceInterface(); 640 const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(vk, physicalDevice); 666 return vk::createDevice(vk, physicalDevice, &deviceInfo); 669 vk::Allocator* ShaderRenderCaseInstance::SparseContext::createAllocator () const 685 vk::Allocator& ShaderRenderCaseInstance::getAllocator (void) const 794 const DeviceInterface& vk = getDeviceInterface(); 809 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams) 864 const DeviceInterface& vk = getDeviceInterface(); local 1042 const DeviceInterface& vk = getDeviceInterface(); local 1235 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1424 const DeviceInterface& vk = getDeviceInterface(); local [all...] |
vktShaderRenderBuiltinVarTests.cpp | 49 using namespace vk; 321 catch (const vk::Error& e) 334 const DeviceInterface& vk = m_context.getDeviceInterface(); local 378 validationBuffer = createBuffer(vk, device, &validationBufferCreateInfo); 379 validationAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *validationBuffer), MemoryRequirement::HostVisible); 380 VK_CHECK(vk.bindBufferMemory(device, *validationBuffer, validationAlloc->getMemory(), validationAlloc->getOffset())); 403 depthResolveImage = createImage(vk, device, &depthResolveImageCreateInfo, DE_NULL); 404 depthResolveAllocation = allocator.allocate(getImageMemoryRequirements(vk, device, *depthResolveImage), MemoryRequirement::Any); 405 VK_CHECK(vk.bindImageMemory(device, *depthResolveImage, depthResolveAllocation->getMemory(), depthResolveAllocation->getOffset())); 419 depthResolveImageView = createImageView(vk, device, &depthResolveImageViewCreateInfo, DE_NULL) 1275 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2457 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineMultisampleShaderBuiltInTests.cpp | 39 using namespace vk; 134 bool checkForErrorMS (const vk::VkImageCreateInfo& imageMSInfo, const std::vector<tcu::ConstPixelBufferAccess>& dataPerSample, const deUint32 errorCompNdx) 154 bool checkForErrorRS (const vk::VkImageCreateInfo& imageRSInfo, const tcu::ConstPixelBufferAccess& dataRS, const deUint32 errorCompNdx) 179 void initPrograms (vk::SourceCollections& programCollection) const; 204 tcu::TestStatus verifyImageData (const vk::VkImageCreateInfo& imageMSInfo, 205 const vk::VkImageCreateInfo& imageRSInfo, 222 template<> tcu::TestStatus MSInstance<MSInstanceSampleID>::verifyImageData (const vk::VkImageCreateInfo& imageMSInfo, 223 const vk::VkImageCreateInfo& imageRSInfo, 261 template<> void MSCase<MSCaseSampleID>::initPrograms (vk::SourceCollections& programCollection) const 313 template<> tcu::TestStatus MSInstance<MSInstanceSamplePosDistribution>::verifyImageData (const vk::VkImageCreateInfo& imageMSInfo [all...] |
vktPipelineImageSamplingInstance.cpp | 43 using namespace vk; 216 const DeviceInterface& vk = context.getDeviceInterface(); local 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))); 340 m_sampler = createSampler(vk, vkDevice, &m_samplerParams); 349 m_descriptorPool = descriptorPoolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT 845 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineDepthTests.cpp | 52 using namespace vk; 68 DE_ASSERT(vk::isDepthStencilFormat(format)); 87 DE_ASSERT(vk::isDepthStencilFormat(format)); 92 supportedFormatsMsg << vk::getFormatName(format); 230 const DeviceInterface& vk = context.getDeviceInterface(); local 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) 791 const DeviceInterface& vk = m_context.getDeviceInterface(); local 842 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineStencilTests.cpp | 54 using namespace vk; 316 const DeviceInterface& vk = context.getDeviceInterface(); local 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) 876 const DeviceInterface& vk = m_context.getDeviceInterface(); local 960 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineRenderToImageTests.cpp | 56 using namespace vk; 227 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 434 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 438 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 528 return createRenderPass(vk, device, &renderPassInfo); 531 Move<VkImage> makeImage (const DeviceInterface& vk, 559 return createImage(vk, device, &imageParams); 562 inline Move<VkBuffer> makeBuffer (const DeviceInterface& vk, const VkDevice device, const VkDeviceSize bufferSize, const VkBufferUsageFlags usage) 565 return createBuffer(vk, device, &bufferCreateInfo); 753 const DeviceInterface& vk = context.getDeviceInterface() local 892 const DeviceInterface& vk = context.getDeviceInterface(); local 1311 const DeviceInterface& vk = context.getDeviceInterface(); local 1414 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
vktSubgroupsClusteredTests.cpp | 33 using namespace vk; 165 std::string getOpTypeOperation(int opType, vk::VkFormat format, std::string lhs, std::string rhs) 253 std::string getIdentity(int opType, vk::VkFormat format) 343 std::string getCompare(int opType, vk::VkFormat format, std::string lhs, std::string rhs) 449 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 458 programCollection.glslSources.add("fragment") << glu::FragmentSource(fragmentSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 533 << glu::ComputeSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u) [all...] |
vktSubgroupsBuiltinVarTests.cpp | 33 using namespace vk; 415 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 425 programCollection.glslSources.add("fragment") << glu::FragmentSource(source.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 458 << glu::ComputeSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 463 << glu::VertexSource(subgroups::getVertShaderForStage(caseDef.shaderStage)) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 476 << glu::FragmentSource(frag.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u) [all...] |
vktSubgroupsQuadTests.cpp | 33 using namespace vk; 218 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 228 programCollection.glslSources.add("fragment") << glu::FragmentSource(fragmentSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 296 << glu::ComputeSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 301 << glu::VertexSource(subgroups::getVertShaderForStage(caseDef.shaderStage)) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 343 << glu::FragmentSource(frag.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u) [all...] |
vktSubgroupsVoteTests.cpp | 33 using namespace vk; 285 programCollection.glslSources.add("vert") << glu::VertexSource(vertexSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 294 programCollection.glslSources.add("fragment") << glu::FragmentSource(fragmentSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 359 << glu::ComputeSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 364 << glu::VertexSource(subgroups::getVertShaderForStage(caseDef.shaderStage)) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 408 << glu::FragmentSource(frag.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiBufferViewAccessTests.cpp | 50 using namespace vk; 102 de::MovePtr<vk::Allocation> m_uniformBufferAlloc; 162 const DeviceInterface& vk = context.getDeviceInterface(); local 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) 726 const DeviceInterface& vk = m_context.getDeviceInterface(); local 753 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktApiVersionCheck.cpp | 46 using namespace vk; 69 const vk::ApiVersion instanceVersion = vk::unpackVersion(m_context.getAvailableInstanceVersion()); 70 const vk::ApiVersion deviceVersion = vk::unpackVersion(m_context.getDeviceVersion()); 71 const vk::ApiVersion usedApiVersion = vk::unpackVersion(m_context.getUsedApiVersion()); 109 const vk::Platform& platform = m_context.getTestContext().getPlatform().getVulkanPlatform(); 110 de::MovePtr<vk::Library> vkLibrary = de::MovePtr<vk::Library>(platform.createLibrary()) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
vktFragmentOperationsScissorTests.cpp | 49 using namespace vk; 114 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 164 return createRenderPass(vk, device, &renderPassInfo); 167 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 366 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 451 void zeroBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize size) 454 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), size); 543 const DeviceInterface& vk = context.getDeviceInterface(); local 548 m_colorImage = makeImage(vk, device, makeImageCreateInfo(m_colorFormat, m_renderSize, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT)); 549 m_colorImageAlloc = bindImage(vk, device, allocator, *m_colorImage, MemoryRequirement::Any) 573 const DeviceInterface& vk = context.getDeviceInterface(); local 700 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesQueueBindSparseTests.cpp | 41 using namespace vk; 134 bool waitForFences (const DeviceInterface& vk, const VkDevice device, const std::vector<FenceSp>& fences) 138 if (vk.waitForFences(device, 1u, &(***fenceSpIter), VK_TRUE, ~0ull) != VK_SUCCESS) 184 const DeviceInterface& vk = getDeviceInterface(); local 194 allSemaphores.push_back(makeVkSharedPtr(createSemaphore(vk, getDevice()))); 200 allSemaphores.push_back(makeVkSharedPtr(createSemaphore(vk, getDevice()))); 280 bindSparseFences.push_back(makeVkSharedPtr(createFence(vk, getDevice()))); 285 VK_CHECK(vk.queueBindSparse(submissionIter->queue->queueHandle, 0u, DE_NULL, fence)); 287 VK_CHECK(vk.queueBindSparse(submissionIter->queue->queueHandle, 1u, &submissionIter->info.sparse, fence)); 291 regularFences.push_back(makeVkSharedPtr(createFence(vk, getDevice()))) [all...] |
vktSparseResourcesTestsUtil.cpp | 32 using namespace vk; 39 vk::Move<VkInstance> createInstanceWithExtensions(const vk::PlatformInterface& vkp, const deUint32 version, const std::vector<std::string> enableExtensions) 269 Move<VkCommandPool> makeCommandPool (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex) 278 return createCommandPool(vk, device, &commandPoolParams); 281 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, 295 return createPipelineLayout(vk, device, &pipelineLayoutParams); 298 Move<VkPipeline> makeComputePipeline (const DeviceInterface& vk, 324 return createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo); 327 Move<VkBufferView> makeBufferView (const DeviceInterface& vk, [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmGraphicsShaderTestUtil.cpp | 43 using namespace vk; 331 void createPipelineShaderStages (const DeviceInterface& vk, 340 const ModuleHandleSp mod(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, context.getBinaryCollection().get(moduleNdx->first), 0))); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
vktRobustnessVertexAccessTests.cpp | 46 using namespace vk; 440 const DeviceInterface& vk = context.getDeviceInterface(); local 442 SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 524 m_vertexRateBuffer = createBuffer(vk, *m_device, &vertexRateBufferParams); 525 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_vertexRateBuffer); 529 VK_CHECK(vk.bindBufferMemory(*m_device, *m_vertexRateBuffer, m_vertexRateBufferAlloc->getMemory(), m_vertexRateBufferAlloc->getOffset())); 531 flushMappedMemoryRange(vk, *m_device, m_vertexRateBufferAlloc->getMemory(), m_vertexRateBufferAlloc->getOffset(), VK_WHOLE_SIZE); 552 m_instanceRateBuffer = createBuffer(vk, *m_device, &instanceRateBufferParams); 553 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_instanceRateBuffer); 557 VK_CHECK(vk.bindBufferMemory(*m_device, *m_instanceRateBuffer, m_instanceRateBufferAlloc->getMemory(), m_insta (…) 703 const DeviceInterface& vk = m_context.getDeviceInterface(); local 759 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |