tgsi: remove unused tgsi_shader_info.writes_primid

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:28 +02:00 committed by Marge Bot
parent 9c207d4f89
commit 87d1dde7f9
3 changed files with 0 additions and 7 deletions

View file

@ -585,9 +585,6 @@ void nir_tgsi_scan_shader(const struct nir_shader *nir,
info->output_semantic_index[i] = semantic_index;
switch (semantic_name) {
case TGSI_SEMANTIC_PRIMID:
info->writes_primid = true;
break;
case TGSI_SEMANTIC_VIEWPORT_INDEX:
info->writes_viewport_index = true;
break;

View file

@ -625,9 +625,6 @@ scan_declaration(struct tgsi_shader_info *info,
}
switch (semName) {
case TGSI_SEMANTIC_PRIMID:
info->writes_primid = true;
break;
case TGSI_SEMANTIC_VIEWPORT_INDEX:
info->writes_viewport_index = true;
break;

View file

@ -101,7 +101,6 @@ struct tgsi_shader_info
bool writes_position;
bool writes_psize;
bool writes_clipvertex;
bool writes_primid;
bool writes_viewport_index;
bool writes_layer;
bool writes_memory; /**< contains stores or atomics to buffers or images */