/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
vktMultiViewRenderUtil.hpp | 35 vk::VkImageAspectFlags getAspectFlags (tcu::TextureFormat format); 36 vk::VkBufferCreateInfo makeBufferCreateInfo (const vk::VkDeviceSize bufferSize, const vk::VkBufferUsageFlags usage); 37 vk::VkImageCreateInfo makeImageCreateInfo (const vk::VkImageType imageType, const vk::VkExtent3D& extent, const vk::VkFormat format, const vk::VkImageUsageFlags usage); 38 vk::Move<vk::VkImageView> makeImageView (const vk::DeviceInterface& vk, const vk::VkDevice devi (…) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationOperationResources.hpp | 38 { 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) 39 { RESOURCE_TYPE_BUFFER, tcu::IVec4(0x40000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0 }, // 256 KiB 41 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 0, 0, 0), vk::VK_IMAGE_TYPE_1D, vk::VK_FORMAT_R32_UINT, vk::VK_IMAGE_ASPECT_COLOR_BIT }, 43 { 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...] |
vktSynchronizationUtil.hpp | 42 Buffer (const vk::DeviceInterface& vk, 43 const vk::VkDevice device, 44 vk::Allocator& allocator, 45 const vk::VkBufferCreateInfo& bufferCreateInfo, 46 const vk::MemoryRequirement memoryRequirement) 47 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) 48 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) 50 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); 53 Buffer (vk::Move<vk::VkBuffer> buffer [all...] |
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
vktFragmentOperationsMakeUtil.hpp | 38 vk::VkBufferCreateInfo makeBufferCreateInfo (const vk::VkDeviceSize bufferSize, const vk::VkBufferUsageFlags usage); 39 vk::Move<vk::VkDescriptorSet> makeDescriptorSet (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkDescriptorPool descriptorPool, const vk::VkDescriptorSetLayout setLayout) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineMakeUtil.hpp | 40 Buffer (const vk::DeviceInterface& vk, 41 const vk::VkDevice device, 42 vk::Allocator& allocator, 43 const vk::VkBufferCreateInfo& bufferCreateInfo, 44 const vk::MemoryRequirement memoryRequirement); 46 const vk::VkBuffer& get (void) const { return *m_buffer; } 47 const vk::VkBuffer& operator* (void) const { return get(); } 48 vk::Allocation& getAllocation (void) const { return *m_allocation; } 51 const vk::Unique<vk::VkBuffer> m_buffer [all...] |
vktPipelineImageSamplingInstance.hpp | 53 vk::VkImageViewType imageViewType, 54 vk::VkFormat imageFormat, 57 const vk::VkComponentMapping& componentMapping, 58 const vk::VkImageSubresourceRange& subresourceRange, 59 const vk::VkSamplerCreateInfo& samplerParams, 62 vk::VkDescriptorType samplingType = vk::VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 74 typedef vk::Unique<vk::VkImage> UniqueImage; 75 typedef vk::Unique<vk::VkImageView> UniqueImageView [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageTestsUtil.hpp | 53 vk::VkImageType mapImageType (const ImageType imageType); 54 vk::VkImageViewType mapImageViewType (const ImageType imageType); 58 std::string getGlslSamplerType (const tcu::TextureFormat& format, vk::VkImageViewType type); 59 const char* getGlslInputFormatType (const vk::VkFormat format); 60 const char* getGlslFormatType (const vk::VkFormat format); 61 const char* getGlslAttachmentType (const vk::VkFormat format); 62 const char* getGlslInputAttachmentType (const vk::VkFormat format); 63 bool isPackedType (const vk::VkFormat format); 64 bool isComponentSwizzled (const vk::VkFormat format); 65 int getNumUsedChannels (const vk::VkFormat format) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiComputeInstanceResultBuffer.hpp | 46 ComputeInstanceResultBuffer (const vk::DeviceInterface &vki, 47 vk::VkDevice device, 48 vk::Allocator &allocator, 55 inline vk::VkBuffer getBuffer(void) const { return *m_buffer; } 57 inline const vk::VkBufferMemoryBarrier* getResultReadBarrier(void) const { return &m_bufferBarrier; } 60 static vk::Move<vk::VkBuffer> createResultBuffer(const vk::DeviceInterface &vki, 61 vk::VkDevice device, 62 vk::Allocator &allocator [all...] |
vktApiBufferComputeInstance.hpp | 36 vk::Move<vk::VkBuffer> createDataBuffer (vkt::Context& context, 42 de::MovePtr<vk::Allocation>* outAllocation); 44 vk::Move<vk::VkBuffer> createColorDataBuffer ( deUint32 offset, 48 de::MovePtr<vk::Allocation>* outAllocation, 51 vk::Move<vk::VkDescriptorSetLayout> createDescriptorSetLayout (vkt::Context& context); 53 vk::Move<vk::VkDescriptorPool> createDescriptorPool (vkt::Context& context) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeTestsUtil.hpp | 42 Buffer (const vk::DeviceInterface& vk, 43 const vk::VkDevice device, 44 vk::Allocator& allocator, 45 const vk::VkBufferCreateInfo& bufferCreateInfo, 46 const vk::MemoryRequirement memoryRequirement); 48 const vk::VkBuffer& get (void) const { return *m_buffer; } 49 const vk::VkBuffer& operator* (void) const { return get(); } 50 vk::Allocation& getAllocation (void) const { return *m_allocation; } 53 de::MovePtr<vk::Allocation> m_allocation [all...] |
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemImageValidator.cpp | 45 void ImageValidator::initPrograms (vk::SourceCollections& programCollection) const 113 const vk::VkImage image, const vk::VkFormat imageFormat) const 134 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 135 const vk::VkDevice device = ctx.getDevice(); 136 const vk::VkQueue queue = ctx.getQueue(); 140 de::UniquePtr<vk::BufferWithMemory> refUniform (makeBuffer(ctx, 144 vk::VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, 145 vk::MemoryRequirement::HostVisible)) [all...] |
vktProtectedMemUtils.hpp | 53 typedef std::vector<vk::VkVertexInputBindingDescription> VertexBindings; 54 typedef std::vector<vk::VkVertexInputAttributeDescription> VertexAttribs; 56 vk::Move<vk::VkInstance> makeProtectedMemInstance (const vk::PlatformInterface& vkp, 59 deUint32 chooseProtectedMemQueueFamilyIndex (const vk::InstanceDriver& vkd, 60 vk::VkPhysicalDevice physicalDevice, 61 vk::VkSurfaceKHR surface = DE_NULL); 63 vk::Move<vk::VkDevice> makeProtectedMemDevice (const vk::InstanceDriver& vkd [all...] |
vktProtectedMemBufferValidator.hpp | 76 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType); 77 vk::VkDescriptorType getDescriptorType (BufferType bufferType); 98 void initPrograms (vk::SourceCollections& programCollection) const; 101 const vk::VkBuffer buffer) const; 114 inline void BufferValidator<tcu::UVec4>::initPrograms (vk::SourceCollections& programCollection) const 120 inline void BufferValidator<tcu::IVec4>::initPrograms (vk::SourceCollections& programCollection) const 126 inline void BufferValidator<tcu::Vec4>::initPrograms (vk::SourceCollections& programCollection) const 172 const vk::VkBuffer buffer) const 179 const vk::DeviceInterface& vk = ctx.getDeviceInterface() local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryTestsUtil.hpp | 48 vk::VkPrimitiveTopology primitiveType; 50 vk::VkPrimitiveTopology outputType; 56 Buffer (const vk::DeviceInterface& vk, 57 const vk::VkDevice device, 58 vk::Allocator& allocator, 59 const vk::VkBufferCreateInfo& bufferCreateInfo, 60 const vk::MemoryRequirement memoryRequirement) 62 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) 63 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktExternalMemoryUtil.hpp | 48 NativeHandle (Win32HandleType type, vk::pt::Win32Handle handle); 49 NativeHandle (vk::pt::AndroidHardwareBufferPtr buffer); 53 NativeHandle& operator= (vk::pt::AndroidHardwareBufferPtr buffer); 55 void setWin32Handle (Win32HandleType type, vk::pt::Win32Handle handle); 57 vk::pt::Win32Handle getWin32Handle (void) const; 59 vk::pt::AndroidHardwareBufferPtr getAndroidHardwareBuffer (void) const; 66 vk::pt::Win32Handle m_win32Handle; 67 vk::pt::AndroidHardwareBufferPtr m_androidHardwareBuffer; 73 const char* externalSemaphoreTypeToName (vk::VkExternalSemaphoreHandleTypeFlagBits type); 74 const char* externalFenceTypeToName (vk::VkExternalFenceHandleTypeFlagBits type) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesTestsUtil.hpp | 40 typedef de::SharedPtr<vk::Unique<vk::VkDeviceMemory> > DeviceMemorySp; 73 vk::VkImageType mapImageType (const ImageType imageType); 75 vk::VkImageViewType mapImageViewType (const ImageType imageType); 92 vk::Move<vk::VkInstance> createInstanceWithExtensions (const vk::PlatformInterface& vkp, 120 bool isImageSizeSupported (const vk::InstanceInterface& instance, 121 const vk::VkPhysicalDevice physicalDevice, 125 vk::VkExtent3D mipLevelExtents (const vk::VkExtent3D& baseExtents [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkBufferWithMemory.hpp | 34 namespace vk namespace 39 BufferWithMemory (const vk::DeviceInterface& vk, 40 const vk::VkDevice device, 41 vk::Allocator& allocator, 42 const vk::VkBufferCreateInfo& bufferCreateInfo, 43 const vk::MemoryRequirement memoryRequirement) 45 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) 46 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) 48 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())) [all...] |
vkImageWithMemory.hpp | 33 namespace vk namespace 38 ImageWithMemory (const vk::DeviceInterface& vk, 39 const vk::VkDevice device, 40 vk::Allocator& allocator, 41 const vk::VkImageCreateInfo& imageCreateInfo, 42 const vk::MemoryRequirement memoryRequirement) 44 : m_image (createImage(vk, device, &imageCreateInfo)) 45 , m_allocation (allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement)) 47 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset())) [all...] |
vkYCbCrImageWithMemory.hpp | 35 namespace vk namespace 43 YCbCrImageWithMemory (const vk::DeviceInterface& vk, 44 const vk::VkDevice device, 45 vk::Allocator& allocator, 46 const vk::VkImageCreateInfo& imageCreateInfo, 47 const vk::MemoryRequirement requirement); 48 const vk::VkImage& get (void) const { return *m_image; } 49 const vk::VkImage& operator* (void) const { return get(); } 53 const vk::Unique<vk::VkImage> m_image [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawCreateInfoUtil.hpp | 37 class ImageSubresourceRange : public vk::VkImageSubresourceRange 40 ImageSubresourceRange (vk::VkImageAspectFlags aspectMask, 47 class ComponentMapping : public vk::VkComponentMapping 50 ComponentMapping (vk::VkComponentSwizzle r = vk::VK_COMPONENT_SWIZZLE_R, 51 vk::VkComponentSwizzle g = vk::VK_COMPONENT_SWIZZLE_G, 52 vk::VkComponentSwizzle b = vk::VK_COMPONENT_SWIZZLE_B, 53 vk::VkComponentSwizzle a = vk::VK_COMPONENT_SWIZZLE_A) [all...] |
vktDrawImageObjectUtil.hpp | 47 vk::VkDeviceSize rowPitchOrZero, 48 vk::VkDeviceSize depthPitchOrZero, 56 vk::VkDeviceSize rowPitchOrZero, 57 vk::VkDeviceSize depthPitchOrZero, 65 static de::SharedPtr<Image> create (const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkImageCreateInfo& createInfo); 67 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk, [all...] |
vktDrawBufferObjectUtil.cpp | 34 Buffer::Buffer (const vk::DeviceInterface& vk, vk::VkDevice device, vk::Move<vk::VkBuffer> object_) 37 , m_vk (vk) 42 void Buffer::bindMemory (de::MovePtr<vk::Allocation> allocation) 51 de::SharedPtr<Buffer> Buffer::createAndAlloc (const vk::DeviceInterface& vk, 52 vk::VkDevice device [all...] |
vktDrawBufferObjectUtil.hpp | 41 static de::SharedPtr<Buffer> create (const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkBufferCreateInfo &createInfo); 43 static de::SharedPtr<Buffer> createAndAlloc (const vk::DeviceInterface& vk, 44 vk::VkDevice device, 45 const vk::VkBufferCreateInfo& createInfo, 46 vk::Allocator& allocator, 47 vk::MemoryRequirement allocationMemoryProperties = vk::MemoryRequirement::Any) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
vktRobustnessUtil.hpp | 40 vk::Move<vk::VkDevice> createRobustBufferAccessDevice (Context& context); 43 bool isValueWithinBuffer (const void* buffer, vk::VkDeviceSize bufferSize, const void* valuePtr, size_t valueSizeInBytes); 44 bool isValueWithinBufferOrZero (const void* buffer, vk::VkDeviceSize bufferSize, const void* valuePtr, size_t valueSizeInBytes); 45 bool verifyOutOfBoundsVec4 (const void* vecPtr, vk::VkFormat bufferFormat); 46 void populateBufferWithTestValues (void* buffer, vk::VkDeviceSize size, vk::VkFormat format); 47 void logValue (std::ostringstream& logMsg, const void* valuePtr, vk::VkFormat valueFormat, size_t valueSize); 53 vk::VkDevice device, 54 vk::VkDescriptorSetLayout descriptorSetLayout [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrCopyTests.cpp | 61 typedef de::SharedPtr<vk::Allocation> AllocationSp; 65 ImageConfig (vk::VkFormat format_, 66 vk::VkImageTiling tiling_, 76 vk::VkFormat format; 77 vk::VkImageTiling tiling; 102 const vk::VkFormatProperties properties (vk::getPhysicalDeviceFormatProperties(context.getInstanceInterface(), context.getPhysicalDevice(), config.src.format)); 103 const vk::VkFormatFeatureFlags features (config.src.tiling == vk::VK_IMAGE_TILING_OPTIMAL 107 if ((features & vk::VK_FORMAT_FEATURE_TRANSFER_SRC_BIT) == [all...] |