Module: Mesa Branch: main Commit: 25840a31ebe13bdad26ed2fcf3e697c6091643ec URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=25840a31ebe13bdad26ed2fcf3e697c6091643ec
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/16151> --- 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 6fa8e70c457..bc4bbaecc97 100644 --- a/src/gallium/frontends/dri/kopper.c +++ b/src/gallium/frontends/dri/kopper.c @@ -299,6 +299,7 @@ kopper_allocate_textures(struct dri_context *ctx, /* 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;
