Home
last modified time | relevance | path

Searched refs:nir_store_var (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/compiler/nir/tests/
Dvars_tests.cpp226 nir_store_var(b, out[0], nir_load_var(b, in), 1); in TEST_F()
227 nir_store_var(b, out[1], nir_load_var(b, in), 1); in TEST_F()
252 nir_store_var(b, out[0], nir_load_var(b, in), 1); in TEST_F()
253 nir_store_var(b, out[1], nir_load_var_volatile(b, in), 1); in TEST_F()
254 nir_store_var(b, out[2], nir_load_var(b, in), 1); in TEST_F()
283 nir_store_var(b, out[0], nir_load_var(b, in), 1); in TEST_F()
288 nir_store_var(b, out[1], nir_load_var(b, in), 1); in TEST_F()
316 nir_store_var(b, g[0], nir_imm_int(b, 10), 1); in TEST_F()
319 nir_store_var(b, g[1], nir_imm_int(b, 20), 1); in TEST_F()
323 nir_store_var(b, out[0], nir_load_var(b, g[0]), 1); in TEST_F()
[all …]
Dopt_if_tests.cpp78 nir_store_var(&bld, out_var, one, 1); in TEST_F()
115 nir_store_var(&bld, out_var, one, 1); in TEST_F()
/external/mesa3d/src/compiler/nir/
Dnir_lower_gs_intrinsics.c114 nir_store_var(b, state->vertex_count_vars[stream], in rewrite_emit_vertex()
122 nir_store_var(b, var, in rewrite_emit_vertex()
185 nir_store_var(b, state->vertex_count_vars[stream], in overwrite_incomplete_primitives()
195 nir_store_var(b, state->primitive_count_vars[stream], in overwrite_incomplete_primitives()
231 nir_store_var(b, state->primitive_count_vars[stream], in rewrite_end_primitive()
241 nir_store_var(b, state->vtxcnt_per_prim_vars[stream], in rewrite_end_primitive()
362 nir_store_var(&b, state.vertex_count_vars[i], nir_imm_int(&b, 0), 0x1); in nir_lower_gs_intrinsics()
368 nir_store_var(&b, state.primitive_count_vars[i], nir_imm_int(&b, 1), 0x1); in nir_lower_gs_intrinsics()
374 nir_store_var(&b, state.vtxcnt_per_prim_vars[i], nir_imm_int(&b, 0), 0x1); in nir_lower_gs_intrinsics()
Dnir_lower_memcpy.c152 nir_store_var(&b, i, nir_imm_intN_t(&b, 0, size->bit_size), ~0); in lower_memcpy_impl()
165 nir_store_var(&b, i, nir_iadd_imm(&b, index, 1), ~0); in lower_memcpy_impl()
Dnir_lower_returns.c202 nir_store_var(b, state->return_flag, nir_imm_false(b), 1); in lower_returns_in_block()
206 nir_store_var(b, state->return_flag, nir_imm_true(b), 1); in lower_returns_in_block()
Dnir_lower_fragcolor.c79 nir_store_var(b, out_color, frag_color, writemask); in lower_fragcolor_instr()
Dnir_lower_passthrough_edgeflags.c99 nir_store_var(&b, out, def, 0xf); in lower_impl()
Dnir_lower_clip.c292 nir_store_var(b, out[0], nir_vec(b, clipdist, 4), 0xf); in lower_clip_outputs()
294 nir_store_var(b, out[1], nir_vec(b, &clipdist[4], 4), 0xf); in lower_clip_outputs()
Dnir_lower_goto_ifs.c142 nir_store_var(b, fork->path_var, nir_imm_bool(b, i), 1); in set_path_vars()
170 nir_store_var(b, fork->path_var, nir_imm_bool(b, i), 1); in set_path_vars_cond()
186 nir_store_var(b, fork->path_var, ssa_def, 1); in set_path_vars_cond()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_io.c231 nir_store_var(b, state->gs.header_var, header, 0x1); in v3d_nir_lower_vpm_output()
270 nir_store_var(b, state->gs.header_var, nir_imm_int(b, header), 0x1); in reset_gs_header()
300 nir_store_var(b, state->gs.output_offset_var, output_offset, 0x1); in v3d_nir_lower_emit_vertex()
301 nir_store_var(b, state->gs.header_offset_var, header_offset, 0x1); in v3d_nir_lower_emit_vertex()
302 nir_store_var(b, state->gs.header_var, header, 0x1); in v3d_nir_lower_emit_vertex()
618 nir_store_var(b, state->gs.output_offset_var, in emit_gs_prolog()
624 nir_store_var(b, state->gs.header_offset_var, nir_imm_int(b, 1), 0x1); in emit_gs_prolog()
Dv3d_nir_lower_line_smooth.c132 nir_store_var(&b, state->coverage, clamped, 0x1 /* writemask */); in initialise_coverage_var()
/external/mesa3d/src/amd/vulkan/
Dradv_query.c66 nir_store_var(b, var, counter, 0x1); in radv_break_on_count()
191 nir_store_var(&b, result, nir_imm_int64(&b, 0), 0x1); in build_occlusion_query_shader()
192 nir_store_var(&b, outer_counter, nir_imm_int(&b, 0), 0x1); in build_occlusion_query_shader()
193 nir_store_var(&b, available, nir_imm_true(&b), 0x1); in build_occlusion_query_shader()
217 nir_store_var(&b, start, nir_channel(&b, &load->dest.ssa, 0), 0x1); in build_occlusion_query_shader()
218 nir_store_var(&b, end, nir_channel(&b, &load->dest.ssa, 1), 0x1); in build_occlusion_query_shader()
225 nir_store_var(&b, result, in build_occlusion_query_shader()
232 nir_store_var(&b, available, nir_imm_false(&b), 0x1); in build_occlusion_query_shader()
377 nir_store_var(&b, output_offset, output_base, 0x1); in build_pipeline_statistics_query_shader()
428 nir_store_var(&b, output_offset, in build_pipeline_statistics_query_shader()
[all …]
Dradv_meta_blit.c61 nir_store_var(&b, pos_out, outvec, 0xf); in build_nir_vertex_shader()
105 nir_store_var(&b, tex_pos_out, out_tex_vec, 0xf); in build_nir_vertex_shader()
162 nir_store_var(&b, color_out, &tex->dest.ssa, 0xf); in build_nir_copy_fragment_shader()
220 nir_store_var(&b, color_out, &tex->dest.ssa, 0x1); in build_nir_copy_fragment_shader_depth()
278 nir_store_var(&b, color_out, &tex->dest.ssa, 0x1); in build_nir_copy_fragment_shader_stencil()
Dradv_meta.c561 nir_store_var(&b, v_position, outvec, 0xf); in radv_meta_build_nir_vs_generate_vertices()
647 nir_store_var(b, color, tmp, 0xf); in radv_meta_build_resolve_shader_core()
651 nir_store_var(b, color, &tex->dest.ssa, 0xf); in radv_meta_build_resolve_shader_core()
Dradv_meta_blit2d.c446 nir_store_var(&b, pos_out, outvec, 0xf); in build_nir_vertex_shader()
480 nir_store_var(&b, tex_pos_out, out_tex_vec, 0x3); in build_nir_vertex_shader()
623 nir_store_var(&b, color_out, color, 0xf); in build_nir_copy_fragment_shader()
652 nir_store_var(&b, color_out, color, 0x1); in build_nir_copy_fragment_shader_depth()
681 nir_store_var(&b, color_out, color, 0x1); in build_nir_copy_fragment_shader_stencil()
Dradv_meta_clear.c73 nir_store_var(&fs_b, fs_out_color, &in_color_load->dest.ssa, 0xf); in build_color_shaders()
76 nir_store_var(&vs_b, vs_out_pos, outvec, 0xf); in build_color_shaders()
88 nir_store_var(&vs_b, vs_out_layer, layer_id, 0x1); in build_color_shaders()
542 nir_store_var(&fs_b, fs_out_depth, &in_color_load->dest.ssa, 0x1); in build_depthstencil_shader()
558 nir_store_var(&vs_b, vs_out_pos, outvec, 0xf); in build_depthstencil_shader()
570 nir_store_var(&vs_b, vs_out_layer, layer_id, 0x1); in build_depthstencil_shader()
Dradv_meta_resolve_fs.c49 nir_store_var(&b, pos_out, outvec, 0xf); in build_nir_vertex_shader()
95 nir_store_var(&b, color_out, outval, 0xf); in build_resolve_fragment_shader()
468 nir_store_var(&b, fs_out, outval, 0x1); in build_depth_stencil_resolve_fragment_shader()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c190 nir_store_var(&b, layer_id_out, nir_imm_zero(&b, 1, 32), 0x1); in anv_nir_lower_multiview()
250 nir_store_var(b, view_index_out, view_index, 0x1); in anv_nir_lower_multiview()
257 nir_store_var(b, layer_id_out, view_index, 0x1); in anv_nir_lower_multiview()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c845 nir_store_var(b, state->vertex_flags_out, nir_imm_int(b, 4), 0x1); in lower_gs_block()
859 nir_store_var(b, state->vertex_flags_out, in lower_gs_block()
871 nir_store_var(b, state->emitted_vertex_var, in lower_gs_block()
877 nir_store_var(b, state->vertex_count_var, in lower_gs_block()
879 nir_store_var(b, state->vertex_flags_out, nir_imm_int(b, 0), 0x1); in lower_gs_block()
963 nir_store_var(&b, state.vertex_count_var, nir_imm_int(&b, 0), 0x1); in ir3_nir_lower_gs()
964 nir_store_var(&b, state.emitted_vertex_var, nir_imm_int(&b, 0), 0x1); in ir3_nir_lower_gs()
965 nir_store_var(&b, state.vertex_flags_out, nir_imm_int(&b, 4), 0x1); in ir3_nir_lower_gs()
/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c936 nir_store_var(&b->nb, switch_fall_var, nir_imm_false(&b->nb), 1); in vtn_emit_branch()
1138 nir_store_var(&b->nb, do_cont, nir_imm_false(&b->nb), 1); in vtn_emit_cf_list_structured()
1150 nir_store_var(&b->nb, do_cont, nir_imm_true(&b->nb), 1); in vtn_emit_cf_list_structured()
1173 nir_store_var(&b->nb, fall_var, nir_imm_false(&b->nb), 1); in vtn_emit_cf_list_structured()
1197 nir_store_var(&b->nb, fall_var, nir_imm_true(&b->nb), 1); in vtn_emit_cf_list_structured()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_blit.c214 nir_store_var(&b, pos_out, nir_load_var(&b, pos_in), 0xf); in vc4_get_yuv_vs()
307 nir_store_var(&b, color_out, in vc4_get_yuv_fs()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blend_shaders.c205 nir_store_var(b, c_out, s_src[0], 0xFF); in panfrost_create_blend_shader()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c322 nir_store_var(&b, out_pos, in st_pbo_create_vs()
547 nir_store_var(&b, color, result, TGSI_WRITEMASK_XYZW); in create_fs()
/external/mesa3d/src/panfrost/lib/
Dpan_blit.c101 nir_store_var(b, c_out, &tex->dest.ssa, 0xFF); in panfrost_build_blit_shader()
103 nir_store_var(b, c_out, nir_channel(b, &tex->dest.ssa, 0), 0xFF); in panfrost_build_blit_shader()
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c93 nir_store_var(&b, frag_color, color, 0xf); in blorp_params_get_clear_kernel()
165 nir_store_var(&b, v_layer, nir_iadd(&b, instance, base_layer), 0x1); in blorp_params_get_layer_offset_vs()
1181 nir_store_var(&b, frag_color, clear_color, 0xf); in blorp_params_get_mcs_partial_resolve_kernel()

12