radeonsi: remove unused si_shader_info::uses_(vertexid|basevertex)

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6624>
This commit is contained in:
Marek Olšák
2020-09-06 02:36:34 -04:00
committed by Marge Bot
parent f02cd0e027
commit 7b3e24c2d8
2 changed files with 0 additions and 12 deletions
-3
View File
@@ -358,9 +358,6 @@ struct si_shader_info {
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;
@@ -303,15 +303,6 @@ static void scan_instruction(const struct nir_shader *nir, struct si_shader_info
}
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;