nouveau: drop sector promotion.
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

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:
Dave Airlie 2026-04-24 11:02:20 +10:00 committed by Marge Bot
parent f36b6c8f13
commit 3f5d54ab8c
2 changed files with 3 additions and 4 deletions

View file

@ -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;

View file

@ -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;