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> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41143>
This commit is contained in:
parent
f36b6c8f13
commit
3f5d54ab8c
2 changed files with 3 additions and 4 deletions
|
|
@ -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