Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6624>
bool uses_persp_opcode_interp_sample;
bool uses_linear_opcode_interp_sample;
bool uses_instanceid;
- bool uses_vertexid;
- bool uses_vertexid_nobase;
- bool uses_basevertex;
bool uses_drawid;
bool uses_primid;
bool uses_frontface;
}
break;
}
- case nir_intrinsic_load_vertex_id:
- info->uses_vertexid = 1;
- break;
- case nir_intrinsic_load_vertex_id_zero_base:
- info->uses_vertexid_nobase = 1;
- break;
- case nir_intrinsic_load_base_vertex:
- info->uses_basevertex = 1;
- break;
case nir_intrinsic_load_draw_id:
info->uses_drawid = 1;
break;