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>
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;
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;
bool uses_vertexid;
bool uses_vertexid_nobase;
bool uses_basevertex;
- bool uses_drawid;
bool uses_primid;
bool uses_frontface;
bool uses_invocationid;