Searched refs:nir_channels (Results 1 - 25 of 75) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/broadcom/compiler/
H A Dv3d_nir_lower_image_load_store.c131 color = nir_channels(b, color, (1 << num_components) - 1);
140 color = nir_channels(b, color, (1 << num_components) - 1);
149 color = nir_channels(b, color, (1 << num_components) - 1);
158 color = nir_channels(b, color, (1 << num_components) - 1);
167 color = nir_channels(b, color, (1 << num_components) - 1);
200 formatted = nir_channels(b, unformatted, 1);
205 formatted = nir_channels(b, unformatted, 2);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_fb_read.c65 tex->src[0].src = nir_src_for_ssa(nir_channels(b, fragcoord, 0x3));
H A Dnir_lower_viewport_transform.c79 nir_channels(&b, input_point, 0x7), w_recip);
H A Dnir_lower_ubo_vec4.c147 nir_channels(b, result, high_channels),
148 nir_channels(b, result, low_channels));
H A Dnir_lower_drawpixels.c156 nir_src_for_ssa(nir_channels(b, texcoord,
197 tex->src[2].src = nir_src_for_ssa(nir_channels(b, def, 0x3));
211 tex->src[0].src = nir_src_for_ssa(nir_channels(b, def, 0xc));
H A Dnir_lower_bitmap.c105 nir_src_for_ssa(nir_channels(b, texcoord,
H A Dnir_lower_vec3_to_vec4.c78 nir_ssa_def *vec3 = nir_channels(&b, &intrin->dest.ssa, 0x7);
H A Dnir_lower_readonly_images_to_tex.c149 nir_channels(b, intrin->src[1].ssa,
189 res = nir_channels(b, res, (1 << num_components) - 1);
H A Dnir_opt_shrink_vectors.c186 nir_ssa_def *data = nir_channels(b, instr->src[3].ssa, BITSET_MASK(components));
243 nir_ssa_def *def = nir_channels(b, instr->src[0].ssa,
H A Dnir_lower_wrmasks.c120 value = nir_channels(b, value, cur_mask);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_viewport_transform.c76 nir_channels(&b, input_point, 0x7), w_recip);
H A Dnir_lower_fb_read.c65 tex->src[0].src = nir_src_for_ssa(nir_channels(b, fragcoord, 0x3));
H A Dnir_lower_drawpixels.c155 nir_src_for_ssa(nir_channels(b, texcoord,
196 tex->src[2].src = nir_src_for_ssa(nir_channels(b, def, 0x3));
210 tex->src[0].src = nir_src_for_ssa(nir_channels(b, def, 0xc));
H A Dnir_lower_bitmap.c113 nir_src_for_ssa(nir_channels(b, texcoord,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shaderlib_nir.c44 nir_ssa_def *local_ids = nir_channels(b, nir_load_local_invocation_id(b), mask);
45 nir_ssa_def *block_ids = nir_channels(b, nir_load_workgroup_id(b, 32), mask);
46 nir_ssa_def *block_size = nir_channels(b, nir_load_workgroup_size(b), mask);
129 nir_channels(&b, nir_imm_ivec4(&b, tex->surface.u.gfx9.color.dcc_block_width,
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_rt_builder.h215 defs->base_mem_addr = nir_pack_64_2x32(b, nir_channels(b, data, 0x3));
218 nir_pack_64_2x32(b, nir_channels(b, data, 0x3 << 2));
235 defs->launch_size = nir_channels(b, data, 0x7u << 13);
247 nir_pack_64_2x32(b, nir_channels(b, data, 0x3 << 2));
288 defs->tri_bary = nir_channels(b, data, 0x6);
298 brw_nir_rt_unpack_leaf_ptr(b, nir_channels(b, data, 0x3 << 0));
300 brw_nir_rt_unpack_leaf_ptr(b, nir_channels(b, data, 0x3 << 2));
426 defs->orig = nir_channels(b, data[0], 0x7);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_nir_legalize_image_load_store.cpp93 nir_channels(b, ir->src[1].ssa, src1_mask),
94 nir_channels(b, img_size, mask));
H A Dsfn_instruction_tex.cpp150 auto corr2 = nir_fadd(b, nir_channels(b, tex->src[coord_index].src.ssa, 3),
172 auto corr2 = nir_fadd(b, nir_channels(b, tex->src[coord_index].src.ssa, 3),
278 scale = nir_frcp(b, nir_channels(b, size,
282 scale = nir_frcp(b, nir_channels(b, size, 1));
368 auto cubed = nir_cube_r600(b, nir_channels(b, tex->src[coord_idx].src.ssa, 0x7));
H A Dsfn_nir_lower_64bit.cpp253 auto src_xy = nir_channels(b, intr->src[1].ssa, 3);
268 nir_build_store_deref(b, &deref_array2->dest.ssa, nir_channels(b, intr->src[1].ssa, 0xc), 3);
281 auto src_xy = nir_channels(b, intr->src[1].ssa, 3);
292 nir_build_store_deref(b, &deref2->dest.ssa, nir_channels(b, intr->src[1].ssa, 0xc), 3);
380 auto src1 = nir_channels(b, src.ssa, 3);
381 auto src2 = nir_channels(b, src.ssa, old_components == 3 ? 4 : 0xc);
485 src[0][0] = nir_channels(b, nir_ssa_for_src(b, alu->src[0].src, 2), 3);
486 src[0][1] = nir_channels(b, nir_ssa_for_src(b, alu->src[1].src, 2), 3);
500 src[0][0] = nir_channels(b, nir_ssa_for_src(b, alu->src[0].src, 2), 3);
501 src[0][1] = nir_channels(
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_meta_dcc_retile.c42 nir_ssa_def *src_dcc_pitch = nir_channels(&b, src_dcc_size, 1);
43 nir_ssa_def *src_dcc_height = nir_channels(&b, src_dcc_size, 2);
46 nir_ssa_def *dst_dcc_pitch = nir_channels(&b, dst_dcc_size, 1);
47 nir_ssa_def *dst_dcc_height = nir_channels(&b, dst_dcc_size, 2);
H A Dradv_acceleration_structure.c935 nir_ssa_def *node_dst_addr = nir_pack_64_2x32(&b, nir_channels(&b, pconst0, 3));
936 nir_ssa_def *scratch_addr = nir_pack_64_2x32(&b, nir_channels(&b, pconst0, 12));
943 nir_umul24(&b, nir_channels(&b, nir_load_workgroup_id(&b, 32), 1),
945 nir_channels(&b, nir_load_local_invocation_id(&b), 1));
952 nir_ssa_def *vertex_addr = nir_pack_64_2x32(&b, nir_channels(&b, pconst2, 3));
953 nir_ssa_def *index_addr = nir_pack_64_2x32(&b, nir_channels(&b, pconst2, 12));
954 nir_ssa_def *transform_addr = nir_pack_64_2x32(&b, nir_channels(&b, pconst3, 3));
1025 nir_ssa_def *aabb_addr = nir_pack_64_2x32(&b, nir_channels(&b, pconst2, 3));
1068 nir_ssa_def *ptr = nir_iadd(&b, nir_pack_64_2x32(&b, nir_channels(&b, pconst2, 3)),
1076 nir_ssa_def *addr = nir_iadd(&b, nir_pack_64_2x32(&b, nir_channels(
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/blorp/
H A Dblorp_nir_builder.h69 coord = nir_channels(b, xy_pos, 0x3);
/xsrc/external/mit/MesaLib/dist/src/intel/blorp/
H A Dblorp_nir_builder.h56 coord = nir_channels(b, xy_pos, 0x3);
/xsrc/external/mit/MesaLib/dist/src/panfrost/util/
H A Dpan_lower_framebuffer.c164 return nir_channels(b, pack, (1 << num_components) - 1);
175 nir_ssa_def *lo = nir_pack_32_2x16(b, nir_channels(b, v4, 0x3 << 0));
176 nir_ssa_def *hi = nir_pack_32_2x16(b, nir_channels(b, v4, 0x3 << 2));
245 return nir_channels(b, unpacked, (1 << num_components) - 1);
398 nir_ssa_def *rgb = nir_channels(b, linear, 0x7);
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_nir_lower_image_load_store.c157 coord = nir_channels(b, coord, (1 << dims) - 1);
174 nir_channels(b, coord, 0x3);
211 nir_channels(b, stride, 0xc)));
232 nir_channels(b, tiling, 0x3));
233 nir_ssa_def *major = nir_ushr(b, xypos, nir_channels(b, tiling, 0x3));
516 color = nir_channels(b, color, (1 << image.chans) - 1);

Completed in 17 milliseconds

123