mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
tgsi: remove unused tgsi_shader_info.uses_drawid
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
436e59e3d9
commit
402f5c5407
3 changed files with 0 additions and 7 deletions
|
|
@ -240,9 +240,6 @@ static void scan_instruction(const struct nir_shader *nir,
|
|||
case nir_intrinsic_load_base_vertex:
|
||||
info->uses_basevertex = 1;
|
||||
break;
|
||||
case nir_intrinsic_load_draw_id:
|
||||
info->uses_drawid = 1;
|
||||
break;
|
||||
case nir_intrinsic_load_primitive_id:
|
||||
info->uses_primid = 1;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -606,9 +606,6 @@ scan_declaration(struct tgsi_shader_info *info,
|
|||
case TGSI_SEMANTIC_BASEVERTEX:
|
||||
info->uses_basevertex = true;
|
||||
break;
|
||||
case TGSI_SEMANTIC_DRAWID:
|
||||
info->uses_drawid = true;
|
||||
break;
|
||||
case TGSI_SEMANTIC_PRIMID:
|
||||
info->uses_primid = true;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -94,7 +94,6 @@ struct tgsi_shader_info
|
|||
bool uses_vertexid;
|
||||
bool uses_vertexid_nobase;
|
||||
bool uses_basevertex;
|
||||
bool uses_drawid;
|
||||
bool uses_primid;
|
||||
bool uses_frontface;
|
||||
bool uses_invocationid;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue