Home
last modified time | relevance | path

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

1234

/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_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_gs_intrinsics.c71 rewrite_emit_vertex(nir_intrinsic_instr *intrin, struct state *state) in rewrite_emit_vertex()
94 nir_intrinsic_instr *lowered = in rewrite_emit_vertex()
115 rewrite_end_primitive(nir_intrinsic_instr *intrin, struct state *state) in rewrite_end_primitive()
122 nir_intrinsic_instr *lowered = in rewrite_end_primitive()
141 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in rewrite_intrinsics()
178 nir_intrinsic_instr *set_vertex_count = in append_set_vertex_count()
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()
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()
167 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()
97 emit_load_store(nir_builder *b, nir_intrinsic_instr *orig_instr, in emit_load_store()
122 nir_intrinsic_instr *load = in emit_load_store()
133 nir_intrinsic_instr *store = in emit_load_store()
168 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in lower_indirect_block()
Dnir_lower_vars_to_ssa.c357 register_load_instr(nir_intrinsic_instr *load_instr, in register_load_instr()
372 register_store_instr(nir_intrinsic_instr *store_instr, in register_store_instr()
387 register_copy_instr(nir_intrinsic_instr *copy_instr, in register_copy_instr()
414 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in register_variable_uses_block()
449 nir_intrinsic_instr *copy = (void *)copy_entry->key; in lower_copies_to_load_store()
492 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in rename_variables()
715 nir_intrinsic_instr *store = in nir_lower_vars_to_ssa_impl()
716 (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_builder.h411 nir_intrinsic_instr *load = in nir_load_var()
427 nir_intrinsic_instr *load = in nir_load_deref_var()
443 nir_intrinsic_instr *store = in nir_store_var()
459 nir_intrinsic_instr *store = in nir_store_deref_var()
474 nir_intrinsic_instr *copy = in nir_copy_deref_var()
484 nir_intrinsic_instr *copy = in nir_copy_var()
495 nir_intrinsic_instr *load = nir_intrinsic_instr_create(build->shader, op); in nir_load_system_value()
522 nir_intrinsic_instr *bary = nir_intrinsic_instr_create(build->shader, op); in nir_load_barycentric()
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()
280 nir_intrinsic_instr *discard; in lower_clip_fs()
Dnir_lower_wpos_center.c46 add_half_to_fragcoord(nir_builder *b, nir_intrinsic_instr *intr) in add_half_to_fragcoord()
67 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_wpos_center_block()
Dnir_split_var_copies.c84 split_var_copy_instr(nir_intrinsic_instr *old_copy, in split_var_copy_instr()
178 nir_intrinsic_instr *new_copy = in split_var_copy_instr()
212 nir_intrinsic_instr *intrinsic = nir_instr_as_intrinsic(instr); in split_var_copies_block()
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/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/mesa/drivers/dri/i965/
Dbrw_fs.h206 nir_intrinsic_instr *instr);
208 nir_intrinsic_instr *instr);
210 nir_intrinsic_instr *instr);
212 nir_intrinsic_instr *instr);
214 nir_intrinsic_instr *instr);
216 nir_intrinsic_instr *instr);
218 nir_intrinsic_instr *instr);
220 int op, nir_intrinsic_instr *instr);
222 int op, nir_intrinsic_instr *instr);
231 fs_reg get_indirect_offset(nir_intrinsic_instr *instr);
Dbrw_vec4_tes.h51 virtual void nir_setup_system_value_intrinsic(nir_intrinsic_instr *instr);
52 virtual void nir_emit_intrinsic(nir_intrinsic_instr *instr);
Dbrw_vec4_gs_visitor.h51 virtual void nir_setup_system_value_intrinsic(nir_intrinsic_instr *instr);
62 virtual void nir_emit_intrinsic(nir_intrinsic_instr *instr);
Dbrw_vec4_tcs.h53 virtual void nir_setup_system_value_intrinsic(nir_intrinsic_instr *instr);
58 virtual void nir_emit_intrinsic(nir_intrinsic_instr *instr);
Dbrw_nir.c30 is_input(nir_intrinsic_instr *intrin) in is_input()
38 is_output(nir_intrinsic_instr *intrin) in is_output()
66 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in add_const_offset_to_base_block()
105 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in remap_vs_attrs()
129 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in remap_inputs_with_vue_map()
142 remap_tess_levels(nir_builder *b, nir_intrinsic_instr *intr, in remap_tess_levels()
208 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in remap_patch_urb_offsets()
Dbrw_nir_tcs_workarounds.c78 nir_intrinsic_instr *load = in load_output()
113 nir_intrinsic_instr *store = in emit_quads_workaround()
Dbrw_vec4.h339 virtual void nir_setup_system_value_intrinsic(nir_intrinsic_instr *instr);
348 virtual void nir_emit_intrinsic(nir_intrinsic_instr *instr);
353 virtual void nir_emit_ssbo_atomic(int op, nir_intrinsic_instr *instr);
364 src_reg get_indirect_offset(nir_intrinsic_instr *instr);
/external/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c30 nir_intrinsic_instr *dst_buf = nir_intrinsic_instr_create(b.shader, in build_buffer_fill_shader()
38 nir_intrinsic_instr *load = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constant); in build_buffer_fill_shader()
46 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_store_ssbo); in build_buffer_fill_shader()
80 nir_intrinsic_instr *dst_buf = nir_intrinsic_instr_create(b.shader, in build_buffer_copy_shader()
88 nir_intrinsic_instr *src_buf = nir_intrinsic_instr_create(b.shader, in build_buffer_copy_shader()
96 nir_intrinsic_instr *load = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_ssbo); in build_buffer_copy_shader()
103 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_store_ssbo); in build_buffer_copy_shader()
Dradv_meta_bufimage.c70nir_intrinsic_instr *offset = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constan… in build_nir_itob_compute_shader()
76nir_intrinsic_instr *stride = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constan… in build_nir_itob_compute_shader()
109 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_image_store); in build_nir_itob_compute_shader()
265nir_intrinsic_instr *offset = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constan… in build_nir_btoi_compute_shader()
271nir_intrinsic_instr *stride = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_constan… in build_nir_btoi_compute_shader()
304 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_image_store); in build_nir_btoi_compute_shader()
460nir_intrinsic_instr *src_offset = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_con… in build_nir_itoi_compute_shader()
466nir_intrinsic_instr *dst_offset = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_push_con… in build_nir_itoi_compute_shader()
493 nir_intrinsic_instr *store = nir_intrinsic_instr_create(b.shader, nir_intrinsic_image_store); in build_nir_itoi_compute_shader()
641nir_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/intel/vulkan/
Danv_nir_apply_dynamic_offsets.c39 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in apply_dynamic_offsets_block()
56 nir_intrinsic_instr *res_intrin = nir_instr_as_intrinsic(res_instr); in apply_dynamic_offsets_block()
73 nir_intrinsic_instr *offset_load = in apply_dynamic_offsets_block()
/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()

1234