Home
last modified time | relevance | path

Searched refs:get_swz (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c51 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx) in get_swz() function
81 ret |= get_swz(src, swz_x); in combine_swizzles4()
82 ret |= get_swz(src, swz_y) << 3; in combine_swizzles4()
83 ret |= get_swz(src, swz_z) << 6; in combine_swizzles4()
84 ret |= get_swz(src, swz_w) << 9; in combine_swizzles4()
93 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_X)); in combine_swizzles()
94 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_Y)) << 3; in combine_swizzles()
95 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_Z)) << 6; in combine_swizzles()
96 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_W)) << 9; in combine_swizzles()
155 unsigned int new_chan = get_swz(conversion_swizzle, i); in rc_adjust_channels()
Dradeon_compiler_util.h43 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx);
Dradeon_pair_schedule.c770 if (get_swz(arg->Swizzle, i) == old_swz) { in rgb_to_alpha_remap()
847 rc_swizzle swz = get_swz(arg->Swizzle, i); in is_rgb_to_alpha_possible()
954 unsigned int swz = get_swz(pair_inst->Alpha.Arg[i].Swizzle, j); in convert_rgb_to_alpha()
Dradeon_optimize.c556 get_swz(inst->U.I.SrcReg[i].Swizzle, chan); in is_presub_candidate()