mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Fix creating image from image
- allow creating image 2d from non NV12 image 2d - validate image descriptor and format when create image from image Change-Id: Ie7887e75f1450fc723dc1d1ae9ff5639d88835fc
This commit is contained in:
committed by
sys_ocldev
parent
a858ff5077
commit
ac45ff74ec
@@ -187,6 +187,9 @@ class Image : public MemObj {
|
||||
|
||||
const bool isTiledImage;
|
||||
|
||||
bool hasSameDescriptor(const cl_image_desc &imageDesc) const;
|
||||
bool hasValidParentImageFormat(const cl_image_format &imageFormat) const;
|
||||
|
||||
protected:
|
||||
Image(Context *context,
|
||||
cl_mem_flags flags,
|
||||
|
||||
Reference in New Issue
Block a user