mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
nouveau: drop sector promotion.
Just like the fix for nvk, just drop this in the GL driver as well.
Cc: mesa-stable
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
(cherry picked from commit 3f5d54ab8c)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41269>
This commit is contained in:
parent
b6de02511d
commit
05ed5acd07
3 changed files with 4 additions and 5 deletions
|
|
@ -2134,7 +2134,7 @@
|
|||
"description": "nouveau: drop sector promotion.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ nv50_create_texture_view(struct pipe_context *pipe,
|
|||
depth = view->pipe.u.tex.last_layer - view->pipe.u.tex.first_layer + 1;
|
||||
}
|
||||
|
||||
tic[2] = 0x10001000 | G80_TIC_2_BORDER_SOURCE_COLOR;
|
||||
tic[2] = 0x00001000 | G80_TIC_2_BORDER_SOURCE_COLOR;
|
||||
|
||||
if (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB)
|
||||
tic[2] |= G80_TIC_2_SRGB_CONVERSION;
|
||||
|
|
|
|||
|
|
@ -117,8 +117,7 @@ gm107_create_texture_view(struct pipe_context *pipe,
|
|||
address = mt->base.address;
|
||||
|
||||
tic[3] = GM107_TIC2_3_LOD_ANISO_QUALITY_2;
|
||||
tic[4] = GM107_TIC2_4_SECTOR_PROMOTION_PROMOTE_TO_2_V;
|
||||
tic[4] |= GM107_TIC2_4_BORDER_SIZE_SAMPLER_COLOR;
|
||||
tic[4] = GM107_TIC2_4_BORDER_SIZE_SAMPLER_COLOR;
|
||||
|
||||
if (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB)
|
||||
tic[4] |= GM107_TIC2_4_SRGB_CONVERSION;
|
||||
|
|
@ -332,7 +331,7 @@ gf100_create_texture_view(struct pipe_context *pipe,
|
|||
|
||||
address = mt->base.address;
|
||||
|
||||
tic[2] = 0x10001000 | G80_TIC_2_BORDER_SOURCE_COLOR;
|
||||
tic[2] = 0x00001000 | G80_TIC_2_BORDER_SOURCE_COLOR;
|
||||
|
||||
if (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB)
|
||||
tic[2] |= G80_TIC_2_SRGB_CONVERSION;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue