SWDEV-299127 - Support External Mipmap
Support hipExternalMemoryGetMappedMipmappedArray(). Add ImageExternalBuffer to differiate ImageBuffer. Currently we only support tiling_optimal mode as vulkan driver doesn't provide tiling information. Change-Id: I7e3524cdde53e4df9f728894bcebf4bd3f58d4d9
This commit is contained in:
@@ -566,7 +566,7 @@ class Image : public Memory {
|
||||
size_t depth, size_t rowPitch, size_t slicePitch, uint mipLevels = 1);
|
||||
|
||||
Image(Buffer& buffer, Type type, Flags flags, const Format& format, size_t width, size_t height,
|
||||
size_t depth, size_t rowPitch, size_t slicePitch);
|
||||
size_t depth, size_t rowPitch, size_t slicePitch, uint mipLevels = 1, size_t offset = 0);
|
||||
|
||||
//! Validate image dimensions with supported sizes
|
||||
static bool validateDimensions(
|
||||
|
||||
Reference in New Issue
Block a user