Home
last modified time | relevance | path

Searched refs:SET_SWZ (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c68 SET_SWZ(mov->U.I.SrcReg[0].Swizzle, chan, RC_SWIZZLE_UNUSED); in rewrite_source()
85 SET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan, in rewrite_source()
115 SET_SWZ(new_swizzle, chan, RC_SWIZZLE_UNUSED); in try_rewrite_constant()
160 SET_SWZ(new_swizzle, 1, RC_SWIZZLE_Z); in try_rewrite_constant()
167 SET_SWZ(new_swizzle, 2, RC_SWIZZLE_Y); in try_rewrite_constant()
180 SET_SWZ(new_swizzle, 0, RC_SWIZZLE_Z); in try_rewrite_constant()
185 SET_SWZ(new_swizzle, 2, RC_SWIZZLE_Z); in try_rewrite_constant()
193 SET_SWZ(new_swizzle, 1, RC_SWIZZLE_Y); in try_rewrite_constant()
198 SET_SWZ(new_swizzle, 0, RC_SWIZZLE_Y); in try_rewrite_constant()
215 SET_SWZ(new_swizzle, 0, RC_SWIZZLE_X); in try_rewrite_constant()
[all …]
Dradeon_compiler_util.c71 SET_SWZ(initial_value, i, RC_SWIZZLE_UNUSED); in rc_init_swizzle()
166 SET_SWZ(new_swizzle, new_chan, GET_SWZ(old_swizzle, i)); in rc_adjust_channels()
245 SET_SWZ(sub->TexSwizzle, swz, i); in rc_normal_rewrite_writemask()
279 SET_SWZ(out_swizzle, chan, swz); in rc_rewrite_swizzle()
283 SET_SWZ(out_swizzle, chan, new_swz); in rc_rewrite_swizzle()
285 SET_SWZ(out_swizzle, chan, swz); in rc_rewrite_swizzle()
666 SET_SWZ(conversion_swizzle, old_idx, new_idx); in rc_make_conversion_swizzle()
Dradeon_inline_literals.c155 SET_SWZ(new_swizzle, chan, RC_SWIZZLE_W); in rc_inline_literals()
Dradeon_program_constants.h127 #define SET_SWZ(swz, idx, newv) \ macro
Dradeon_optimize.c388 SET_SWZ(newsrc.Swizzle, chan, newswz); in constant_folding()
894 SET_SWZ(new_swz, chan, swz); in merge_swizzles()
898 SET_SWZ(new_swz, chan, swz); in merge_swizzles()
Dradeon_dataflow_deadcode.c345 SET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan, RC_SWIZZLE_UNUSED); in rc_dataflow_deadcode()
Dradeon_pair_schedule.c768 SET_SWZ(arg->Swizzle, i, RC_SWIZZLE_W); in rgb_to_alpha_remap()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c211 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_X); in init_rc_normal_src()
214 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_Y); in init_rc_normal_src()
217 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_Z); in init_rc_normal_src()
220 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_W); in init_rc_normal_src()
223 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_ONE); in init_rc_normal_src()
226 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_ZERO); in init_rc_normal_src()
229 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_HALF); in init_rc_normal_src()
232 SET_SWZ(src_reg->Swizzle, i, RC_SWIZZLE_UNUSED); in init_rc_normal_src()