Home
last modified time | relevance | path

Searched refs:nir_var_shader_in (Results 1 - 25 of 129) sorted by relevance

123456

/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_cmdline.c151 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()
402 NIR_PASS_V(nir, nir_lower_io, nir_var_shader_in | nir_var_shader_out, in main()
/third_party/mesa3d/src/gallium/drivers/lima/standalone/
H A Dlima_compiler_cmdline.c143 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/compiler/nir/
H A Dnir_lower_io_to_vector.c129 a->data.mode == nir_var_shader_in && in variables_can_merge()
190 var->data.mode == nir_var_shader_in; in get_flat_type()
381 new_var->data.mode == nir_var_shader_in; in build_array_deref_of_new_var_flat()
407 assert(!(modes & ~(nir_var_shader_in | nir_var_shader_out))); in nir_lower_io_to_vector_impl()
420 if (modes & nir_var_shader_in) { in nir_lower_io_to_vector_impl()
427 if (!create_new_io_vars(shader, nir_var_shader_in, in nir_lower_io_to_vector_impl()
429 modes &= ~nir_var_shader_in; in nir_lower_io_to_vector_impl()
476 nir_variable *new_var = old_var->data.mode == nir_var_shader_in ? in nir_lower_io_to_vector_impl()
479 bool flat = old_var->data.mode == nir_var_shader_in ? in nir_lower_io_to_vector_impl()
H A Dnir_lower_texcoord_replace.c78 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()
H A Dnir_lower_input_attachments.c34 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()
H A Dnir_lower_two_sided_color.c54 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()
H A Dnir_lower_io_arrays_to_elements.c350 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()
H A Dnir_lower_mediump.c45 *out_mode = nir_var_shader_in; in get_io_intrinsic()
46 return modes & nir_var_shader_in ? intr : NULL; in get_io_intrinsic()
87 if (mode == nir_var_shader_in) { in nir_recompute_io_bases()
112 if (mode == nir_var_shader_in) { in nir_recompute_io_bases()
165 mode == nir_var_shader_in) && in nir_lower_mediump_io()
288 mode == nir_var_shader_in) { in nir_force_mediump_io()
H A Dnir_lower_bitmap.c59 nir_find_variable_with_location(shader, nir_var_shader_in, in get_texcoord()
64 nir_var_shader_in, in get_texcoord()
H A Dnir_lower_io_to_scalar.c237 (mask & nir_var_shader_in)) { in nir_lower_io_to_scalar_instr()
332 if (var->data.mode == nir_var_shader_in) { in lower_load_to_scalar_early()
466 mode == nir_var_shader_in) && in nir_lower_io_to_scalar_early_instr()
491 if ((state->mask & nir_var_shader_in && mode == nir_var_shader_in) || in nir_lower_io_to_scalar_early_instr()
H A Dnir_lower_sysvals_to_varyings.c45 var->data.mode = nir_var_shader_in; \ in nir_lower_sysvals_to_varyings()
H A Dnir_lower_fragcoord_wtrans.c49 if (var->data.mode != nir_var_shader_in) in lower_fragcoord_wtrans_filter()
/third_party/mesa3d/src/imagination/rogue/
H A Drogue_nir.c95 nir_var_shader_in | nir_var_shader_out, in rogue_nir_passes()
100 NIR_PASS_V(nir, nir_lower_io_to_scalar, nir_var_shader_in); in rogue_nir_passes()
174 nir_var_shader_in, in rogue_nir_passes()
/third_party/mesa3d/src/asahi/compiler/
H A Dcmdline.c113 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/microsoft/spirv_to_dxil/
H A Ddxil_spirv_nir.c484 nir_remove_dead_variables(shader, nir_var_shader_in, NULL); in dxil_spirv_nir_kill_undefined_varyings()
569 dxil_reassign_driver_locations(nir, nir_var_shader_in, in dxil_spirv_nir_link()
589 (nir->info.stage != MESA_SHADER_VERTEX ? nir_var_shader_in : 0)); in dxil_spirv_nir_passes()
651 nir_var_shader_in | nir_var_shader_out | in dxil_spirv_nir_passes()
742 nir_var_uniform | nir_var_shader_in | nir_var_shader_out, in dxil_spirv_nir_passes()
757 nir_foreach_variable_with_modes(var, nir, nir_var_shader_in) { in dxil_spirv_nir_passes()
764 dxil_sort_by_driver_location(nir, nir_var_shader_in); in dxil_spirv_nir_passes()
767 dxil_reassign_driver_locations(nir, nir_var_shader_in, 0); in dxil_spirv_nir_passes()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_lower_input_attachments.c32 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/panfrost/bifrost/
H A Dcmdline.c155 nir_assign_var_locations(nir[i], nir_var_shader_in, &nir[i]->num_inputs, in compile_shader()
162 sort_varyings(nir[i], nir_var_shader_in); in compile_shader()
163 nir_assign_var_locations(nir[i], nir_var_shader_in, &nir[i]->num_inputs, in compile_shader()
165 fixup_varying_slots(nir[i], nir_var_shader_in); in compile_shader()
H A Dbifrost_compile.h95 .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir.c175 nir_lower_io(nir, nir_var_shader_in, type_size_vec4, in brw_nir_lower_vs_inputs()
181 nir_io_add_const_offset_to_base(nir, nir_var_shader_in); in brw_nir_lower_vs_inputs()
305 nir_lower_io(nir, nir_var_shader_in, type_size_vec4, in brw_nir_lower_vue_inputs()
311 nir_io_add_const_offset_to_base(nir, nir_var_shader_in); in brw_nir_lower_vue_inputs()
356 nir_lower_io(nir, nir_var_shader_in, type_size_vec4, in brw_nir_lower_tes_inputs()
362 nir_io_add_const_offset_to_base(nir, nir_var_shader_in); in brw_nir_lower_tes_inputs()
451 nir_lower_io(nir, nir_var_shader_in, type_size_vec4, lower_io_options); in brw_nir_lower_fs_inputs()
466 nir_io_add_const_offset_to_base(nir, nir_var_shader_in); in brw_nir_lower_fs_inputs()
964 NIR_PASS(_, consumer, nir_lower_io_to_scalar_early, nir_var_shader_in); in brw_nir_link_shaders()
973 NIR_PASS(_, consumer, nir_remove_dead_variables, nir_var_shader_in, NUL in brw_nir_link_shaders()
[all...]
H A Dbrw_shader.h143 indirect_mask |= nir_var_shader_in; in brw_nir_no_indirect_mask()
148 indirect_mask |= nir_var_shader_in; in brw_nir_no_indirect_mask()
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_link_varyings.c1698 var->data.mode == nir_var_shader_in) { in var_counts_against_varying_limit()
1920 return (input_var == NULL || input_var->data.mode != nir_var_shader_in) in get_matching_input()
1990 assert(io_mode == nir_var_shader_in || io_mode == nir_var_shader_out); in reserved_varying_slot()
2007 bool is_gl_vertex_input = io_mode == nir_var_shader_in && in reserved_varying_slot()
2029 assert(var->data.mode == nir_var_shader_in || in set_variable_io_mask()
2122 if (mode == nir_var_shader_in && shader->info.stage == MESA_SHADER_FRAGMENT) { in fixup_vars_lowered_to_temp()
2154 assert(mode == nir_var_shader_in || mode == nir_var_shader_out); in remove_unused_io_vars()
2210 if (mode == nir_var_shader_in) { in remove_unused_io_vars()
2330 remove_unused_io_vars(producer, consumer, prog, nir_var_shader_in, written) || progress; in remove_unused_varyings()
2578 reserved_in_slots = reserved_varying_slot(consumer, nir_var_shader_in); in assign_initial_varying_locations()
[all...]
H A Dgl_nir_linker.c125 NIR_PASS_V(consumer, nir_lower_io_to_scalar_early, nir_var_shader_in); in gl_nir_link_opts()
137 NIR_PASS_V(consumer, nir_remove_dead_variables, nir_var_shader_in, NULL); in gl_nir_link_opts()
152 NIR_PASS_V(consumer, nir_remove_dead_variables, nir_var_shader_in, in gl_nir_link_opts()
209 (var->data.mode == nir_var_shader_in && in inout_has_same_location()
453 case nir_var_shader_in: in add_vars_with_modes()
503 var->data.mode == nir_var_shader_in) || in add_vars_with_modes()
537 nir, nir_var_shader_in | nir_var_system_value, in add_interface_variables()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_nir_builtins.c51 (stage > MESA_SHADER_VERTEX ? nir_var_shader_in : 0) | in st_nir_finish_builtin_shader()
117 in = nir_variable_create(b.shader, nir_var_shader_in, vec4, var_name); in st_nir_make_passthrough_shader()
H A Dst_glsl_to_nir.cpp384 nir_variable_mode mask = nir_var_shader_in | nir_var_shader_out; in st_nir_preprocess()
549 nir_var_shader_in | nir_var_shader_out | nir_var_function_temp; in st_glsl_to_nir_post_opts()
589 NIR_PASS_V(consumer, nir_lower_io_to_vector, nir_var_shader_in); in st_nir_vectorize_io()
788 nir_var_shader_in : (nir_variable_mode)0; in st_link_nir()
943 nir_assign_io_var_locations(nir, nir_var_shader_in, in st_nir_assign_varying_locations()
946 st_nir_fixup_varying_slots(st, nir, nir_var_shader_in); in st_nir_assign_varying_locations()
953 nir_assign_io_var_locations(nir, nir_var_shader_in, in st_nir_assign_varying_locations()
956 st_nir_fixup_varying_slots(st, nir, nir_var_shader_in); in st_nir_assign_varying_locations()
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_compile.h102 .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),

Completed in 20 milliseconds

123456