mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 09:30:11 +01:00
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 <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16151>
This commit is contained in:
parent
aeeb0b4deb
commit
25840a31eb
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue