Searched refs:vk (Results 1 - 25 of 411) sorted by relevance

1234567891011>>

/external/deqp/external/vulkancts/modules/vulkan/multiview/
H A DvktMultiViewRenderUtil.hpp35 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
[all...]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationOperationResources.hpp38 { 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
[all...]
H A DvktSynchronizationUtil.hpp42 Buffer (const vk::DeviceInterface& vk, argument
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
76 Image(const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkImageCreateInfo& imageCreateInfo, const vk::MemoryRequirement memoryRequirement) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsMakeUtil.hpp38 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
52 makeBuffer(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkBufferCreateInfo& createInfo) argument
57 makeImage(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkImageCreateInfo& createInfo) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMakeUtil.hpp40 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
[all...]
H A DvktPipelineImageSamplingInstance.hpp53 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
[all...]
/external/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageTestsUtil.hpp53 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
[all...]
/external/deqp/external/vulkancts/modules/vulkan/api/
H A DvktApiComputeInstanceResultBuffer.hpp46 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
[all...]
H A DvktApiBufferComputeInstance.hpp36 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
[all...]
/external/deqp/external/vulkancts/modules/vulkan/compute/
H A DvktComputeTestsUtil.hpp42 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
[all...]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemImageValidator.cpp45 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
[all...]
H A DvktProtectedMemUtils.hpp53 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
[all...]
H A DvktProtectedMemBufferValidator.hpp76 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 local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryTestsUtil.hpp48 vk::VkPrimitiveTopology primitiveType;
50 vk::VkPrimitiveTopology outputType;
56 Buffer (const vk::DeviceInterface& vk, argument
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, devic
84 Image(const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkImageCreateInfo& imageCreateInfo, const vk::MemoryRequirement memoryRequirement) argument
195 makeBuffer(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkBufferCreateInfo& createInfo) argument
200 makeImage(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkImageCreateInfo& createInfo) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/
H A DvktExternalMemoryUtil.hpp48 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
[all...]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesTestsUtil.hpp40 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
300 makeBuffer(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkBufferCreateInfo& createInfo) argument
305 makeImage(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkImageCreateInfo& createInfo) argument
[all...]
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkBufferWithMemory.hpp34 namespace vk namespace
39 BufferWithMemory (const vk::DeviceInterface& vk, argument
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
[all...]
H A DvkImageWithMemory.hpp33 namespace vk namespace
38 ImageWithMemory (const vk::DeviceInterface& vk, argument
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
[all...]
H A DvkYCbCrImageWithMemory.hpp35 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
[all...]
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawCreateInfoUtil.hpp37 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
[all...]
H A DvktDrawImageObjectUtil.hpp47 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...]
H A DvktDrawBufferObjectUtil.cpp34 Buffer::Buffer (const vk::DeviceInterface& vk, vk::VkDevice device, vk::Move<vk::VkBuffer> object_) argument
37 , m_vk (vk)
42 void Buffer::bindMemory (de::MovePtr<vk::Allocation> allocation)
51 de::SharedPtr<Buffer> Buffer::createAndAlloc (const vk::DeviceInterface& vk, argument
52 vk
64 create(const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkBufferCreateInfo& createInfo) argument
[all...]
H A DvktDrawBufferObjectUtil.hpp41 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
[all...]
/external/deqp/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessUtil.hpp40 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
[all...]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrCopyTests.cpp61 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
[all...]

Completed in 472 milliseconds

1234567891011>>