zink: add a pipe_context::evaluate_depth_buffer hook
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 2 Apr 2021 21:39:30 +0000 (17:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 9 Jun 2021 17:26:52 +0000 (17:26 +0000)
commitbc2acc87d7285629602d6bfaf0e7b692920b2863
treeb9cf6dde434ae46f2e7cf7fbec4c3225128bbee1
parent7353d1d26b0ff0838360b1955fb8a1d1aa849ec8
zink: add a pipe_context::evaluate_depth_buffer hook

this works by flagging the next barrier to use the current sample locations
so that everything works as expected during decompression

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11189>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_resource.h