From b062062430b0ee0c560e46e28f5c1da7555f5591 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 Part-of: --- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;