/external/deqp/external/vulkancts/framework/vulkan/ |
vkRefUtil.hpp | 29 namespace vk namespace 34 Move<VkPipeline> createGraphicsPipeline (const DeviceInterface& vk, 39 Move<VkPipeline> createComputePipeline (const DeviceInterface& vk, 44 Move<VkCommandBuffer> allocateCommandBuffer (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo); 45 Move<VkDescriptorSet> allocateDescriptorSet (const DeviceInterface& vk, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo); 47 Move<VkSemaphore> createSemaphore (const DeviceInterface& vk, 52 Move<VkFence> createFence (const DeviceInterface& vk, 57 Move<VkCommandPool> createCommandPool (const DeviceInterface& vk, 63 Move<VkCommandBuffer> allocateCommandBuffer (const DeviceInterface& vk, 68 Move<VkEvent> createEvent (const DeviceInterface& vk, [all...] |
vkRefUtil.cpp | 26 namespace vk namespace 31 Move<VkPipeline> createGraphicsPipeline (const DeviceInterface& vk, 38 VK_CHECK(vk.createGraphicsPipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); 39 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); 42 Move<VkPipeline> createComputePipeline (const DeviceInterface& vk, 49 VK_CHECK(vk.createComputePipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); 50 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); 53 Move<VkCommandBuffer> allocateCommandBuffer (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo) 57 VK_CHECK(vk.allocateCommandBuffers(device, pAllocateInfo, &object)); 58 return Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)) [all...] |
vkRefUtilImpl.inl | 159 Move<VkInstance> createInstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 162 VK_CHECK(vk.createInstance(pCreateInfo, pAllocator, &object)); 163 return Move<VkInstance>(check<VkInstance>(object), Deleter<VkInstance>(vk, object, pAllocator)); 166 Move<VkDevice> createDevice (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 169 VK_CHECK(vk.createDevice(physicalDevice, pCreateInfo, pAllocator, &object)); 170 return Move<VkDevice>(check<VkDevice>(object), Deleter<VkDevice>(vk, object, pAllocator)); 173 Move<VkDeviceMemory> allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator) 176 VK_CHECK(vk.allocateMemory(device, pAllocateInfo, pAllocator, &object)); 177 return Move<VkDeviceMemory>(check<VkDeviceMemory>(object), Deleter<VkDeviceMemory>(vk, device, pAllocator)); 180 Move<VkFence> createFence (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator [all...] |
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemAttachmentClearTests.cpp | 58 const vk::VkClearValue& clearValue, 65 const vk::VkFormat m_imageFormat; 66 const vk::VkClearValue& m_clearValue; 78 vk::VkClearValue clearValue, 93 virtual void initPrograms (vk::SourceCollections& programCollection) const 98 vk::VkClearValue m_clearValue; 105 const vk::VkClearValue& clearValue, 110 , m_imageFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 121 const vk::DeviceInterface& vk = ctx.getDeviceInterface() local [all...] |
vktProtectedMemCopyBufferToImageTests.cpp | 66 const vk::VkFormat m_imageFormat; 93 virtual void initPrograms (vk::SourceCollections& programCollection) const 110 , m_imageFormat (vk::VK_FORMAT_R32G32B32A32_UINT) 121 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 122 const vk::VkDevice device = ctx.getDevice(); 123 const vk::VkQueue queue = ctx.getQueue(); 127 de::MovePtr<vk::ImageWithMemory> colorImage = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, 130 vk::VK_IMAGE_USAGE_SAMPLED_BIT|vk::VK_IMAGE_USAGE_TRANSFER_DST_BIT) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineClearUtil.hpp | 43 vk::VkClearDepthStencilValue defaultClearDepthStencilValue (void); 44 vk::VkClearValue defaultClearValue (vk::VkFormat format);
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktBasicDrawTests.cpp | 81 rr::PrimitiveType mapVkPrimitiveTopology (vk::VkPrimitiveTopology primitiveTopology) 85 case vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST: return rr::PRIMITIVETYPE_POINTS; 86 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST: return rr::PRIMITIVETYPE_LINES; 87 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP: return rr::PRIMITIVETYPE_LINE_STRIP; 88 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: return rr::PRIMITIVETYPE_TRIANGLES; 89 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN: return rr::PRIMITIVETYPE_TRIANGLE_FAN; 90 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: return rr::PRIMITIVETYPE_TRIANGLE_STRIP; 91 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINES_ADJACENCY; 92 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINE_STRIP_ADJACENCY; 93 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY: return rr::PRIMITIVETYPE_TRIANGLES_ADJACENCY 753 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 881 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 1046 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktDrawIndexedTest.cpp | 75 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: 85 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: 96 case vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST: 97 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST: 98 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP: 99 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN: 100 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: 101 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: 102 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY: 103 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY [all...] |
vktDrawSimpleTest.cpp | 72 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: 80 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: 87 case vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST: 88 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST: 89 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP: 90 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN: 91 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: 92 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: 93 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY: 94 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY [all...] |
vktDrawInstancedTests.cpp | 63 vk::VkPrimitiveTopology topology; 103 rr::PrimitiveType mapVkPrimitiveTopology (vk::VkPrimitiveTopology primitiveTopology) 107 case vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST: return rr::PRIMITIVETYPE_POINTS; 108 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST: return rr::PRIMITIVETYPE_LINES; 109 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP: return rr::PRIMITIVETYPE_LINE_STRIP; 110 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: return rr::PRIMITIVETYPE_TRIANGLES; 111 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN: return rr::PRIMITIVETYPE_TRIANGLE_FAN; 112 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: return rr::PRIMITIVETYPE_TRIANGLE_STRIP; 113 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINES_ADJACENCY; 114 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINE_STRIP_ADJACENCY [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesShaderIntrinsicsBase.hpp | 143 virtual vk::VkImageUsageFlags imageSparseUsageFlags (void) const = 0; 144 virtual vk::VkImageUsageFlags imageOutputUsageFlags (void) const = 0; 146 virtual vk::VkQueueFlags getQueueFlags (void) const = 0; 148 virtual void recordCommands (const vk::VkCommandBuffer commandBuffer, 149 const vk::VkImageCreateInfo& imageSparseInfo, 150 const vk::VkImage imageSparse, 151 const vk::VkImage imageTexels, 152 const vk::VkImage imageResidency) = 0; 160 typedef de::SharedPtr< vk::Unique<vk::VkPipeline> > SharedVkPipeline [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationWin32KeyedMutexTests.cpp | 68 using namespace vk; 76 { RESOURCE_TYPE_BUFFER, tcu::IVec4( 0x4000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0 }, // 16 KiB (min max UBO range) 77 { RESOURCE_TYPE_BUFFER, tcu::IVec4(0x40000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0 }, // 256 KiB 79 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R8_UNORM, vk::VK_IMAGE_ASPECT_COLOR_BIT } [all...] |
vktSynchronizationBasicFenceTests.cpp | 38 using namespace vk; 45 const DeviceInterface& vk = context.getDeviceInterface(); local 49 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); 50 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); 57 const Unique<VkFence> fence (createFence(vk, device, &fenceInfo)); 71 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) 74 if (VK_TIMEOUT != vk.waitForFences(device, 1u, &fence.get(), VK_TRUE, SHORT_FENCE_WAIT)) 77 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) 80 beginCommandBuffer(vk, *cmdBuffer); 81 endCommandBuffer(vk, *cmdBuffer) 103 const DeviceInterface& vk = context.getDeviceInterface(); local 164 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiDisplayTimingTests.hpp | 35 void createDisplayTimingTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType);
|
vktWsiIncrementalPresentTests.hpp | 35 void createIncrementalPresentTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType);
|
vktWsiSharedPresentableImageTests.hpp | 35 void createSharedPresentableImageTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType);
|
vktWsiSurfaceTests.hpp | 35 void createSurfaceTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType);
|
vktWsiSwapchainTests.hpp | 35 void createSwapchainTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType);
|
/external/deqp/external/vulkancts/modules/vulkan/ |
vktTestPackage.cpp | 94 vk::ProgramBinary* compileProgram (const vk::GlslSource& source, glu::ShaderProgramInfo* buildInfo) 96 return vk::buildProgram(source, buildInfo); 99 vk::ProgramBinary* compileProgram (const vk::HlslSource& source, glu::ShaderProgramInfo* buildInfo) 101 return vk::buildProgram(source, buildInfo); 104 vk::ProgramBinary* compileProgram (const vk::SpirVAsmSource& source, vk::SpirVProgramInfo* buildInfo) 106 return vk::assembleProgram(source, buildInfo) [all...] |
vktShaderLibrary.cpp | 80 using vk::SourceCollections; 81 using vk::Move; 82 using vk::Unique; 728 vk::VkShaderModule getShader (glu::ShaderType type) const { return *m_shaderModules[type]; } 732 Move<vk::VkShaderModule> m_shaderModules[glu::SHADERTYPE_LAST]; 745 m_shaderModules[shaderType] = vk::createShaderModule(context.getDeviceInterface(), context.getDevice(), 751 vector<vk::VkPipelineShaderStageCreateInfo> getPipelineShaderStageCreateInfo (const PipelineProgram& program) 753 vector<vk::VkPipelineShaderStageCreateInfo> infos; 759 const vk::VkPipelineShaderStageCreateInfo info = 761 vk::VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO, // sTyp [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeTestsUtil.cpp | 28 using namespace vk; 35 Buffer::Buffer (const DeviceInterface& vk, 41 m_buffer = createBuffer(vk, device, &bufferCreateInfo); 42 m_allocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement); 43 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); 46 Image::Image (const DeviceInterface& vk, 52 m_image = createImage(vk, device, &imageCreateInfo); 53 m_allocation = allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement); 54 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset())); 89 Move<VkCommandPool> makeCommandPool (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex [all...] |
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryBasicClass.cpp | 43 using namespace vk; 68 const DeviceInterface& vk = m_context.getDeviceInterface(); local 76 vk, 82 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat)); 84 const Move<VkPipelineLayout> pipelineLayout (createPipelineLayout(vk, device)); 86 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubRange)); 87 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, resolution.x(), resolution.y(), 1u)); 88 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); 89 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY)); 99 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, m_context.getBinaryCollection().get("vertex"), DE_NULL 212 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiCommandBuffersTests.cpp | 49 using namespace vk; 51 typedef de::SharedPtr<vk::Unique<vk::VkEvent> > VkEventSp; 481 /********* 19.1. Command Pools (5.1 in VK 1.0 Spec) ***************************/ 485 const DeviceInterface& vk = context.getDeviceInterface(); local 488 createCommandPool(vk, vkDevice, 0u, queueFamilyIndex); 496 const DeviceInterface& vk = context.getDeviceInterface(); local 508 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks); 516 const DeviceInterface& vk = context.getDeviceInterface(); local 527 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL) 535 const DeviceInterface& vk = context.getDeviceInterface(); local 554 const DeviceInterface& vk = context.getDeviceInterface(); local 575 const DeviceInterface& vk = context.getDeviceInterface(); local 645 const DeviceInterface& vk = context.getDeviceInterface(); local 696 const DeviceInterface& vk = context.getDeviceInterface(); local 726 const DeviceInterface& vk = context.getDeviceInterface(); local 770 const DeviceInterface& vk = context.getDeviceInterface(); local 800 const DeviceInterface& vk = context.getDeviceInterface(); local 844 const DeviceInterface& vk = context.getDeviceInterface(); local 925 const DeviceInterface& vk = context.getDeviceInterface(); local 1016 const DeviceInterface& vk = context.getDeviceInterface(); local 1121 const DeviceInterface& vk = context.getDeviceInterface(); local 1205 const DeviceInterface& vk = context.getDeviceInterface(); local 1231 const DeviceInterface& vk = context.getDeviceInterface(); local 1313 const DeviceInterface& vk = context.getDeviceInterface(); local 1362 const DeviceInterface& vk = context.getDeviceInterface(); local 1448 const DeviceInterface& vk = context.getDeviceInterface(); local 1508 const DeviceInterface& vk = context.getDeviceInterface(); local 1596 const DeviceInterface& vk = context.getDeviceInterface(); local 1691 const DeviceInterface& vk = context.getDeviceInterface(); local 1855 const DeviceInterface& vk = context.getDeviceInterface(); local 1962 const DeviceInterface& vk = context.getDeviceInterface(); local 2192 const DeviceInterface& vk = context.getDeviceInterface(); local 2291 const DeviceInterface& vk = context.getDeviceInterface(); local 2426 const DeviceInterface& vk = context.getDeviceInterface(); local 2593 const DeviceInterface& vk = context.getDeviceInterface(); local 2771 const DeviceInterface& vk = context.getDeviceInterface(); local 2866 const DeviceInterface& vk = context.getDeviceInterface(); local 2962 const DeviceInterface& vk = context.getDeviceInterface(); local 3059 const DeviceInterface& vk = context.getDeviceInterface(); local 3152 const DeviceInterface& vk = context.getDeviceInterface(); local 3260 const DeviceInterface& vk = context.getDeviceInterface(); local 3398 const DeviceInterface& vk = context.getDeviceInterface(); local 3540 const DeviceInterface& vk = context.getDeviceInterface(); local 3649 const DeviceInterface& vk = context.getDeviceInterface(); local 3769 const DeviceInterface& vk = context.getDeviceInterface(); local 3928 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
/external/vulkan-validation-layers/demos/ |
cube.cpp | 78 vk::Sampler sampler; 80 vk::Image image; 81 vk::ImageLayout imageLayout{vk::ImageLayout::eUndefined}; 83 vk::MemoryAllocateInfo mem_alloc; 84 vk::DeviceMemory mem; 85 vk::ImageView view; 203 vk::Image image; 204 vk::CommandBuffer cmd; 205 vk::CommandBuffer graphics_to_present_cmd [all...] |
/external/deqp/framework/common/ |
tcuPlatform.hpp | 38 namespace vk namespace 114 virtual const vk::Platform& getVulkanPlatform (void) const;
|