Home
last modified time | relevance | path

Searched refs:RC_SWIZZLE_Y (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c172 SET_SWZ(new_swizzle, 2, RC_SWIZZLE_Y); in try_rewrite_constant()
188 case RC_SWIZZLE_Y: in try_rewrite_constant()
198 SET_SWZ(new_swizzle, 1, RC_SWIZZLE_Y); in try_rewrite_constant()
203 SET_SWZ(new_swizzle, 0, RC_SWIZZLE_Y); in try_rewrite_constant()
213 case RC_SWIZZLE_Y: in try_rewrite_constant()
217 case RC_SWIZZLE_Y: in try_rewrite_constant()
260 SET_SWZ(new_swizzle, 2, RC_SWIZZLE_Y); in try_rewrite_constant()
264 case RC_SWIZZLE_Y: in try_rewrite_constant()
266 if (swz2 == RC_SWIZZLE_Y) { in try_rewrite_constant()
294 SET_SWZ(new_swizzle, 2, RC_SWIZZLE_Y); in try_rewrite_constant()
[all …]
Dradeon_program_constants.h109 RC_SWIZZLE_Y, enumerator
127 #define RC_SWIZZLE_XYZW RC_MAKE_SWIZZLE(RC_SWIZZLE_X, RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZLE_W)
128 #define RC_SWIZZLE_XYZ0 RC_MAKE_SWIZZLE(RC_SWIZZLE_X, RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZLE_ZERO)
129 #define RC_SWIZZLE_XYZ1 RC_MAKE_SWIZZLE(RC_SWIZZLE_X, RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZLE_ONE)
130 #define RC_SWIZZLE_XYZZ RC_MAKE_SWIZZLE(RC_SWIZZLE_X, RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZLE_Z)
132 #define RC_SWIZZLE_YYYY RC_MAKE_SWIZZLE_SMEAR(RC_SWIZZLE_Y)
Dradeon_program_alu.c184 return swizzle_smear(reg, RC_SWIZZLE_Y); in swizzle_yyyy()
309 swizzle(inst->U.I.SrcReg[0], RC_SWIZZLE_ONE, RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZLE_ONE), in transform_DST()
310 swizzle(inst->U.I.SrcReg[1], RC_SWIZZLE_ONE, RC_SWIZZLE_Y, RC_SWIZZLE_ONE, RC_SWIZZLE_W)); in transform_DST()
634 swizzle(inst->U.I.SrcReg[0], RC_SWIZZLE_Z, RC_SWIZZLE_X, RC_SWIZZLE_Y, RC_SWIZZLE_W), in transform_XPD()
635 swizzle(inst->U.I.SrcReg[1], RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZLE_X, RC_SWIZZLE_W)); in transform_XPD()
637 swizzle(inst->U.I.SrcReg[0], RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZLE_X, RC_SWIZZLE_W), in transform_XPD()
638 swizzle(inst->U.I.SrcReg[1], RC_SWIZZLE_Z, RC_SWIZZLE_X, RC_SWIZZLE_Y, RC_SWIZZLE_W), in transform_XPD()
1057 …swizzle(srcreg(RC_FILE_CONSTANT, constants[1]), RC_SWIZZLE_X, RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZ… in r300_transform_trig_simple()
Dradeon_compiler_util.c94 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_Y)) << 3; in combine_swizzles()
108 case RC_MASK_Y: return RC_SWIZZLE_Y; in rc_mask_to_swizzle()
340 } else if (swz == RC_SWIZZLE_X || swz == RC_SWIZZLE_Y in rc_source_type_swz()
Dradeon_program_pair.c200 if(swz == RC_SWIZZLE_X || swz == RC_SWIZZLE_Y in rc_pair_foreach_source_that_rgb_reads()
Dradeon_program_print.c174 case RC_SWIZZLE_Y: return 'y'; in rc_swizzle_char()
Dradeon_dataflow.c71 if (swz == RC_SWIZZLE_X || swz == RC_SWIZZLE_Y || swz == RC_SWIZZLE_Z) { in pair_get_src_refmasks()
Dradeon_pair_schedule.c850 case RC_SWIZZLE_Y: in is_rgb_to_alpha_possible()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c213 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_Y); in init_rc_normal_src()