Home
last modified time | relevance | path

Searched refs:nir_intrinsic_instr (Results 1 – 25 of 107) sorted by relevance

12345

/external/mesa3d/src/compiler/nir/
Dnir_lower_io.c157 static nir_intrinsic_instr *
158 lower_load(nir_intrinsic_instr *intrin, struct lower_io_state *state, in lower_load()
206 nir_intrinsic_instr *load = in lower_load()
230 static nir_intrinsic_instr *
231 lower_store(nir_intrinsic_instr *intrin, struct lower_io_state *state, in lower_store()
247 nir_intrinsic_instr *store = in lower_store()
268 static nir_intrinsic_instr *
269 lower_atomic(nir_intrinsic_instr *intrin, struct lower_io_state *state, in lower_atomic()
294 nir_intrinsic_instr *atomic = in lower_atomic()
307 static nir_intrinsic_instr *
[all …]
Dnir_lower_gs_intrinsics.c71 rewrite_emit_vertex(nir_intrinsic_instr *intrin, struct state *state) in rewrite_emit_vertex()
89 nir_intrinsic_instr *lowered = in rewrite_emit_vertex()
112 rewrite_end_primitive(nir_intrinsic_instr *intrin, struct state *state) in rewrite_end_primitive()
119 nir_intrinsic_instr *lowered = in rewrite_end_primitive()
138 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in rewrite_intrinsics()
175 nir_intrinsic_instr *set_vertex_count = in append_set_vertex_count()
Dnir_gs_count_vertices.c27 static nir_intrinsic_instr *
33 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in as_intrinsic()
40 static nir_intrinsic_instr *
70 nir_intrinsic_instr *intrin = as_set_vertex_count(instr); in nir_gs_count_vertices()
Dnir_lower_io_to_scalar.c34 lower_load_input_to_scalar(nir_builder *b, nir_intrinsic_instr *intr) in lower_load_input_to_scalar()
43 nir_intrinsic_instr *chan_intr = in lower_load_input_to_scalar()
66 lower_store_output_to_scalar(nir_builder *b, nir_intrinsic_instr *intr) in lower_store_output_to_scalar()
76 nir_intrinsic_instr *chan_intr = in lower_store_output_to_scalar()
108 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in nir_lower_io_to_scalar()
172 lower_load_to_scalar_early(nir_builder *b, nir_intrinsic_instr *intr, in lower_load_to_scalar_early()
201 nir_intrinsic_instr *chan_intr = in lower_load_to_scalar_early()
232 lower_store_output_to_scalar_early(nir_builder *b, nir_intrinsic_instr *intr, in lower_store_output_to_scalar_early()
256 nir_intrinsic_instr *chan_intr = in lower_store_output_to_scalar_early()
302 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in nir_lower_io_to_scalar_early()
Dnir_lower_var_copies.c78 emit_copy_load_store(nir_intrinsic_instr *copy_instr, in emit_copy_load_store()
122 nir_intrinsic_instr *load = in emit_copy_load_store()
131 nir_intrinsic_instr *store = in emit_copy_load_store()
149 nir_lower_var_copy_instr(nir_intrinsic_instr *copy, nir_shader *shader) in nir_lower_var_copy_instr()
168 nir_intrinsic_instr *copy = nir_instr_as_intrinsic(instr); in lower_var_copies_impl()
Dnir_lower_indirect_derefs.c28 emit_load_store(nir_builder *b, nir_intrinsic_instr *orig_instr,
33 emit_indirect_load_store(nir_builder *b, nir_intrinsic_instr *orig_instr, in emit_indirect_load_store()
72 emit_load_store(nir_builder *b, nir_intrinsic_instr *orig_instr, in emit_load_store()
97 nir_intrinsic_instr *load = in emit_load_store()
114 nir_intrinsic_instr *store = in emit_load_store()
149 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in lower_indirect_block()
Dnir_lower_subgroups.c68 lower_read_invocation_to_scalar(nir_builder *b, nir_intrinsic_instr *intrin) in lower_read_invocation_to_scalar()
78 nir_intrinsic_instr *chan_intrin = in lower_read_invocation_to_scalar()
99 lower_subgroups_intrin(nir_builder *b, nir_intrinsic_instr *intrin, in lower_subgroups_intrin()
177 nir_intrinsic_instr *ballot = in lower_subgroups_intrin()
210 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in lower_subgroups_impl()
Dnir_lower_vars_to_ssa.c361 register_load_instr(nir_intrinsic_instr *load_instr, in register_load_instr()
376 register_store_instr(nir_intrinsic_instr *store_instr, in register_store_instr()
391 register_copy_instr(nir_intrinsic_instr *copy_instr, in register_copy_instr()
418 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in register_variable_uses_block()
453 nir_intrinsic_instr *copy = (void *)copy_entry->key; in lower_copies_to_load_store()
496 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in rename_variables()
719 nir_intrinsic_instr *store = in nir_lower_vars_to_ssa_impl()
720 (nir_intrinsic_instr *)store_entry->key; in nir_lower_vars_to_ssa_impl()
Dnir_lower_wpos_ytransform.c80 nir_intrinsic_instr *intr, in emit_wpos_adjustment()
147 lower_fragcoord(lower_wpos_ytransform_state *state, nir_intrinsic_instr *intr) in lower_fragcoord()
259 nir_intrinsic_instr *interp) in lower_interp_var_at_offset()
277 nir_intrinsic_instr *intr) in lower_load_sample_pos()
300 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_wpos_ytransform_block()
Dnir_lower_io_arrays_to_elements.c106 create_array_deref(nir_intrinsic_instr *arr_intr, in create_array_deref()
107 nir_intrinsic_instr *element_intr) in create_array_deref()
127 lower_array(nir_builder *b, nir_intrinsic_instr *intr, nir_variable *var, in lower_array()
163 nir_intrinsic_instr *element_intr = in lower_array()
236 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in create_indirects_mask()
280 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_io_arrays_to_elements()
Dnir_lower_clip.c70 nir_intrinsic_instr *store; in store_clipdist_output()
85 nir_intrinsic_instr *load; in load_clipdist_input()
106 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in find_output_in_block()
282 nir_intrinsic_instr *discard; in lower_clip_fs()
Dnir_split_var_copies.c84 split_var_copy_instr(nir_intrinsic_instr *old_copy, in split_var_copy_instr()
183 nir_intrinsic_instr *new_copy = in split_var_copy_instr()
217 nir_intrinsic_instr *intrinsic = nir_instr_as_intrinsic(instr); in split_var_copies_block()
Dnir_builder.h533 nir_intrinsic_instr *load = in nir_load_var()
549 nir_intrinsic_instr *load = in nir_load_deref_var()
565 nir_intrinsic_instr *store = in nir_store_var()
581 nir_intrinsic_instr *store = in nir_store_deref_var()
596 nir_intrinsic_instr *copy = in nir_copy_deref_var()
606 nir_intrinsic_instr *copy = in nir_copy_var()
617 nir_intrinsic_instr *load = nir_intrinsic_instr_create(build->shader, op); in nir_load_system_value()
644 nir_intrinsic_instr *bary = nir_intrinsic_instr_create(build->shader, op); in nir_load_barycentric()
Dnir_lower_alpha_test.c53 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in nir_lower_alpha_test()
97 nir_intrinsic_instr *discard = in nir_lower_alpha_test()
Dnir_lower_wpos_center.c48 update_fragcoord(nir_builder *b, nir_intrinsic_instr *intr, in update_fragcoord()
83 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_wpos_center_block()
Dnir_lower_uniforms_to_ubo.c36 lower_instr(nir_intrinsic_instr *instr, nir_builder *b) in lower_instr()
55 nir_intrinsic_instr *load = in lower_instr()
Dnir_opt_conditional_discard.c82 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in nir_opt_conditional_discard_block()
97 nir_intrinsic_instr *discard_if = in nir_opt_conditional_discard_block()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_io.c38 replace_intrinsic_with_vec(nir_builder *b, nir_intrinsic_instr *intr, in replace_intrinsic_with_vec()
56 nir_intrinsic_instr *intr) in v3d_nir_lower_output()
94 nir_intrinsic_instr *intr) in v3d_nir_lower_uniform()
101 nir_intrinsic_instr *intr_comp = in v3d_nir_lower_uniform()
132 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in v3d_nir_lower_io_instr()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_io.c39 replace_intrinsic_with_vec(nir_builder *b, nir_intrinsic_instr *intr, in replace_intrinsic_with_vec()
172 nir_intrinsic_instr *intr) in vc4_nir_lower_vertex_attr()
192 nir_intrinsic_instr *intr_comp = in vc4_nir_lower_vertex_attr()
242 nir_intrinsic_instr *intr) in vc4_nir_lower_fs_input()
302 nir_intrinsic_instr *intr) in vc4_nir_lower_output()
323 nir_intrinsic_instr *intr) in vc4_nir_lower_uniform()
330 nir_intrinsic_instr *intr_comp = in vc4_nir_lower_uniform()
361 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in vc4_nir_lower_io_instr()
/external/mesa3d/src/intel/compiler/
Dbrw_fs.h213 nir_intrinsic_instr *instr);
215 nir_intrinsic_instr *instr);
217 nir_intrinsic_instr *instr);
219 nir_intrinsic_instr *instr);
221 nir_intrinsic_instr *instr);
223 nir_intrinsic_instr *instr);
225 nir_intrinsic_instr *instr);
227 int op, nir_intrinsic_instr *instr);
229 int op, nir_intrinsic_instr *instr);
238 fs_reg get_indirect_offset(nir_intrinsic_instr *instr);
Dbrw_nir.c31 is_input(nir_intrinsic_instr *intrin) in is_input()
39 is_output(nir_intrinsic_instr *intrin) in is_output()
67 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in add_const_offset_to_base_block()
100 remap_tess_levels(nir_builder *b, nir_intrinsic_instr *intr, in remap_tess_levels()
166 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in remap_patch_urb_offsets()
260 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in brw_nir_lower_vs_inputs()
274 nir_intrinsic_instr *load = in brw_nir_lower_vs_inputs()
359 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in brw_nir_lower_vue_inputs()
Dbrw_nir_tcs_workarounds.c78 nir_intrinsic_instr *load = in load_output()
113 nir_intrinsic_instr *store = in emit_quads_workaround()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c36 nir_intrinsic_instr *dst_buf = nir_intrinsic_instr_create(b.shader, in build_buffer_fill_shader()
44 nir_intrinsic_instr *load = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constant); in build_buffer_fill_shader()
54 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_store_ssbo); in build_buffer_fill_shader()
88 nir_intrinsic_instr *dst_buf = nir_intrinsic_instr_create(b.shader, in build_buffer_copy_shader()
96 nir_intrinsic_instr *src_buf = nir_intrinsic_instr_create(b.shader, in build_buffer_copy_shader()
104 nir_intrinsic_instr *load = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_ssbo); in build_buffer_copy_shader()
111 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_store_ssbo); in build_buffer_copy_shader()
Dradv_meta_bufimage.c74nir_intrinsic_instr *offset = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constan… in build_nir_itob_compute_shader()
82nir_intrinsic_instr *stride = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constan… in build_nir_itob_compute_shader()
116 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_image_store); in build_nir_itob_compute_shader()
298nir_intrinsic_instr *offset = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constan… in build_nir_btoi_compute_shader()
306nir_intrinsic_instr *stride = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constan… in build_nir_btoi_compute_shader()
341 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_image_store); in build_nir_btoi_compute_shader()
518nir_intrinsic_instr *src_offset = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_con… in build_nir_itoi_compute_shader()
526nir_intrinsic_instr *dst_offset = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_con… in build_nir_itoi_compute_shader()
555 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_image_store); in build_nir_itoi_compute_shader()
726nir_intrinsic_instr *clear_val = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_cons… in build_nir_cleari_compute_shader()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir_lower_if_else.c96 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in block_check_for_allowed_instrs()
164 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in flatten_block()
185 nir_intrinsic_instr *discard_if = in flatten_block()

12345