Home
last modified time | relevance | path

Searched refs:RC_SWIZZLE_W (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c116 if (swz <= RC_SWIZZLE_W) { in try_rewrite_constant()
157 if (swz1 == RC_SWIZZLE_W || in try_rewrite_constant()
207 case RC_SWIZZLE_W: in try_rewrite_constant()
242 case RC_SWIZZLE_W: in try_rewrite_constant()
255 SET_SWZ(new_swizzle, 0, RC_SWIZZLE_W); in try_rewrite_constant()
277 case RC_SWIZZLE_W: in try_rewrite_constant()
284 case RC_SWIZZLE_W: in try_rewrite_constant()
288 case RC_SWIZZLE_W: in try_rewrite_constant()
330 if (swz3 <= RC_SWIZZLE_W) { in try_rewrite_constant()
381 if (chan == 3 && old_swz > RC_SWIZZLE_W) { in try_rewrite_constant()
[all …]
Dradeon_program_constants.h111 RC_SWIZZLE_W, enumerator
127 #define RC_SWIZZLE_XYZW RC_MAKE_SWIZZLE(RC_SWIZZLE_X, RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZLE_W)
134 #define RC_SWIZZLE_WWWW RC_MAKE_SWIZZLE_SMEAR(RC_SWIZZLE_W)
Dradeon_program_pair.c143 if(swz == RC_SWIZZLE_W) { in pair_foreach_source_callback()
201 || swz == RC_SWIZZLE_Z || swz == RC_SWIZZLE_W) in rc_pair_foreach_source_that_rgb_reads()
Dradeon_compiler_util.c96 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_W)) << 9; in combine_swizzles()
110 case RC_MASK_W: return RC_SWIZZLE_W; in rc_mask_to_swizzle()
338 if (swz == RC_SWIZZLE_W) { in rc_source_type_swz()
Dradeon_pair_translate.c226 if (swz < RC_SWIZZLE_W) in set_pair_instruction()
228 else if (swz == RC_SWIZZLE_W) in set_pair_instruction()
Dradeon_program_alu.c194 return swizzle_smear(reg, RC_SWIZZLE_W); in swizzle_wwww()
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 …e(srcreg(RC_FILE_CONSTANT, constants[1]), RC_SWIZZLE_X, RC_SWIZZLE_Y, RC_SWIZZLE_Z, RC_SWIZZLE_W)); in r300_transform_trig_simple()
Dradeon_inline_literals.c150 SET_SWZ(new_swizzle, chan, RC_SWIZZLE_W); in rc_inline_literals()
Dr300_fragprog_swizzle.c239 case RC_SWIZZLE_W: return R300_ALU_ARGA_SRC0A + src; in r300FPTranslateAlphaSwizzle()
Dradeon_vert_fc.c47 RC_SWIZZLE_UNUSED, RC_SWIZZLE_W); in build_pred_src()
Dradeon_pair_schedule.c771 SET_SWZ(arg->Swizzle, i, RC_SWIZZLE_W); in rgb_to_alpha_remap()
852 case RC_SWIZZLE_W: in is_rgb_to_alpha_possible()
Dradeon_program_print.c176 case RC_SWIZZLE_W: return 'w'; in rc_swizzle_char()
Dradeon_dataflow.c86 if (swz == RC_SWIZZLE_W) { in pair_get_src_refmasks()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c219 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_W); in init_rc_normal_src()