tgsi: remove unused tgsi_shader_info.colors_written

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 9684fbc87d
commit 1f1ffd5b1d
3 changed files with 0 additions and 7 deletions

View file

@ -687,9 +687,6 @@ void nir_tgsi_scan_shader(const struct nir_shader *nir,
case TGSI_SEMANTIC_CLIPVERTEX:
info->writes_clipvertex = true;
break;
case TGSI_SEMANTIC_COLOR:
info->colors_written |= 1 << semantic_index;
break;
case TGSI_SEMANTIC_STENCIL:
if (!variable->data.fb_fetch_output)
info->writes_stencil = true;

View file

@ -768,9 +768,6 @@ scan_declaration(struct tgsi_shader_info *info,
case TGSI_SEMANTIC_CLIPVERTEX:
info->writes_clipvertex = true;
break;
case TGSI_SEMANTIC_COLOR:
info->colors_written |= 1 << semIndex;
break;
case TGSI_SEMANTIC_STENCIL:
info->writes_stencil = true;
break;

View file

@ -84,7 +84,6 @@ struct tgsi_shader_info
bool reads_perpatch_outputs;
bool reads_tessfactor_outputs;
uint8_t colors_written;
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? */