mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
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:
parent
9684fbc87d
commit
1f1ffd5b1d
3 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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? */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue