Home
last modified time | relevance | path

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

12

/external/mesa3d/src/compiler/nir/
Dnir_lower_cl_images_to_tex.c92 nir_channels(&b, intrin->src[1].ssa, in lower_cl_images_to_tex_impl()
132 res = nir_channels(&b, res, (1 << num_components) - 1); in lower_cl_images_to_tex_impl()
Dnir_lower_ubo_vec4.c154 nir_channels(b, result, high_channels), in nir_lower_ubo_vec4_lower()
155 nir_channels(b, result, low_channels)); in nir_lower_ubo_vec4_lower()
Dnir_lower_drawpixels.c156 nir_src_for_ssa(nir_channels(b, texcoord, in lower_color()
197 tex->src[2].src = nir_src_for_ssa(nir_channels(b, def, 0x3)); in lower_color()
211 tex->src[0].src = nir_src_for_ssa(nir_channels(b, def, 0xc)); in lower_color()
Dnir_opt_shrink_vectors.c129 nir_ssa_def *data = nir_channels(b, instr->src[3].ssa, BITSET_MASK(components)); in opt_shrink_vectors_image_store()
185 nir_ssa_def *def = nir_channels(b, instr->src[0].ssa, in opt_shrink_vectors_intrinsic()
Dnir_lower_viewport_transform.c77 nir_channels(&b, input_point, 0x7), w_recip); in nir_lower_viewport_transform()
Dnir_lower_fb_read.c65 tex->src[0].src = nir_src_for_ssa(nir_channels(b, fragcoord, 0x3)); in lower_fb_read()
Dnir_lower_bitmap.c106 nir_src_for_ssa(nir_channels(b, texcoord, in lower_bitmap()
Dnir_lower_vec3_to_vec4.c78 nir_ssa_def *vec3 = nir_channels(&b, &intrin->dest.ssa, 0x7); in lower_vec3_to_vec4_impl()
Dnir_lower_wrmasks.c120 value = nir_channels(b, value, cur_mask); in split_wrmask()
Dnir_lower_tex.c585 nir_ssa_def *Q_xy = nir_channels(b, Q, 0x3); in lower_gradient_cube_map()
588 nir_ssa_def *dQdx_xy = nir_channels(b, dQdx, 0x3); in lower_gradient_cube_map()
593 nir_ssa_def *dQdy_xy = nir_channels(b, dQdy, 0x3); in lower_gradient_cube_map()
644 nir_channels(b, nir_i2f32(b, nir_get_texture_size(b, tex)), in lower_gradient()
810 nir_format_srgb_to_linear(b, nir_channels(b, &tex->dest.ssa, 0x7)); in linearize_srgb_result()
Dnir_lower_io_to_vector.c481 nir_ssa_def *new_vec = nir_channels(&b, &intrin->dest.ssa, in nir_lower_io_to_vector_impl()
Dnir_lower_io.c360 nir_pack_64_2x32(b, nir_channels(b, data32, 3 << (i * 2))); in lower_load()
468 nir_channels(b, intrin->src[1].ssa, in lower_store()
979 return nir_channels(b, addr, 0x3); in addr_to_index()
1044 return nir_iadd(b, nir_pack_64_2x32(b, nir_channels(b, addr, 0x3)), in addr_to_global()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_lower_image_load_store.c103 coord = nir_channels(b, coord, (1 << dims) - 1); in image_address()
120 nir_channels(b, coord, 0x3); in image_address()
157 nir_channels(b, stride, 0xc))); in image_address()
178 nir_channels(b, tiling, 0x3)); in image_address()
179 nir_ssa_def *major = nir_ushr(b, xypos, nir_channels(b, tiling, 0x3)); in image_address()
462 color = nir_channels(b, color, (1 << image.chans) - 1); in convert_color_for_store()
/external/mesa3d/src/panfrost/util/
Dpan_lower_framebuffer.c171 return nir_channels(b, pack, (1 << num_components) - 1); in pan_unpack_pure_32()
267 return nir_channels(b, unpacked, (1 << num_components) - 1); in pan_unpack_pure_8()
412 nir_ssa_def *top_rgb = nir_ishl(b, nir_channels(b, ubytes, 0x7), nir_imm_int(b, 2)); in pan_unpack_unorm_1010102()
413 top_rgb = nir_ior(b, nir_channels(b, precision, 0x7), top_rgb); in pan_unpack_unorm_1010102()
486 nir_ssa_def *rgb = nir_channels(b, linear, 0x7); in pan_linear_to_srgb()
505 nir_ssa_def *rgb = nir_channels(b, srgb, 0x7); in pan_srgb_to_linear()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp260 scale = nir_frcp(b, nir_channels(b, size, in lower_txl_txf_array_or_cube()
264 scale = nir_frcp(b, nir_channels(b, size, 1)); in lower_txl_txf_array_or_cube()
/external/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h57 coord = nir_channels(b, xy_pos, 0x3); in blorp_nir_txf_ms_mcs()
Dblorp_blit.c724 nir_ssa_def *pos_xy = nir_channels(b, pos, 0x3); in blorp_nir_manual_blend_bilinear()
943 color = nir_channels(b, color, (1 << src_channels) - 1); in bit_cast_color()
1278 src_pos = nir_channels(&b, src_pos, 0x3); in brw_blorp_build_nir_shader()
1365 src_pos = nir_f2i32(&b, nir_channels(&b, src_pos, 0x3)); in brw_blorp_build_nir_shader()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c453 nir_iadd(&b, nir_channels(&b, param, TGSI_WRITEMASK_XY), in create_fs()
454 nir_f2i32(&b, nir_channels(&b, coord, TGSI_WRITEMASK_XY))); in create_fs()
469 texcoord = nir_f2i32(&b, nir_channels(&b, coord, TGSI_WRITEMASK_XY)); in create_fs()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_image_load_store.c98 nir_ssa_def *color = nir_channels(b, in v3d_nir_lower_image_store()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve_fs.c77 nir_ssa_def *pos_in = nir_channels(&b, nir_load_frag_coord(&b), 0x3); in build_resolve_fragment_shader()
88 nir_ssa_def *img_coord = nir_channels(&b, nir_iadd(&b, pos_int, &src_offset->dest.ssa), 0x3); in build_resolve_fragment_shader()
388 nir_ssa_def *pos_in = nir_channels(&b, nir_load_frag_coord(&b), 0x3); in build_depth_stencil_resolve_fragment_shader()
400 nir_ssa_def *img_coord = nir_channels(&b, nir_iadd(&b, pos_int, &src_offset->dest.ssa), 0x3); in build_depth_stencil_resolve_fragment_shader()
Dradv_meta_resolve_cs.c63 comp[3] = nir_channels(b, input, 1 << 3); in radv_meta_build_resolve_srgb_conversion()
120 nir_ssa_def *img_coord = nir_channels(&b, nir_iadd(&b, global_id, &src_offset->dest.ssa), 0x3); in build_resolve_compute_shader()
222 nir_ssa_def *img_coord = nir_channels(&b, nir_iadd(&b, global_id, &src_offset->dest.ssa), 0x3); in build_depth_stencil_resolve_compute_shader()
Dradv_meta_fmask_expand.c80 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, global_id, 0x3)); in build_fmask_expand_compute_shader()
Dradv_meta_blit2d.c620 nir_ssa_def *tex_pos = nir_channels(&b, pos_int, 0x3); in build_nir_copy_fragment_shader()
649 nir_ssa_def *tex_pos = nir_channels(&b, pos_int, 0x3); in build_nir_copy_fragment_shader_depth()
678 nir_ssa_def *tex_pos = nir_channels(&b, pos_int, 0x3); in build_nir_copy_fragment_shader_stencil()
Dradv_meta_bufimage.c96 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, img_coord, is_3d ? 0x7 : 0x3)); in build_nir_itob_compute_shader()
331 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, buf_coord, 1)); in build_nir_btoi_compute_shader()
567 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, buf_coord, 1)); in build_nir_btoi_r32g32b32_compute_shader()
755 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, src_coord, is_3d ? 0x7 : 0x3)); in build_nir_itoi_compute_shader()
995 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, src_coord, 1)); in build_nir_itoi_r32g32b32_compute_shader()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.c76 texcoord = nir_fmul(b, nir_channels(b, frag_coord, 0x3), in nir_lower_pstipple_block()

12