/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureTestUtil.hpp | 116 void initializePrograms(vk::SourceCollections& programCollection, glu::Precision texCoordPrecision, const std::vector<Program>& programs); 138 vk::VkImage getImage (void) { return *m_textureImage; } 139 vk::VkImageView getImageView (void) { return *m_textureImageView; } 153 vk::Move<vk::VkImage> m_textureImage; 154 de::MovePtr<vk::Allocation> m_textureImageMemory; 155 vk::Move<vk::VkImageView> m_textureImageView; 163 TextureRenderer (Context& context, vk::VkSampleCountFlagBits sampleCount, deUint32 renderWidth, deUint32 renderHeight); 175 void clearImage (vk::VkImage image) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrConversionTests.cpp | 86 typedef de::SharedPtr<vk::Unique<vk::VkBuffer> > VkBufferSp; 87 typedef de::SharedPtr<vk::Allocation> AllocationSp; 90 UVec4 getBitDepth (vk::VkFormat format) 94 case vk::VK_FORMAT_G8B8G8R8_422_UNORM_KHR: 95 case vk::VK_FORMAT_B8G8R8G8_422_UNORM_KHR: 96 case vk::VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM_KHR: 97 case vk::VK_FORMAT_G8_B8R8_2PLANE_420_UNORM_KHR: 98 case vk::VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM_KHR: 99 case vk::VK_FORMAT_G8_B8R8_2PLANE_422_UNORM_KHR [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidPlatform.hpp | 39 class Platform : public tcu::Platform, private eglu::Platform, private glu::Platform, private vk::Platform 49 virtual const vk::Platform& getVulkanPlatform (void) const { return static_cast<const vk::Platform&>(*this); } 54 vk::Library* createLibrary (void) const; 56 void getMemoryLimits (vk::PlatformMemoryLimits& limits) const; 57 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineMakeUtil.cpp | 35 using namespace vk; 38 Buffer::Buffer (const vk::DeviceInterface& vk, 39 const vk::VkDevice device, 40 vk::Allocator& allocator, 41 const vk::VkBufferCreateInfo& bufferCreateInfo, 42 const vk::MemoryRequirement memoryRequirement) 43 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) 44 , m_allocation (bindBuffer(vk, device, allocator, *m_buffer, memoryRequirement)) 48 Image::Image (const vk::DeviceInterface& vk [all...] |
vktPipelineClearUtil.hpp | 43 vk::VkClearDepthStencilValue defaultClearDepthStencilValue (void); 44 vk::VkClearValue defaultClearValue (vk::VkFormat format);
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawCreateInfoUtil.cpp | 34 ImageSubresourceRange::ImageSubresourceRange (vk::VkImageAspectFlags _aspectMask, 47 ComponentMapping::ComponentMapping (vk::VkComponentSwizzle _r, 48 vk::VkComponentSwizzle _g, 49 vk::VkComponentSwizzle _b, 50 vk::VkComponentSwizzle _a) 58 ImageViewCreateInfo::ImageViewCreateInfo (vk::VkImage _image, 59 vk::VkImageViewType _viewType, 60 vk::VkFormat _format, 61 const vk::VkImageSubresourceRange& _subresourceRange, 62 const vk::VkComponentMapping& _components [all...] |
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 741 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 869 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 1034 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...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiExternalMemoryTests.cpp | 65 vk::VkMemoryDedicatedRequirementsKHR getMemoryDedicatedRequirements (const vk::DeviceInterface& vkd, 66 vk::VkDevice device, 67 vk::VkBuffer buffer) 69 const vk::VkBufferMemoryRequirementsInfo2KHR requirementInfo = 71 vk::VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR, 75 vk::VkMemoryDedicatedRequirementsKHR dedicatedRequirements = 77 vk::VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR, 82 vk::VkMemoryRequirements2KHR requirements = 84 vk::VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateRSTests.cpp | 53 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 54 , m_topology (vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP) 69 vk::VkFormat m_colorAttachmentFormat; 70 vk::VkFormat m_depthStencilAttachmentFormat; 72 vk::VkPrimitiveTopology m_topology; 74 const vk::DeviceInterface& m_vk; 76 vk::Move<vk::VkPipeline> m_pipeline; 77 vk::Move<vk::VkPipelineLayout> m_pipelineLayout [all...] |
vktDynamicStateDSTests.cpp | 60 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 61 , m_topology (vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP) 76 vk::VkFormat m_colorAttachmentFormat; 77 vk::VkFormat m_depthStencilAttachmentFormat; 79 vk::VkPrimitiveTopology m_topology; 81 const vk::DeviceInterface& m_vk; 83 vk::Move<vk::VkPipeline> m_pipeline_1; 84 vk::Move<vk::VkPipeline> m_pipeline_2 [all...] |
/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...] |
vkRefUtilImpl.inl | 141 Move<VkInstance> createInstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 144 VK_CHECK(vk.createInstance(pCreateInfo, pAllocator, &object)); 145 return Move<VkInstance>(check<VkInstance>(object), Deleter<VkInstance>(vk, object, pAllocator)); 148 Move<VkDevice> createDevice (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 151 VK_CHECK(vk.createDevice(physicalDevice, pCreateInfo, pAllocator, &object)); 152 return Move<VkDevice>(check<VkDevice>(object), Deleter<VkDevice>(vk, object, pAllocator)); 155 Move<VkDeviceMemory> allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator) 158 VK_CHECK(vk.allocateMemory(device, pAllocateInfo, pAllocator, &object)); 159 return Move<VkDeviceMemory>(check<VkDeviceMemory>(object), Deleter<VkDeviceMemory>(vk, device, pAllocator)); 162 Move<VkFence> createFence (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator [all...] |
vkRefUtil.inl | 4 Move<VkInstance> createInstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 5 Move<VkDevice> createDevice (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 6 Move<VkDeviceMemory> allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 7 Move<VkFence> createFence (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 8 Move<VkSemaphore> createSemaphore (const DeviceInterface& vk, VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 9 Move<VkEvent> createEvent (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 10 Move<VkQueryPool> createQueryPool (const DeviceInterface& vk, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 11 Move<VkBuffer> createBuffer (const DeviceInterface& vk, VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 12 Move<VkBufferView> createBufferView (const DeviceInterface& vk, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 13 Move<VkImage> createImage (const DeviceInterface& vk, VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = (…) [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...] |
/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/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/synchronization/ |
vktSynchronizationWin32KeyedMutexTests.cpp | 75 { 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) 76 { RESOURCE_TYPE_BUFFER, tcu::IVec4(0x40000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0 }, // 256 KiB 78 { 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 }, 79 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R16_UINT, 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/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...] |