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 */