mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 14:08:05 +02:00
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:
parent
1fd5e7b14e
commit
967ae12931
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue