mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-23 15:39:03 +00:00
vulkan: Use image row pitch (#2077)
When importing a Vulkan external image, query and pass OpenCL a row pitch if OpenCL is assuming linear for the imported external handle type. Additionally fix a bug where OpenCL is being told to create mipmapped images at all times. --------- Co-authored-by: dcrawley <dcrawley@qti.qualcomm.com>
This commit is contained in:
@@ -552,6 +552,7 @@ public:
|
||||
VulkanSharingMode sharingMode = VULKAN_SHARING_MODE_EXCLUSIVE);
|
||||
virtual ~VulkanImage2D();
|
||||
virtual VulkanExtent3D getExtent3D(uint32_t mipLevel = 0) const;
|
||||
virtual VkSubresourceLayout getSubresourceLayout() const;
|
||||
|
||||
VulkanImage2D(const VulkanImage2D &image2D);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user