tgsi: remove unused tgsi_shader_info.reads_position

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24100>
This commit is contained in:
Thomas H.P. Andersen
2023-07-11 18:22:25 +02:00
committed by Marge Bot
parent 1f1ffd5b1d
commit ad2c811884
2 changed files with 0 additions and 7 deletions
-6
View File
@@ -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;
-1
View File
@@ -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 */