From ad2c811884000c24d798b7fa6a95f998ceceb803 Mon Sep 17 00:00:00 2001 From: "Thomas H.P. Andersen" Date: Tue, 11 Jul 2023 18:22:25 +0200 Subject: [PATCH] tgsi: remove unused tgsi_shader_info.reads_position Reviewed-by: Charmaine Lee Reviewed-by: Christian Gmeiner Part-of: --- src/gallium/auxiliary/tgsi/tgsi_scan.c | 6 ------ src/gallium/auxiliary/tgsi/tgsi_scan.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index 513df5c8194..4905a4679a4 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -676,9 +676,6 @@ scan_declaration(struct tgsi_shader_info *info, case TGSI_SEMANTIC_PRIMID: info->uses_primid = true; break; - case TGSI_SEMANTIC_POSITION: - info->reads_position = true; - break; case TGSI_SEMANTIC_FACE: info->uses_frontface = true; break; @@ -713,9 +710,6 @@ scan_declaration(struct tgsi_shader_info *info, case TGSI_SEMANTIC_INVOCATIONID: info->uses_invocationid = true; break; - case TGSI_SEMANTIC_POSITION: - info->reads_position = true; - break; case TGSI_SEMANTIC_FACE: info->uses_frontface = true; break; diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index 6f8f7661cf4..e79f5341ace 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -84,7 +84,6 @@ struct tgsi_shader_info bool reads_perpatch_outputs; bool reads_tessfactor_outputs; - bool reads_position; /**< does fragment shader read position? */ bool reads_z; /**< does fragment shader read depth? */ bool reads_samplemask; /**< does fragment shader read sample mask? */ bool reads_tess_factors; /**< If TES reads TESSINNER or TESSOUTER */