Searched refs:ptn_channel (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 62 #define ptn_channel(b, src, ch) nir_swizzle(b, src, SWIZ(ch, ch, ch, ch), 1, true) macro 321 nir_ssa_def *srcx = ptn_channel(b, src[0], X); in ptn_exp() 338 nir_ssa_def *abs_srcx = nir_fabs(b, ptn_channel(b, src[0], X)); in ptn_log() 377 ptn_move_dest_masked(b, dest, nir_fmax(b, ptn_channel(b, src[0], X), in ptn_lit() 381 nir_ssa_def *src0_y = ptn_channel(b, src[0], Y); in ptn_lit() 382 nir_ssa_def *wclamp = nir_fmax(b, nir_fmin(b, ptn_channel(b, src[0], W), in ptn_lit() 391 nir_fge(b, nir_imm_float(b, 0.0), ptn_channel(b, src[0], X)), in ptn_lit() 396 nir_sge(b, nir_imm_float(b, 0.0), ptn_channel(b, src[0], X)), in ptn_lit() 414 ptn_move_dest_masked(b, dest, nir_fcos(b, ptn_channel(b, src[0], X)), in ptn_scs() 416 ptn_move_dest_masked(b, dest, nir_fsin(b, ptn_channel(b, src[0], X)), in ptn_scs() [all …]
|