diff --git a/.pick_status.json b/.pick_status.json index 8d9550465a7..60ec916758c 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2020,7 +2020,7 @@ "description": "aux/tc: Add ASSERTED to unreferenced release build variable", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "51ad269198e425fae719a37f169b365a8b52e7f3" }, diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c index de2b92c8ee1..38b0e7cea03 100644 --- a/src/gallium/auxiliary/util/u_threaded_context.c +++ b/src/gallium/auxiliary/util/u_threaded_context.c @@ -3182,7 +3182,7 @@ tc_texture_subdata(struct pipe_context *_pipe, width *= blocksize; if (width == fmt_stride && width == (unsigned)stride) { - uint64_t size = (uint64_t)height * width; + ASSERTED uint64_t size = (uint64_t)height * width; assert(size <= SIZE_MAX); assert(dst_x + src_box.width < u_minify(pres->width0, level));