Home
last modified time | relevance | path

Searched refs:nir_ushr (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/compiler/nir/
Dnir_lower_alu.c73 nir_iand(b, nir_ushr(b, lowered, c1), c55555555), in lower_alu_instr()
78 nir_iand(b, nir_ushr(b, lowered, c2), c33333333), in lower_alu_instr()
83 nir_iand(b, nir_ushr(b, lowered, c4), c0f0f0f0f), in lower_alu_instr()
88 nir_iand(b, nir_ushr(b, lowered, c8), c00ff00ff), in lower_alu_instr()
92 nir_ushr(b, lowered, c16), in lower_alu_instr()
115 nir_iand(b, nir_ushr(b, lowered, c1), c55555555)); in lower_alu_instr()
119 nir_iand(b, nir_ushr(b, lowered, c2), c33333333)); in lower_alu_instr()
121 lowered = nir_ushr(b, in lower_alu_instr()
126 nir_ushr(b, lowered, c4)), in lower_alu_instr()
172 nir_ssa_def *src0h = nir_ushr(b, src0, cshift); in lower_alu_instr()
[all …]
Dnir_lower_frexp.c123 exponent = nir_i2i32(b, nir_iadd(b, nir_ushr(b, abs_x, exponent_shift), in lower_frexp_exp()
131 exponent = nir_iadd(b, nir_ushr(b, abs_x, exponent_shift), in lower_frexp_exp()
142 exponent = nir_iadd(b, nir_ushr(b, abs_upper_x, exponent_shift), in lower_frexp_exp()
Dnir_lower_subgroups.c341 return nir_ushr(b, nir_imm_intN_t(b, ~0ull, bit_size), in build_subgroup_mask()
520 return nir_i2b(b, nir_iand(b, nir_ushr(b, int_val, in lower_subgroups_instr()
540 mask = nir_ushr(b, mask, nir_isub(b, nir_imm_int(b, bits - 1), count)); in lower_subgroups_instr()
Dnir_lower_int64.c194 nir_ssa_def *lo_shifted_hi = nir_ushr(b, x_lo, reverse_count); in lower_ishl64()
236 nir_ssa_def *lo_shifted = nir_ushr(b, x_lo, y); in lower_ishr64()
279 nir_ssa_def *lo_shifted = nir_ushr(b, x_lo, y); in lower_ushr64()
280 nir_ssa_def *hi_shifted = nir_ushr(b, x_hi, y); in lower_ushr64()
287 nir_pack_64_2x32_split(b, nir_ushr(b, x_hi, reverse_count), in lower_ushr64()
Dnir_format_convert.h34 return nir_ushr(b, value, nir_imm_int(b, -left_shift)); in nir_shift()
105 comps[i] = nir_ushr(b, nir_ishl(b, chan, lshift), rshift); in nir_format_unpack_int()
Dnir_lower_tex.c986 nir_ssa_def *minified = nir_imax(b, nir_ushr(b, &tex->dest.ssa, lod), in nir_lower_txs_lod()
Dnir_builder.h866 return nir_ushr(build, x, nir_imm_int(build, y)); in nir_ushr_imm()
Dnir_lower_io.c944 nir_ssa_def *mode_enum = nir_ushr(b, addr, nir_imm_int(b, 62)); in build_runtime_addr_mode_check()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c117 shifted = nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index()
120 nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index()
122 nir_ushr(b, nir_imm_int(b, remap >> 32), in build_view_index()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_txf_ms.c82 nir_ssa_def *x_tile = nir_ushr(b, x, nir_imm_int(b, tile_w_shift)); in vc4_nir_lower_txf_ms_instr()
83 nir_ssa_def *y_tile = nir_ushr(b, y, nir_imm_int(b, tile_h_shift)); in vc4_nir_lower_txf_ms_instr()
Dvc4_nir_lower_io.c82 return nir_ushr(b, src, nir_imm_int(b, 16)); in vc4_nir_unpack_16u()
Dvc4_blit.c289 nir_ushr(&b, nir_iand(&b, x, two), one)), in vc4_get_yuv_fs()
Dvc4_nir_lower_blend.c322 dst_a = vc4_nir_splat(b, nir_iand(b, nir_ushr(b, dst_color, in vc4_do_blending_i()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_io_offsets.c155 new_offset = nir_ushr(b, src0, shift_ssa); in ir3_nir_try_propagate_bit_shift()
230 offset = nir_ushr(b, offset, nir_imm_int(b, shift)); in lower_offset_for_ssbo()
Dir3_nir_analyze_ubo_ranges.c312 nir_ushr(b, ubo_offset, nir_imm_int(b, -shift)); in lower_ubo_load_to_uniform()
Dir3_nir_lower_tess.c53 return nir_iand(b, nir_ushr(b, v, nir_imm_int(b, start)), in bitfield_extract()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_txf_ms.c55 nir_iand(b, nir_ushr(b, sample, one), one)); in v3d_nir_lower_txf_ms_instr()
Dv3d_nir_lower_logic_ops.c181 c = nir_ushr(b, c, nir_imm_int(b, bits[i])); in unpack_unorm_rgb10a2()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_lower_image_load_store.c151 nir_ssa_def *z_y = nir_ushr(b, z, nir_channel(b, tiling, 2)); in image_address()
179 nir_ssa_def *major = nir_ushr(b, xypos, nir_channels(b, tiling, 0x3)); in image_address()
215 nir_ssa_def *shift0 = nir_ushr(b, addr, nir_channel(b, swizzle, 0)); in image_address()
216 nir_ssa_def *shift1 = nir_ushr(b, addr, nir_channel(b, swizzle, 1)); in image_address()
Dbrw_nir_lower_alpha_to_coverage.c68 nir_iand_imm(b, nir_ushr(b, nir_imm_int(b, 0xfea80), in build_dither_mask()
/external/mesa3d/src/panfrost/util/
Dpan_lower_framebuffer.c318 nir_ssa_def *raw = nir_ushr(b, nir_i2imp(b, channels), shifts); in pan_unpack_unorm_small()
382 nir_ssa_def *top8 = nir_ushr(b, s, nir_imm_ivec4(b, 0x2, 0x2, 0x2, 0x2)); in pan_pack_unorm_1010102()
407 nir_ssa_def *shifts = nir_ushr(b, pan_replicate_4(b, nir_channel(b, ubytes, 3)), in pan_unpack_unorm_1010102()
446 nir_ssa_def *shift = nir_ushr(b, pan_replicate_4(b, chan), in pan_unpack_uint_1010102()
/external/mesa3d/src/compiler/spirv/
Dvtn_alu.c745 nir_ushr(&b->nb, src[0], nir_imm_int(&b->nb, src[0]->bit_size - 1))); in vtn_handle_alu()
/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c200 nir_src_for_ssa(nir_ushr(b, instr->src[0].ssa, nir_imm_int(b, 2))); in lower_load_push_constant()
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c1113 return nir_iand(b, nir_ushr(b, src, nir_imm_int(b, bit)), in blorp_nir_bit()
/external/mesa3d/src/amd/vulkan/
Dradv_query.c369 nir_ssa_def *elem_count = nir_ushr(&b, stats_mask, nir_imm_int(&b, 16)); in build_pipeline_statistics_query_shader()

12