Only used in debug builds.
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18643>
struct st_context *st = st_context(ctx);
struct pipe_context *pipe = st->pipe;
struct gl_texture_object *stObj = texImage->TexObject;
- struct pipe_resource *src = stObj->pt;
+ ASSERTED struct pipe_resource *src = stObj->pt;
enum pipe_format dst_format = dst->format;
mesa_format mesa_format;
GLenum gl_target = texImage->TexObject->Target;