6d57614fd0
Returns the level of the gl_texture_image with respect to the resource it's allocated within. Example: returns 0 for non-finalized texture. Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19827>