zink: simplify some dumb code in invalidate_buffer
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 26 Jul 2021 23:51:40 +0000 (19:51 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 26 Jul 2021 23:51:53 +0000 (19:51 -0400)
commit6bda555cc0e0b8c511b77989069402d6019452d2
tree11bc1309e8a8b04cdc92fe71ca5cb5572b156cb2
parent79ccc17da5d867dc43a0ee6f9468c94e21b87943
zink: simplify some dumb code in invalidate_buffer

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12008>
src/gallium/drivers/zink/zink_resource.c