/third_party/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_compiler_cmdline.c | 143 nir_assign_var_locations(nir, nir_var_shader_in, &nir->num_inputs, in load_glsl() 155 sort_varyings(nir, nir_var_shader_in); in load_glsl() 156 nir_assign_var_locations(nir, nir_var_shader_in, &nir->num_inputs, in load_glsl() 158 fixup_varying_slots(nir, nir_var_shader_in); in load_glsl()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cmdline.c | 151 nir_assign_var_locations(nir, nir_var_shader_in, &nir->num_inputs, in load_glsl() 163 sort_varyings(nir, nir_var_shader_in); in load_glsl() 164 nir_assign_var_locations(nir, nir_var_shader_in, &nir->num_inputs, in load_glsl() 166 fixup_varying_slots(nir, nir_var_shader_in); in load_glsl() 185 nir_var_shader_in | nir_var_shader_out | nir_var_uniform, in load_glsl() 401 NIR_PASS_V(nir, nir_lower_io, nir_var_shader_in | nir_var_shader_out, in main()
|
/third_party/mesa3d/src/asahi/compiler/ |
D | cmdline.c | 113 nir_assign_var_locations(nir[i], nir_var_shader_in, &nir[i]->num_inputs, in compile_shader() 120 sort_varyings(nir[i], nir_var_shader_in); in compile_shader() 121 nir_assign_var_locations(nir[i], nir_var_shader_in, &nir[i]->num_inputs, in compile_shader() 123 fixup_varying_slots(nir[i], nir_var_shader_in); in compile_shader()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_two_sided_color.c | 54 nir_variable *var = nir_variable_create(shader, nir_var_shader_in, in create_input() 70 nir_find_variable_with_location(shader, nir_var_shader_in, in create_face_input() 74 var = nir_variable_create(shader, nir_var_shader_in, in create_face_input() 156 if (var->data.mode != nir_var_shader_in) in nir_lower_two_sided_color_block()
|
D | nir_lower_io_to_vector.c | 129 a->data.mode == nir_var_shader_in && in variables_can_merge() 190 var->data.mode == nir_var_shader_in; in get_flat_type() 380 new_var->data.mode == nir_var_shader_in; in build_array_deref_of_new_var_flat() 406 assert(!(modes & ~(nir_var_shader_in | nir_var_shader_out))); in nir_lower_io_to_vector_impl() 419 if (modes & nir_var_shader_in) { in nir_lower_io_to_vector_impl() 426 if (!create_new_io_vars(shader, nir_var_shader_in, in nir_lower_io_to_vector_impl() 428 modes &= ~nir_var_shader_in; in nir_lower_io_to_vector_impl() 475 nir_variable *new_var = old_var->data.mode == nir_var_shader_in ? in nir_lower_io_to_vector_impl() 478 bool flat = old_var->data.mode == nir_var_shader_in ? in nir_lower_io_to_vector_impl()
|
D | nir_lower_input_attachments.c | 34 nir_find_variable_with_location(b->shader, nir_var_shader_in, in load_frag_coord() 37 pos = nir_variable_create(b->shader, nir_var_shader_in, in load_frag_coord() 66 nir_find_variable_with_location(b->shader, nir_var_shader_in, slot); in load_layer_id() 69 layer_id = nir_variable_create(b->shader, nir_var_shader_in, in load_layer_id()
|
D | nir_lower_texcoord_replace.c | 78 nir_var_shader_in, in nir_lower_texcoord_replace_impl() 81 pntc = nir_variable_create(b.shader, nir_var_shader_in, in nir_lower_texcoord_replace_impl() 113 if (var->data.mode != nir_var_shader_in || in nir_lower_texcoord_replace_impl()
|
D | nir_lower_io_to_scalar.c | 113 (mask & nir_var_shader_in)) { in nir_lower_io_to_scalar_instr() 188 if (var->data.mode == nir_var_shader_in) { in lower_load_to_scalar_early() 330 mode == nir_var_shader_in) && in nir_lower_io_to_scalar_early_instr() 352 if ((state->mask & nir_var_shader_in && mode == nir_var_shader_in) || in nir_lower_io_to_scalar_early_instr()
|
D | nir_lower_io_arrays_to_elements.c | 350 if ((mask & nir_var_shader_in && mode == nir_var_shader_in) || in lower_io_arrays_to_elements() 376 lower_io_arrays_to_elements(shader, nir_var_shader_in, in nir_lower_io_arrays_to_elements_no_indirects() 411 create_indirects_mask(consumer, indirects, nir_var_shader_in); in nir_lower_io_arrays_to_elements() 416 lower_io_arrays_to_elements(consumer, nir_var_shader_in, in nir_lower_io_arrays_to_elements()
|
D | nir_lower_mediump.c | 45 *out_mode = nir_var_shader_in; in get_io_intrinsic() 46 return modes & nir_var_shader_in ? intr : NULL; in get_io_intrinsic() 85 if (mode == nir_var_shader_in) { in nir_recompute_io_bases() 110 if (mode == nir_var_shader_in) { in nir_recompute_io_bases() 163 mode == nir_var_shader_in) && in nir_lower_mediump_io() 286 mode == nir_var_shader_in) { in nir_force_mediump_io()
|
D | nir_lower_bitmap.c | 59 nir_find_variable_with_location(shader, nir_var_shader_in, in get_texcoord() 64 nir_var_shader_in, in get_texcoord()
|
D | nir_linking_helpers.c | 47 assert(var->data.mode == nir_var_shader_in || in get_variable_io_mask() 141 assert(mode == nir_var_shader_in || mode == nir_var_shader_out); in nir_remove_unused_io_vars() 225 progress = nir_remove_unused_io_vars(consumer, nir_var_shader_in, written, in nir_remove_unused_varyings() 569 if (!nir_deref_mode_is(deref, nir_var_shader_in)) in gather_varying_component_info() 889 remap_slots_and_components(consumer, nir_var_shader_in, remap, in compact_components() 922 get_unmoveable_components_masks(consumer, nir_var_shader_in, in nir_compact_varyings() 1030 if (!nir_deref_mode_is(in_deref, nir_var_shader_in)) in replace_varying_input_by_constant_load() 1082 if (!nir_deref_mode_is(in_deref, nir_var_shader_in)) in replace_duplicate_input() 1222 if (!nir_deref_mode_is(in_deref, nir_var_shader_in)) in replace_varying_input_by_uniform_load() 1303 nir_var_shader_in, producer_var->data.location); in nir_link_varying_precision() [all …]
|
D | nir_lower_sysvals_to_varyings.c | 45 var->data.mode = nir_var_shader_in; \ in nir_lower_sysvals_to_varyings()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | cmdline.c | 154 nir_assign_var_locations(nir[i], nir_var_shader_in, &nir[i]->num_inputs, in compile_shader() 161 sort_varyings(nir[i], nir_var_shader_in); in compile_shader() 162 nir_assign_var_locations(nir[i], nir_var_shader_in, &nir[i]->num_inputs, in compile_shader() 164 fixup_varying_slots(nir[i], nir_var_shader_in); in compile_shader()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_nir.cpp | 390 nir_variable_mode mask = nir_var_shader_in | nir_var_shader_out; in st_nir_preprocess() 568 nir_var_shader_in | nir_var_shader_out | nir_var_function_temp; in st_glsl_to_nir_post_opts() 597 NIR_PASS_V(consumer, nir_lower_io_to_vector, nir_var_shader_in); in st_nir_vectorize_io() 626 NIR_PASS_V(consumer, nir_lower_io_to_scalar_early, nir_var_shader_in); in st_nir_link_shaders() 638 NIR_PASS_V(consumer, nir_remove_dead_variables, nir_var_shader_in, NULL); in st_nir_link_shaders() 653 NIR_PASS_V(consumer, nir_remove_dead_variables, nir_var_shader_in, in st_nir_link_shaders() 954 nir_assign_io_var_locations(nir, nir_var_shader_in, in st_nir_assign_varying_locations() 957 st_nir_fixup_varying_slots(st, nir, nir_var_shader_in); in st_nir_assign_varying_locations() 964 nir_assign_io_var_locations(nir, nir_var_shader_in, in st_nir_assign_varying_locations() 967 st_nir_fixup_varying_slots(st, nir, nir_var_shader_in); in st_nir_assign_varying_locations()
|
D | st_nir_builtins.c | 50 (stage > MESA_SHADER_VERTEX ? nir_var_shader_in : 0) | in st_nir_finish_builtin_shader() 116 in = nir_variable_create(b.shader, nir_var_shader_in, vec4, var_name); in st_nir_make_passthrough_shader()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_lower_input_attachments.c | 32 nir_find_variable_with_location(b->shader, nir_var_shader_in, in load_frag_coord() 35 pos = nir_variable_create(b->shader, nir_var_shader_in, in load_frag_coord()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir.c | 174 nir_lower_io(nir, nir_var_shader_in, type_size_vec4, in brw_nir_lower_vs_inputs() 180 nir_io_add_const_offset_to_base(nir, nir_var_shader_in); in brw_nir_lower_vs_inputs() 304 nir_lower_io(nir, nir_var_shader_in, type_size_vec4, in brw_nir_lower_vue_inputs() 310 nir_io_add_const_offset_to_base(nir, nir_var_shader_in); in brw_nir_lower_vue_inputs() 355 nir_lower_io(nir, nir_var_shader_in, type_size_vec4, in brw_nir_lower_tes_inputs() 361 nir_io_add_const_offset_to_base(nir, nir_var_shader_in); in brw_nir_lower_tes_inputs() 450 nir_lower_io(nir, nir_var_shader_in, type_size_vec4, lower_io_options); in brw_nir_lower_fs_inputs() 462 nir_io_add_const_offset_to_base(nir, nir_var_shader_in); in brw_nir_lower_fs_inputs() 890 NIR_PASS_V(consumer, nir_lower_io_to_scalar_early, nir_var_shader_in); in brw_nir_link_shaders() 899 NIR_PASS_V(consumer, nir_remove_dead_variables, nir_var_shader_in, NULL); in brw_nir_link_shaders() [all …]
|
D | brw_shader.h | 142 indirect_mask |= nir_var_shader_in; in brw_nir_no_indirect_mask() 147 indirect_mask |= nir_var_shader_in; in brw_nir_no_indirect_mask()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_program.c | 64 .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp), 84 .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp), 114 nir_var_shader_in | nir_var_shader_out, type_size, 0); in lima_program_optimize_vs_nir() 118 nir_var_shader_in|nir_var_shader_out); in lima_program_optimize_vs_nir() 216 nir_var_shader_in | nir_var_shader_out, type_size, 0); in lima_program_optimize_fs_nir()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | vars_tests.cpp | 373 nir_variable *in = create_int(nir_var_shader_in, "in"); in TEST_F() 1818 nir_variable **in = create_many_int(nir_var_shader_in, "in", 4); in TEST_F() 1839 nir_variable **in = create_many_int(nir_var_shader_in, "in", 4); in TEST_F() 1884 nir_variable **in = create_many_int(nir_var_shader_in, "in", 4); in TEST_F() 1906 nir_variable **in = create_many_int(nir_var_shader_in, "in", 6); in TEST_F() 1928 nir_variable **in = create_many_int(nir_var_shader_in, "in", 2); in TEST_F() 1951 nir_variable **in = create_many_int(nir_var_shader_in, "in", 4); in TEST_F() 1977 nir_variable **in = create_many_int(nir_var_shader_in, "in", 4); in TEST_F() 1980 nir_variable *ind = create_int(nir_var_shader_in, "ind"); in TEST_F() 2002 nir_variable **in = create_many_int(nir_var_shader_in, "in", 4); in TEST_F() [all …]
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir.c | 51 indirect_mask |= nir_var_shader_in; in ac_nir_lower_indirect_derefs()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_linker.c | 84 (var->data.mode == nir_var_shader_in && in inout_has_same_location() 326 case nir_var_shader_in: in add_vars_with_modes() 375 var->data.mode == nir_var_shader_in) || in add_vars_with_modes() 409 nir, nir_var_shader_in | nir_var_system_value, in add_interface_variables()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_draw_helpers.c | 57 nir_variable *pos = nir_variable_create(b->shader, nir_var_shader_in, in load_frag_coord() 223 nir_variable *line_width = nir_variable_create(shader, nir_var_shader_in, in nir_lower_aaline_fs() 345 nir_variable *aapoint_input = nir_variable_create(shader, nir_var_shader_in, in nir_lower_aapoint_fs()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_compile.h | 100 … .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
|