Home
last modified time | relevance | path

Searched refs:RC_SWIZZLE_UNUSED (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c49 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 …]
Dr500_fragprog.c117 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()
Dradeon_compiler_util.c71 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()
Dradeon_vert_fc.c46 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()
Dr300_fragprog_swizzle.c80 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()
Dradeon_inline_literals.c113 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()
Dradeon_program_constants.h115 RC_SWIZZLE_UNUSED enumerator
138 #define RC_SWIZZLE_UUUU RC_MAKE_SWIZZLE_SMEAR(RC_SWIZZLE_UNUSED)
Dradeon_optimize.c209 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()
Dradeon_program_pair.c194 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_pair_foreach_source_that_rgb_reads()
Dradeon_pair_schedule.c818 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()
Dradeon_pair_translate.c231 if (swz < RC_SWIZZLE_UNUSED) in set_pair_instruction()
Dradeon_dataflow_deadcode.c353 SET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan, RC_SWIZZLE_UNUSED); in rc_dataflow_deadcode()
Dradeon_program_print.c180 case RC_SWIZZLE_UNUSED: return '_'; in rc_swizzle_char()
Dr500_fragprog_emit.c145 case RC_SWIZZLE_UNUSED: in fix_hw_swizzle()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c197 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()