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:
committed by
Marge Bot
parent
1f1ffd5b1d
commit
ad2c811884
@@ -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;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user