diff --git a/src/gallium/frontends/clover/api/memory.cpp b/src/gallium/frontends/clover/api/memory.cpp index 743174cba30..d3039d47ba1 100644 --- a/src/gallium/frontends/clover/api/memory.cpp +++ b/src/gallium/frontends/clover/api/memory.cpp @@ -454,6 +454,14 @@ clGetImageInfo(cl_mem d_mem, cl_image_info param, buf.as_scalar() = img.depth(); break; + case CL_IMAGE_NUM_MIP_LEVELS: + buf.as_scalar() = 0; + break; + + case CL_IMAGE_NUM_SAMPLES: + buf.as_scalar() = 0; + break; + default: throw error(CL_INVALID_VALUE); }