Module: Mesa Branch: staging/22.1 Commit: c074592f3d07cf7e224f716f29434be801b558f4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c074592f3d07cf7e224f716f29434be801b558f4
Author: Mike Blumenkrantz <[email protected]> Date: Mon Apr 25 15:41:30 2022 -0400 kopper: add DISPLAY_TARGET bind for depth buffer this doesn't affect functionality and is only used for validation in the driver Reviewed-by: Adam Jackson <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16179> --- src/gallium/frontends/dri/kopper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/frontends/dri/kopper.c b/src/gallium/frontends/dri/kopper.c index 1e2b5962e70..2038f13d418 100644 --- a/src/gallium/frontends/dri/kopper.c +++ b/src/gallium/frontends/dri/kopper.c @@ -590,6 +590,7 @@ XXX do this once swapinterval is hooked up /* the texture already exists or not requested */ if (!drawable->textures[statts[i]]) { if (statts[i] == ST_ATTACHMENT_BACK_LEFT || + statts[i] == ST_ATTACHMENT_DEPTH_STENCIL || (statts[i] == ST_ATTACHMENT_FRONT_LEFT && front_only)) bind |= PIPE_BIND_DISPLAY_TARGET;
