Searched refs:RC_SWIZZLE_UNUSED (Results 1 – 15 of 15) sorted by relevance
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_dataflow_swizzles.c | 49 if (GET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan) != RC_SWIZZLE_UNUSED) in rewrite_source() 70 SET_SWZ(mov->U.I.SrcReg[0].Swizzle, chan, RC_SWIZZLE_UNUSED); in rewrite_source() 92 GET_BIT(usemask, chan) ? chan : RC_SWIZZLE_UNUSED); in rewrite_source() 119 if (swz == RC_SWIZZLE_UNUSED) { in try_rewrite_constant() 120 SET_SWZ(new_swizzle, chan, RC_SWIZZLE_UNUSED); in try_rewrite_constant() 128 swz = RC_SWIZZLE_UNUSED; in try_rewrite_constant() 136 if (chan_swz == RC_SWIZZLE_UNUSED) { in try_rewrite_constant() 139 if (swz == RC_SWIZZLE_UNUSED) { in try_rewrite_constant() 158 swz1 == RC_SWIZZLE_UNUSED || in try_rewrite_constant() 169 if (swz2 == RC_SWIZZLE_UNUSED) { in try_rewrite_constant() [all …]
|
D | r500_fragprog.c | 117 RC_SWIZZLE_X, RC_SWIZZLE_UNUSED, in r500_transform_IF() 118 RC_SWIZZLE_UNUSED, RC_SWIZZLE_UNUSED); in r500_transform_IF() 122 RC_SWIZZLE_UNUSED, RC_SWIZZLE_UNUSED, in r500_transform_IF() 123 RC_SWIZZLE_UNUSED, RC_SWIZZLE_Z); in r500_transform_IF() 176 RC_SWIZZLE_X, RC_SWIZZLE_UNUSED, in r500_transform_IF() 177 RC_SWIZZLE_UNUSED, RC_SWIZZLE_UNUSED); in r500_transform_IF() 202 if (swz == RC_SWIZZLE_UNUSED) { in r500_swizzle_is_native() 228 if (swz != RC_SWIZZLE_UNUSED && swz != RC_SWIZZLE_ZERO) in r500_swizzle_is_native() 252 if (swz == RC_SWIZZLE_UNUSED || !GET_BIT(usemask, i)) in r500_swizzle_split()
|
D | radeon_compiler_util.c | 71 SET_SWZ(initial_value, i, RC_SWIZZLE_UNUSED); in rc_init_swizzle() 112 return RC_SWIZZLE_UNUSED; in rc_mask_to_swizzle() 153 unsigned int new_swizzle = rc_init_swizzle(RC_SWIZZLE_UNUSED, 0); in rc_adjust_channels() 156 if (new_chan == RC_SWIZZLE_UNUSED) { in rc_adjust_channels() 173 || GET_SWZ(conversion_swizzle, i) == RC_SWIZZLE_UNUSED) { in rewrite_writemask() 275 if (new_swz != RC_SWIZZLE_UNUSED) { in rc_rewrite_swizzle() 333 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_source_type_swz() 685 unsigned int conversion_swizzle = rc_init_swizzle(RC_SWIZZLE_UNUSED, 0); in rc_make_conversion_swizzle() 747 if (swz != RC_SWIZZLE_UNUSED) { in rc_get_scalar_src_swz() 751 assert(swz != RC_SWIZZLE_UNUSED); in rc_get_scalar_src_swz()
|
D | radeon_vert_fc.c | 46 src->Swizzle = RC_MAKE_SWIZZLE(RC_SWIZZLE_UNUSED, RC_SWIZZLE_UNUSED, in build_pred_src() 47 RC_SWIZZLE_UNUSED, RC_SWIZZLE_W); in build_pred_src() 225 inst->U.I.SrcReg[1].Swizzle = RC_MAKE_SWIZZLE(RC_SWIZZLE_UNUSED, in lower_if() 226 RC_SWIZZLE_UNUSED, RC_SWIZZLE_UNUSED, swz); in lower_if()
|
D | r300_fragprog_swizzle.c | 80 if (swz == RC_SWIZZLE_UNUSED) in lookup_native_swizzle() 124 if (swz == RC_SWIZZLE_UNUSED) in r300_swizzle_is_native() 136 if (GET_SWZ(reg.Swizzle, j) != RC_SWIZZLE_UNUSED) in r300_swizzle_is_native() 170 if (swz == RC_SWIZZLE_UNUSED) in r300_swizzle_split()
|
D | radeon_inline_literals.c | 113 swz = RC_SWIZZLE_UNUSED; in rc_inline_literals() 122 new_swizzle = rc_init_swizzle(RC_SWIZZLE_UNUSED, 0); in rc_inline_literals() 126 if (swz == RC_SWIZZLE_UNUSED) { in rc_inline_literals()
|
D | radeon_program_constants.h | 115 RC_SWIZZLE_UNUSED enumerator 138 #define RC_SWIZZLE_UUUU RC_MAKE_SWIZZLE_SMEAR(RC_SWIZZLE_UNUSED)
|
D | radeon_optimize.c | 209 if (swz == RC_SWIZZLE_UNUSED) in is_src_uniform_constant() 750 swz = RC_SWIZZLE_UNUSED; in peephole_mul_omod() 755 if (j_swz == RC_SWIZZLE_UNUSED) { in peephole_mul_omod() 758 if (swz == RC_SWIZZLE_UNUSED) { in peephole_mul_omod()
|
D | radeon_program_pair.c | 194 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_pair_foreach_source_that_rgb_reads()
|
D | radeon_pair_schedule.c | 818 unsigned int read_chan = RC_SWIZZLE_UNUSED; in is_rgb_to_alpha_possible() 853 if (read_chan == RC_SWIZZLE_UNUSED) { in is_rgb_to_alpha_possible() 955 if (swz != RC_SWIZZLE_UNUSED) { in convert_rgb_to_alpha()
|
D | radeon_pair_translate.c | 231 if (swz < RC_SWIZZLE_UNUSED) in set_pair_instruction()
|
D | radeon_dataflow_deadcode.c | 353 SET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan, RC_SWIZZLE_UNUSED); in rc_dataflow_deadcode()
|
D | radeon_program_print.c | 180 case RC_SWIZZLE_UNUSED: return '_'; in rc_swizzle_char()
|
D | r500_fragprog_emit.c | 145 case RC_SWIZZLE_UNUSED: in fix_hw_swizzle()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 197 src_reg->Swizzle = RC_MAKE_SWIZZLE_SMEAR(RC_SWIZZLE_UNUSED); in init_rc_normal_src() 231 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_UNUSED); in init_rc_normal_src()
|