Lines Matching defs:nir

2400                   stage_abbrev, nir->info.name, iteration, pass_num); \
2413 stage_abbrev, nir->info.name);
2538 struct nir_shader *nir = params->nir;
2545 prog_data->base.base.ray_queries = nir->info.ray_queries;
2549 brw_nir_apply_key(nir, compiler, &key->base, 8, is_scalar);
2553 prog_data->inputs_read = nir->info.inputs_read;
2554 prog_data->double_inputs_read = nir->info.vs.double_inputs;
2556 brw_nir_lower_vs_inputs(nir, params->edgeflag_is_last, key->gl_attrib_wa_flags);
2557 brw_nir_lower_vue_outputs(nir);
2558 brw_postprocess_nir(nir, compiler, is_scalar, debug_enabled,
2562 ((1 << nir->info.clip_distance_array_size) - 1);
2564 ((1 << nir->info.cull_distance_array_size) - 1) <<
2565 nir->info.clip_distance_array_size;
2572 if (BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_FIRST_VERTEX) ||
2573 BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_BASE_INSTANCE) ||
2574 BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_VERTEX_ID_ZERO_BASE) ||
2575 BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_INSTANCE_ID)) {
2580 if (BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_DRAW_ID) ||
2581 BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_IS_INDEXED_DRAW)) {
2585 if (BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_IS_INDEXED_DRAW))
2588 if (BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_FIRST_VERTEX))
2591 if (BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_BASE_INSTANCE))
2594 if (BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_VERTEX_ID_ZERO_BASE))
2597 if (BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_INSTANCE_ID))
2600 if (BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_DRAW_ID))
2638 &prog_data->base.base, nir, 8,
2653 nir->info.label ? nir->info.label :
2655 nir->info.name);
2661 g.add_const_data(nir->constant_data, nir->constant_data_size);
2669 nir, mem_ctx,
2677 nir, &prog_data->base,