/external/mesa3d/src/compiler/nir/ |
D | nir_lower_wpos_ytransform.c | 105 nir_channel(b, wpostrans, invert ? 2 : 0), in emit_wpos_adjustment() 127 wpos_temp_y = nir_fadd(b, nir_fmul(b, nir_channel(b, wpos_temp, 1), in emit_wpos_adjustment() 128 nir_channel(b, wpostrans, 0)), in emit_wpos_adjustment() 129 nir_channel(b, wpostrans, 1)); in emit_wpos_adjustment() 132 wpos_temp_y = nir_fadd(b, nir_fmul(b, nir_channel(b, wpos_temp, 1), in emit_wpos_adjustment() 133 nir_channel(b, wpostrans, 2)), in emit_wpos_adjustment() 134 nir_channel(b, wpostrans, 3)); in emit_wpos_adjustment() 138 nir_channel(b, wpos_temp, 0), in emit_wpos_adjustment() 140 nir_channel(b, wpos_temp, 2), in emit_wpos_adjustment() 141 nir_channel(b, wpos_temp, 3)); in emit_wpos_adjustment() [all …]
|
D | nir_lower_tex.c | 74 nir_channel(b, projected, 0), in project_src() 75 nir_channel(b, projected, 1), in project_src() 76 nir_channel(b, projected, 2), in project_src() 77 nir_channel(b, unprojected, 3)); in project_src() 81 nir_channel(b, projected, 0), in project_src() 82 nir_channel(b, projected, 1), in project_src() 83 nir_channel(b, unprojected, 2)); in project_src() 87 nir_channel(b, projected, 0), in project_src() 88 nir_channel(b, unprojected, 1)); in project_src() 132 offset_coord = nir_vec2(b, nir_channel(b, offset_coord, 0), in lower_offset() [all …]
|
D | nir_normalize_cubemap_coords.c | 60 nir_ssa_def *norm = nir_fmax(b, nir_channel(b, abs, 0), in normalize_cubemap_coords_block() 61 nir_fmax(b, nir_channel(b, abs, 1), in normalize_cubemap_coords_block() 62 nir_channel(b, abs, 2))); in normalize_cubemap_coords_block() 71 nir_channel(b, normalized, 0), in normalize_cubemap_coords_block() 72 nir_channel(b, normalized, 1), in normalize_cubemap_coords_block() 73 nir_channel(b, normalized, 2), in normalize_cubemap_coords_block() 74 nir_channel(b, orig_coord, 3)); in normalize_cubemap_coords_block()
|
D | nir_lower_alu_to_scalar.c | 109 nir_pack_half_2x16_split(b, nir_channel(b, instr->src[0].src.ssa, in lower_alu_instr_scalar() 111 nir_channel(b, instr->src[0].src.ssa, in lower_alu_instr_scalar() 148 nir_ior(b, nir_ishl(b, nir_channel(b, word, 1), nir_imm_int(b, 16)), in lower_alu_instr_scalar() 149 nir_channel(b, word, 0)); in lower_alu_instr_scalar() 163 nir_ior(b, nir_ior(b, nir_ishl(b, nir_channel(b, byte, 3), nir_imm_int(b, 24)), in lower_alu_instr_scalar() 164 nir_ishl(b, nir_channel(b, byte, 2), nir_imm_int(b, 16))), in lower_alu_instr_scalar() 165 nir_ior(b, nir_ishl(b, nir_channel(b, byte, 1), nir_imm_int(b, 8)), in lower_alu_instr_scalar() 166 nir_channel(b, byte, 0))); in lower_alu_instr_scalar() 176 sum[i] = nir_fmul(b, nir_channel(b, instr->src[0].src.ssa, in lower_alu_instr_scalar() 178 nir_channel(b, instr->src[1].src.ssa, in lower_alu_instr_scalar() [all …]
|
D | nir_lower_system_values.c | 95 sysval = nir_imul(b, nir_channel(b, local_id, 2), in convert_block() 98 nir_imul(b, nir_channel(b, local_id, 1), size_x)); in convert_block() 99 sysval = nir_iadd(b, sysval, nir_channel(b, local_id, 0)); in convert_block()
|
D | nir_lower_double_packing.c | 38 return nir_pack_double_2x32_split(b, nir_channel(b, src, 0), in lower_pack_double() 39 nir_channel(b, src, 1)); in lower_pack_double()
|
D | nir_lower_drawpixels.c | 188 nir_channel(b, def_xy, 0), in lower_color() 189 nir_channel(b, def_xy, 1), in lower_color() 190 nir_channel(b, def_zw, 0), in lower_color() 191 nir_channel(b, def_zw, 1)); in lower_color()
|
D | nir_lower_clip.c | 94 val[0] = nir_channel(b, &load->dest.ssa, 0); in load_clipdist_input() 95 val[1] = nir_channel(b, &load->dest.ssa, 1); in load_clipdist_input() 96 val[2] = nir_channel(b, &load->dest.ssa, 2); in load_clipdist_input() 97 val[3] = nir_channel(b, &load->dest.ssa, 3); in load_clipdist_input()
|
D | nir_lower_bitmap.c | 105 cond = nir_f2b(b, nir_channel(b, &tex->dest.ssa, in lower_bitmap()
|
D | nir_lower_io_to_scalar.c | 85 chan_intr->src[0] = nir_src_for_ssa(nir_channel(b, value, i)); in lower_store_output_to_scalar()
|
D | nir_lower_vars_to_ssa.c | 587 srcs[i] = nir_channel(&b, intrin->src[0].ssa, i); in rename_variables() 589 srcs[i] = nir_channel(&b, old_def, i); in rename_variables()
|
D | nir_opt_copy_prop_vars.c | 423 comps[i] = nir_channel(b, value->ssa[i], i); in load_from_ssa_entry_value() 434 comps[i] = nir_channel(b, load_def, i); in load_from_ssa_entry_value()
|
D | nir_builder.h | 347 nir_channel(nir_builder *b, nir_ssa_def *def, unsigned c) in nir_channel() function
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_blit.c | 115 return nir_vec3(b, nir_channel(b, coord, 0), nir_channel(b, coord, 1), in blorp_blit_get_frag_coords() 118 return nir_vec2(b, nir_channel(b, coord, 0), nir_channel(b, coord, 1)); in blorp_blit_get_frag_coords() 132 nir_ssa_def *offset = nir_vec2(b, nir_channel(b, coord_transform, 1), in blorp_blit_apply_transform() 133 nir_channel(b, coord_transform, 3)); in blorp_blit_apply_transform() 134 nir_ssa_def *mul = nir_vec2(b, nir_channel(b, coord_transform, 0), in blorp_blit_apply_transform() 135 nir_channel(b, coord_transform, 2)); in blorp_blit_apply_transform() 146 nir_ssa_def *dst_x0 = nir_channel(b, discard_rect, 0); in blorp_nir_discard_if_outside_rect() 147 nir_ssa_def *dst_x1 = nir_channel(b, discard_rect, 1); in blorp_nir_discard_if_outside_rect() 148 nir_ssa_def *dst_y0 = nir_channel(b, discard_rect, 2); in blorp_nir_discard_if_outside_rect() 149 nir_ssa_def *dst_y1 = nir_channel(b, discard_rect, 3); in blorp_nir_discard_if_outside_rect() [all …]
|
D | blorp_clear.c | 136 nir_ssa_def *base_layer = nir_channel(&b, header, 0); in blorp_params_get_layer_offset_vs() 137 nir_ssa_def *instance = nir_channel(&b, header, 1); in blorp_params_get_layer_offset_vs()
|
/external/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 40 return nir_fsub(b, nir_channel(b, p, 0), nir_channel(b, p, 1)); in build_mat2_det() 60 return nir_fadd(b, nir_channel(b, diff, 0), in build_mat3_det() 61 nir_fadd(b, nir_channel(b, diff, 1), in build_mat3_det() 62 nir_channel(b, diff, 2))); in build_mat3_det() 84 return nir_fadd(b, nir_fsub(b, nir_channel(b, prod, 0), in build_mat4_det() 85 nir_channel(b, prod, 1)), in build_mat4_det() 86 nir_fsub(b, nir_channel(b, prod, 2), in build_mat4_det() 87 nir_channel(b, prod, 3))); in build_mat4_det() 117 return nir_channel(b, src->elems[1 - col]->def, 1 - row); in build_mat_subdet()
|
D | vtn_alu.c | 120 nir_channel(&b->nb, src1->elems[i]->def, 0)); in matrix_multiply() 125 nir_channel(&b->nb, src1->elems[i]->def, j))); in matrix_multiply() 391 nir_fmul(&b->nb, src[0], nir_channel(&b->nb, src[1], i)); in vtn_handle_alu()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_input_attachments.c | 67 nir_vec3(&b, nir_channel(&b, pos, 0), nir_channel(&b, pos, 1), layer); in try_lower_input_load()
|
D | anv_nir_apply_dynamic_offsets.c | 94 nir_ssa_def *pred = nir_uge(b, nir_channel(b, &offset_load->dest.ssa, 1), in apply_dynamic_offsets_block()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_txf_ms.c | 73 nir_ssa_def *x = nir_channel(b, coord, 0); in vc4_nir_lower_txf_ms_instr() 74 nir_ssa_def *y = nir_channel(b, coord, 1); in vc4_nir_lower_txf_ms_instr()
|
D | vc4_nir_lower_blend.c | 533 src_color[i] = nir_channel(b, src, i); in vc4_nir_blend_pipeline() 534 unpacked_dst_color[i] = nir_channel(b, dst_vec4, i); in vc4_nir_blend_pipeline() 645 nir_ssa_def *a = nir_channel(b, frag_color, 3); in vc4_nir_lower_blend_instr()
|
D | vc4_nir_lower_io.c | 88 return nir_channel(b, nir_unpack_unorm_4x8(b, src), chan); in vc4_nir_unpack_8f()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_nir_attribute_workarounds.c | 71 comps[i] = nir_channel(b, rescale ? scaled : val, i); in apply_attr_wa_block()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_bufimage.c | 100 nir_ssa_def *pos_x = nir_channel(&b, global_id, 0); in build_nir_itob_compute_shader() 101 nir_ssa_def *pos_y = nir_channel(&b, global_id, 1); in build_nir_itob_compute_shader() 277 nir_ssa_def *pos_x = nir_channel(&b, global_id, 0); in build_nir_btoi_compute_shader() 278 nir_ssa_def *pos_y = nir_channel(&b, global_id, 1); in build_nir_btoi_compute_shader()
|
D | radv_meta_blit2d.c | 518 nir_ssa_def *pos_x = nir_channel(b, tex_pos, 0); in build_nir_buffer_fetch() 519 nir_ssa_def *pos_y = nir_channel(b, tex_pos, 1); in build_nir_buffer_fetch()
|