From 63faa0d700126e657176a8dd27c3dcb45cb2d3f3 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 16 Apr 2026 12:47:43 +0200 Subject: [PATCH] nouveau: do not report unsupported feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This hasn't been supported since the TGSI envvar was ripped out. When converted to NIR, we don't see these instructions at all. Fixes: c3cbe610dfd ("nouveau: Delete the NV50_PROG_USE_TGSI env var.") Reviewed-by: Marek Olšák (cherry picked from commit b062062430b0ee0c560e46e28f5c1da7555f5591) Part-of: --- .pick_status.json | 2 +- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index ea3c31f3c47..e63af4ec392 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -4144,7 +4144,7 @@ "description": "nouveau: do not report unsupported feature", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "c3cbe610dfd978c2f25124017a54196757401434", "notes": null diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c index de020fff654..09a898b4acf 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c @@ -269,7 +269,7 @@ nv50_init_screen_caps(struct nv50_screen *screen) caps->cull_distance = true; caps->shader_array_components = true; caps->legacy_math_rules = true; - caps->tgsi_tex_txf_lz = true; + caps->tgsi_tex_txf_lz = false; caps->shader_clock = true; caps->can_bind_const_buffer_as_vertex = true; caps->clear_scissored = true; diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index f1fce6395cc..ff8477353cd 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -318,7 +318,7 @@ nvc0_init_screen_caps(struct nvc0_screen *screen) caps->legacy_math_rules = true; caps->doubles = true; caps->int64 = true; - caps->tgsi_tex_txf_lz = true; + caps->tgsi_tex_txf_lz = false; caps->shader_clock = true; caps->compute = true; caps->can_bind_const_buffer_as_vertex = true;