mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Enable internal image creation to return error codes
Change-Id: I20f28b57f3cd96245ce2dc1657ef2b40e63c0bc0 Signed-off-by: Jim Snow <jim.m.snow@intel.com>
This commit is contained in:
@@ -29,7 +29,7 @@ struct Image : _ze_image_handle_t {
|
||||
virtual ~Image() = default;
|
||||
virtual ze_result_t destroy() = 0;
|
||||
|
||||
static Image *create(uint32_t productFamily, Device *device, const ze_image_desc_t *desc);
|
||||
static ze_result_t create(uint32_t productFamily, Device *device, const ze_image_desc_t *desc, Image **pImage);
|
||||
|
||||
virtual NEO::GraphicsAllocation *getAllocation() = 0;
|
||||
virtual void copySurfaceStateToSSH(void *surfaceStateHeap,
|
||||
|
||||
Reference in New Issue
Block a user