From 25840a31ebe13bdad26ed2fcf3e697c6091643ec Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 25 Apr 2022 15:41:30 -0400 Subject: [PATCH] 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 Part-of: --- 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;