struct draw_llvm_variant_key *key;
struct draw_llvm_variant *variant = NULL;
struct draw_llvm_variant_list_item *li;
- unsigned i;
- unsigned instance_id_index = ~0;
const unsigned out_prim = (draw->gs.geometry_shader ?
draw->gs.geometry_shader->output_primitive :
in_prim);
const unsigned nr = MAX2( shader->base.info.num_inputs,
shader->base.info.num_outputs + 1 );
- /* Scan for instanceID system value.
- * XXX but we never use instance_id_index?!
- */
- for (i = 0; i < shader->base.info.num_inputs; i++) {
- if (shader->base.info.input_semantic_name[i] == TGSI_SEMANTIC_INSTANCEID) {
- instance_id_index = i;
- break;
- }
- }
-
fpme->input_prim = in_prim;
fpme->opt = opt;