Revert "st/dri: make sure software color-buffers are linear"

This reverts commit 040a2643c0.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8115>
This commit is contained in:
Erik Faye-Lund 2020-12-15 19:54:56 +01:00 committed by Marge Bot
parent 1fd5e7b14e
commit 967ae12931

View file

@ -367,7 +367,7 @@ drisw_allocate_textures(struct dri_context *stctx,
/* if we don't do any present, no need for display targets */
if (statts[i] != ST_ATTACHMENT_DEPTH_STENCIL && !screen->swrast_no_present)
bind |= PIPE_BIND_DISPLAY_TARGET | PIPE_BIND_LINEAR;
bind |= PIPE_BIND_DISPLAY_TARGET;
if (format == PIPE_FORMAT_NONE)
continue;