mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Add missing case in getMipLevelOriginIdx
Change-Id: I81c52f84cab3e9529fa293d4ded34fafa9b68b64
This commit is contained in:
@@ -40,6 +40,8 @@ uint32_t getMipLevelOriginIdx(cl_mem_object_type imageType) {
|
||||
case CL_MEM_OBJECT_IMAGE2D_ARRAY:
|
||||
case CL_MEM_OBJECT_IMAGE3D:
|
||||
return 3;
|
||||
case CL_MEM_OBJECT_IMAGE1D_BUFFER:
|
||||
return 0;
|
||||
default:
|
||||
DEBUG_BREAK_IF(true);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user