From f78a52fd0a1f8f59b93afc8cd209a9378f36f803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Wed, 13 Aug 2025 11:34:19 +0200 Subject: [PATCH] tgsi: Drop TGSI_SEMANTIC_TESS_DEFAULT_OUTER/INNER_LEVEL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nothing is emitting this anymore and it is not used by virglrenderer too. Signed-off-by: Corentin Noël Acked-by: Karol Herbst Part-of: --- docs/gallium/tgsi.rst | 12 ------------ src/gallium/auxiliary/nir/tgsi_to_nir.c | 6 ------ src/gallium/include/pipe/p_shader_tokens.h | 2 -- 3 files changed, 20 deletions(-) diff --git a/docs/gallium/tgsi.rst b/docs/gallium/tgsi.rst index 4dc10cf0f2b..64d6a11499d 100644 --- a/docs/gallium/tgsi.rst +++ b/docs/gallium/tgsi.rst @@ -3563,18 +3563,6 @@ A bit mask of viewports to broadcast the current primitive to. See :ext:`GL_NV_viewport_array2` for more details. -TGSI_SEMANTIC_TESS_DEFAULT_OUTER_LEVEL -"""""""""""""""""""""""""""""""""""""" - -A system value equal to the default_outer_level array set via set_tess_level. - - -TGSI_SEMANTIC_TESS_DEFAULT_INNER_LEVEL -"""""""""""""""""""""""""""""""""""""" - -A system value equal to the default_inner_level array set via set_tess_level. - - Declaration Interpolate ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index 0313291b655..d26309dba46 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -622,12 +622,6 @@ ttn_src_for_file_and_index(struct ttn_compile *c, unsigned file, unsigned index, case TGSI_SEMANTIC_CS_USER_DATA_AMD: load = nir_load_user_data_amd(b); break; - case TGSI_SEMANTIC_TESS_DEFAULT_INNER_LEVEL: - load = nir_load_tess_level_inner_default(b); - break; - case TGSI_SEMANTIC_TESS_DEFAULT_OUTER_LEVEL: - load = nir_load_tess_level_outer_default(b); - break; case TGSI_SEMANTIC_SAMPLEID: load = nir_load_sample_id(b); b->shader->info.fs.uses_sample_shading = true; diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h index 170c5e4082b..89d1a409792 100644 --- a/src/gallium/include/pipe/p_shader_tokens.h +++ b/src/gallium/include/pipe/p_shader_tokens.h @@ -204,8 +204,6 @@ enum tgsi_semantic { TGSI_SEMANTIC_SUBGROUP_LT_MASK, TGSI_SEMANTIC_CS_USER_DATA_AMD, TGSI_SEMANTIC_VIEWPORT_MASK, - TGSI_SEMANTIC_TESS_DEFAULT_OUTER_LEVEL, /**< from set_tess_state */ - TGSI_SEMANTIC_TESS_DEFAULT_INNER_LEVEL, /**< from set_tess_state */ TGSI_SEMANTIC_COUNT, /**< number of semantic values */ };