/third_party/mesa3d/src/compiler/nir/tests/ |
D | vars_tests.cpp | 225 nir_store_var(b, out[0], nir_load_var(b, in), 1); in TEST_F() 226 nir_store_var(b, out[1], nir_load_var(b, in), 1); in TEST_F() 251 nir_store_var(b, out[0], nir_load_var(b, in), 1); in TEST_F() 253 nir_store_var(b, out[2], nir_load_var(b, in), 1); in TEST_F() 282 nir_store_var(b, out[0], nir_load_var(b, in), 1); in TEST_F() 287 nir_store_var(b, out[1], nir_load_var(b, in), 1); in TEST_F() 310 nir_load_var(b, g[0]); in TEST_F() 311 nir_load_var(b, g[1]); in TEST_F() 312 nir_load_var(b, g[2]); in TEST_F() 322 nir_store_var(b, out[0], nir_load_var(b, g[0]), 1); in TEST_F() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_rt.c | 317 nir_iadd(b, nir_load_var(b, vars->stack_ptr), nir_imm_int(b, -16)), 1); in insert_rt_return() 319 nir_load_scratch(b, 1, 32, nir_load_var(b, vars->stack_ptr), .align_mul = 16), 1); in insert_rt_return() 421 nir_iadd(&b_shader, nir_load_var(&b_shader, vars->stack_ptr), in lower_rt_instructions() 425 nir_load_var(&b_shader, vars->stack_ptr), .align_mul = 16, in lower_rt_instructions() 429 nir_iadd(&b_shader, nir_load_var(&b_shader, vars->stack_ptr), in lower_rt_instructions() 448 nir_iadd(&b_shader, nir_load_var(&b_shader, vars->stack_ptr), in lower_rt_instructions() 452 nir_load_var(&b_shader, vars->stack_ptr), .align_mul = 16, in lower_rt_instructions() 456 nir_iadd(&b_shader, nir_load_var(&b_shader, vars->stack_ptr), in lower_rt_instructions() 494 nir_iadd(&b_shader, nir_load_var(&b_shader, vars->stack_ptr), in lower_rt_instructions() 513 nir_iadd(&b_shader, nir_load_var(&b_shader, vars->stack_ptr), intr->src[0].ssa)); in lower_rt_instructions() [all …]
|
D | radv_query.c | 61 nir_ssa_def *counter = nir_load_var(b, var); in radv_break_on_count() 165 nir_ssa_def *current_outer_count = nir_load_var(&b, outer_counter); in build_occlusion_query_shader() 181 nir_ssa_def *start_done = nir_ilt(&b, nir_load_var(&b, start), nir_imm_int64(&b, 0)); in build_occlusion_query_shader() 182 nir_ssa_def *end_done = nir_ilt(&b, nir_load_var(&b, end), nir_imm_int64(&b, 0)); in build_occlusion_query_shader() 187 nir_iadd(&b, nir_load_var(&b, result), in build_occlusion_query_shader() 188 nir_isub(&b, nir_load_var(&b, end), nir_load_var(&b, start))), in build_occlusion_query_shader() 205 nir_load_var(&b, available))); in build_occlusion_query_shader() 209 nir_store_ssbo(&b, nir_load_var(&b, result), dst_buf, output_base, .write_mask = 0x1, in build_occlusion_query_shader() 214 nir_store_ssbo(&b, nir_u2u32(&b, nir_load_var(&b, result)), dst_buf, output_base, in build_occlusion_query_shader() 221 nir_b2i32(&b, nir_load_var(&b, available))); in build_occlusion_query_shader() [all …]
|
D | radv_acceleration_structure.c | 758 return nir_load_var(b, result); in get_indices() 844 positions[i] = nir_load_var(b, results[i]); in get_vertices() 1003 node_data[i * 3 + j] = nir_fdph(&b, positions[i], nir_load_var(&b, transform[j])); in build_leaf_shader() 1081 nir_ssa_def *instance_addr = nir_load_var(&b, instance_addr_var); in build_leaf_shader() 1177 nir_build_store_global(&b, nir_load_var(&b, bounds[0]), in build_leaf_shader() 1180 nir_build_store_global(&b, nir_load_var(&b, bounds[1]), in build_leaf_shader() 1331 nir_build_store_global(&b, nir_load_var(&b, bounds[0]), in build_internal_shader() 1334 nir_build_store_global(&b, nir_load_var(&b, bounds[1]), in build_internal_shader() 1337 total_bounds[0] = nir_fmin(&b, total_bounds[0], nir_load_var(&b, bounds[0])); in build_internal_shader() 1338 total_bounds[1] = nir_fmax(&b, total_bounds[1], nir_load_var(&b, bounds[1])); in build_internal_shader() [all …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_gs_intrinsics.c | 87 nir_ssa_def *count = nir_load_var(b, state->vertex_count_vars[stream]); in rewrite_emit_vertex() 91 count_per_primitive = nir_load_var(b, state->vtxcnt_per_prim_vars[stream]); in rewrite_emit_vertex() 115 nir_ssa_def *vtx_per_prim_cnt = nir_load_var(b, var); in rewrite_emit_vertex() 164 nir_load_var(b, state->vertex_count_vars[stream]); in overwrite_incomplete_primitives() 168 nir_load_var(b, state->vtxcnt_per_prim_vars[stream]); in overwrite_incomplete_primitives() 188 nir_ssa_def *prim_cnt = nir_load_var(b, state->primitive_count_vars[stream]); in overwrite_incomplete_primitives() 206 nir_ssa_def *count = nir_load_var(b, state->vertex_count_vars[stream]); in rewrite_end_primitive() 210 count_per_primitive = nir_load_var(b, state->vtxcnt_per_prim_vars[stream]); in rewrite_end_primitive() 218 nir_ssa_def *prim_cnt = nir_load_var(b, state->primitive_count_vars[stream]); in rewrite_end_primitive() 300 vtx_cnt = nir_load_var(b, state->vertex_count_vars[stream]); in append_set_vertex_and_primitive_count() [all …]
|
D | nir_lower_drawpixels.c | 66 return nir_load_var(&state->b, state->texcoord); in get_texcoord() 91 return nir_load_var(&state->b, state->scale); in get_scale() 101 return nir_load_var(&state->b, state->bias); in get_bias() 112 return nir_load_var(&state->b, state->texcoord_const); in get_texcoord_const()
|
D | nir_lower_two_sided_color.c | 181 face = nir_load_var(b, state->face); in nir_lower_two_sided_color_block() 185 front = nir_load_var(b, state->colors[idx].front); in nir_lower_two_sided_color_block() 186 back = nir_load_var(b, state->colors[idx].back); in nir_lower_two_sided_color_block()
|
D | nir_lower_input_attachments.c | 50 return nir_load_var(b, pos); in load_frag_coord() 76 return nir_load_var(b, layer_id); in load_layer_id()
|
D | nir_lower_patch_vertices.c | 90 val = nir_load_var(&b, var); in nir_lower_patch_vertices()
|
D | nir_lower_passthrough_edgeflags.c | 90 def = nir_load_var(&b, in); in lower_impl()
|
D | nir_lower_alpha_test.c | 107 nir_ssa_def *alpha_ref = nir_load_var(&b, var); in nir_lower_alpha_test()
|
D | nir_lower_bitmap.c | 81 texcoord = nir_load_var(b, get_texcoord(shader)); in lower_bitmap()
|
D | nir_lower_pntc_ytransform.c | 59 return nir_load_var(&state->b, state->pntc_transform); in get_pntc_transform()
|
D | nir_lower_clip.c | 224 return nir_load_var(b, var); in get_ucp() 241 cv = nir_load_var(b, clipvertex ? clipvertex : position); in lower_clip_outputs()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 352 ? nir_load_var(b, st->gs_accepted_var) in emit_ngg_nogs_prim_export() 469 nir_ssa_def *pos_val_rep = nir_load_var(b, replacement_var); in rewrite_uses_to_var() 692 nir_if *if_es_accepted = nir_push_if(b, nir_load_var(b, es_accepted_var)); in compact_vertices_after_culling() 700 nir_ssa_def *pos = nir_load_var(b, position_value_var); in compact_vertices_after_culling() 705 nir_ssa_def *arg_val = nir_load_var(b, repacked_arg_vars[i]); in compact_vertices_after_culling() 741 nir_if *if_gs_accepted = nir_push_if(b, nir_load_var(b, gs_accepted_var)); in compact_vertices_after_culling() 747 nir_ssa_def *vtx_addr = nir_load_var(b, gs_vtxaddr_vars[v]); in compact_vertices_after_culling() 938 nir_ssa_def *reloaded = nir_load_var(b, saved->var); in save_reusable_variables() 1121 nir_ssa_def *pre_cull_pos = nir_load_var(b, position_value_var); in add_deferred_attribute_culling() 1192 nir_ssa_def *es_accepted = nir_load_var(b, es_accepted_var); in add_deferred_attribute_culling() [all …]
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_io.c | 164 nir_load_var(b, state->gs.output_offset_var) : NULL; in v3d_nir_lower_vpm_output() 187 nir_ssa_def *header = nir_load_var(b, state->gs.header_var); in v3d_nir_lower_vpm_output() 264 nir_ssa_def *header = nir_load_var(b, state->gs.header_var); in v3d_nir_lower_emit_vertex() 265 nir_ssa_def *header_offset = nir_load_var(b, state->gs.header_offset_var); in v3d_nir_lower_emit_vertex() 266 nir_ssa_def *output_offset = nir_load_var(b, state->gs.output_offset_var); in v3d_nir_lower_emit_vertex() 563 nir_load_var(b, state->gs.output_offset_var) : NULL; in v3d_nir_emit_ff_vpm_outputs() 685 nir_load_var(b, state->gs.header_offset_var); in emit_gs_vpm_output_header_prolog()
|
D | v3d_nir_lower_line_smooth.c | 47 nir_ssa_def *coverage = nir_load_var(b, state->coverage); in lower_line_smooth_intrinsic()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_intersection_shader.c | 163 nir_push_if(b, nir_load_var(b, commit)); in brw_nir_lower_intersection_shader() 221 nir_push_if(b, nir_load_var(b, commit_tmp)); in brw_nir_lower_intersection_shader() 232 nir_ssa_def *accepted = nir_load_var(b, commit_tmp); in brw_nir_lower_intersection_shader()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_draw_helpers.c | 54 return nir_load_var(b, var); in load_frag_coord() 62 return nir_load_var(b, pos); in load_frag_coord() 175 nir_ssa_def *lw = nir_load_var(b, state->line_width_input); in nir_lower_aaline_block() 292 nir_ssa_def *aainput = nir_load_var(b, state->input); in nir_lower_aapoint_impl()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_indirect_draw.c | 588 nir_ssa_def *attrib_idx = nir_load_var(b, attrib_idx_var); in update_vertex_attribs() 695 nir_load_var(b, builder->varyings.mem_ptr); in update_varying_buf() 739 nir_load_var(b, builder->varyings.mem_ptr)); in update_varyings() 864 min = nir_load_var(b, min_var); in get_instance_size() 865 max = nir_load_var(b, max_var); in get_instance_size() 892 min = nir_load_var(b, min_var); in get_instance_size() 893 max = nir_load_var(b, max_var); in get_instance_size() 911 min = nir_load_var(b, min_var); in get_instance_size() 912 max = nir_load_var(b, max_var); in get_instance_size() 1031 nir_ssa_def *offset = nir_load_var(b, offset_var); in get_index_min_max() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_pbo.c | 328 nir_swizzle(&b, nir_i2f32(&b, nir_load_var(&b, instance_id)), swiz_x, 4), in st_pbo_create_vs() 440 nir_ssa_def *param = nir_load_var(&b, param_var); in create_fs() 447 nir_ssa_def *coord = nir_load_var(&b, fragcoord); in create_fs() 460 layer = nir_load_var(&b, var); in create_fs() 501 nir_ssa_def *layer_offset = nir_load_var(&b, layer_offset_var); in create_fs()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_lower_input_attachments.c | 48 return nir_load_var(b, pos); in load_frag_coord()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_blit.c | 213 nir_store_var(&b, pos_out, nir_load_var(&b, pos_in), 0xf); in vc4_get_yuv_vs() 261 nir_ssa_def *pos = nir_load_var(&b, pos_in); in vc4_get_yuv_fs() 271 nir_ssa_def *stride = nir_load_var(&b, stride_in); in vc4_get_yuv_fs()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_nir_passes.c | 61 return nir_load_var(b, *out_var); in get_state_var() 130 nir_ssa_def *load = nir_load_var(b, var); in lower_load_face() 702 nir_ssa_def *vertex_count = nir_load_var(b, vertex_count_var); in lower_triangle_strip_store() 737 nir_ssa_def *vertex_count = nir_load_var(b, vertex_count_var); in lower_triangle_strip_emit_vertex()
|
/third_party/mesa3d/src/gallium/frontends/clover/nir/ |
D | invocation.cpp | 273 return nir_load_var(b, state->printf_buffer); in clover_lower_nir_instr() 300 loads[i] = var ? nir_load_var(b, var) : nir_imm_int(b, 0); in clover_lower_nir_instr() 307 return nir_load_var(b, state->constant_var); in clover_lower_nir_instr()
|