Home
last modified time | relevance | path

Searched refs:RC_SWIZZLE_X (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c178 case RC_SWIZZLE_X: in try_rewrite_constant()
182 case RC_SWIZZLE_X: in try_rewrite_constant()
220 SET_SWZ(new_swizzle, 0, RC_SWIZZLE_X); in try_rewrite_constant()
225 SET_SWZ(new_swizzle, 2, RC_SWIZZLE_X); in try_rewrite_constant()
229 case RC_SWIZZLE_X: in try_rewrite_constant()
231 if (swz2 == RC_SWIZZLE_X) { in try_rewrite_constant()
258 case RC_SWIZZLE_X: in try_rewrite_constant()
268 SET_SWZ(new_swizzle, 1, RC_SWIZZLE_X); in try_rewrite_constant()
273 SET_SWZ(new_swizzle, 0, RC_SWIZZLE_X); in try_rewrite_constant()
298 case RC_SWIZZLE_X: in try_rewrite_constant()
[all …]
Dradeon_program_constants.h108 RC_SWIZZLE_X = 0, 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)
131 #define RC_SWIZZLE_XXXX RC_MAKE_SWIZZLE_SMEAR(RC_SWIZZLE_X)
Dr500_fragprog.c99 if (GET_SWZ(inst_if->U.I.SrcReg[0].Swizzle, 0) == RC_SWIZZLE_X) { in r500_transform_IF()
117 RC_SWIZZLE_X, RC_SWIZZLE_UNUSED, in r500_transform_IF()
176 RC_SWIZZLE_X, RC_SWIZZLE_UNUSED, in r500_transform_IF()
Dradeon_compiler_util.c93 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_X)); in combine_swizzles()
107 case RC_MASK_X: return RC_SWIZZLE_X; in rc_mask_to_swizzle()
340 } else if (swz == RC_SWIZZLE_X || swz == RC_SWIZZLE_Y in rc_source_type_swz()
Dradeon_program_alu.c179 return swizzle_smear(reg, RC_SWIZZLE_X); in swizzle_xxxx()
420 swizzle(srctemp, RC_SWIZZLE_ONE, RC_SWIZZLE_X, RC_SWIZZLE_ONE, RC_SWIZZLE_ONE)); in transform_LIT()
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_program_pair.c200 if(swz == RC_SWIZZLE_X || swz == RC_SWIZZLE_Y in rc_pair_foreach_source_that_rgb_reads()
Dradeon_program_print.c173 case RC_SWIZZLE_X: return 'x'; 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.c849 case RC_SWIZZLE_X: in is_rgb_to_alpha_possible()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Dradeon_compiler_regalloc_tests.c73 != RC_SWIZZLE_X) { in test_runner_rc_regalloc()
Drc_test_helpers.c210 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_X); in init_rc_normal_src()