zink: rework zink_resource::valid_buffer_range
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 28 Feb 2023 00:39:48 +0000 (19:39 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 14 Mar 2023 16:23:06 +0000 (16:23 +0000)
commitfe6f0692ed88b6f087aba3534f69bf84c7d82940
treed1a915070e21f57d552b56e3dc40627747c0fd11
parent8c51c8697ab122472b9136f9a17813a7a6513c59
zink: rework zink_resource::valid_buffer_range

this is now the valid buffer region for the "main" command buffer,
and all transfer ops store their regions in the copy boxes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21802>
src/gallium/drivers/zink/zink_clear.c
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_resource.c