Home
last modified time | relevance | path

Searched refs:new_swizzle (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c98 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
108 new_swizzle = RC_SWIZZLE_XYZW; in try_rewrite_constant()
115 SET_SWZ(new_swizzle, chan, RC_SWIZZLE_UNUSED); in try_rewrite_constant()
120 new_swizzle = reg->Swizzle; in try_rewrite_constant()
147 swz0 = GET_SWZ(new_swizzle, 0); in try_rewrite_constant()
148 swz1 = GET_SWZ(new_swizzle, 1); in try_rewrite_constant()
149 swz2 = GET_SWZ(new_swizzle, 2); 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()
[all …]
Dradeon_inline_literals.c107 unsigned new_swizzle; in rc_inline_literals() local
122 new_swizzle = rc_init_swizzle(RC_SWIZZLE_UNUSED, 0); in rc_inline_literals()
155 SET_SWZ(new_swizzle, chan, RC_SWIZZLE_W); in rc_inline_literals()
166 src_reg->Swizzle = new_swizzle; in rc_inline_literals()
Dradeon_pair_regalloc.c319 unsigned int new_swizzle = rc_adjust_channels(arg->Swizzle, in variable_get_class_read_cb() local
321 if (!r300_swizzle_is_native_basic(new_swizzle)) { in variable_get_class_read_cb()
380 unsigned int new_swizzle; in variable_get_class() local
393 new_swizzle = rc_rewrite_swizzle( in variable_get_class()
396 new_swizzle)) { in variable_get_class()
Dradeon_compiler_util.c160 unsigned int new_swizzle = rc_init_swizzle(RC_SWIZZLE_UNUSED, 0); in rc_adjust_channels() local
166 SET_SWZ(new_swizzle, new_chan, GET_SWZ(old_swizzle, i)); in rc_adjust_channels()
168 return new_swizzle; in rc_adjust_channels()
/third_party/mesa3d/src/compiler/nir/
Dnir_search.c261 uint8_t new_swizzle[NIR_MAX_VEC_COMPONENTS]; in match_value() local
281 new_swizzle[i] = instr->src[src].swizzle[swizzle[i]]; in match_value()
295 num_components, new_swizzle, state); in match_value()
308 if (state->variables[var->variable].swizzle[i] != new_swizzle[i]) in match_value()
319 … src, num_components, new_swizzle)) in match_value()
333 state->variables[var->variable].swizzle[i] = new_swizzle[i]; in match_value()
362 new_swizzle[i]); in match_value()
376 new_swizzle[i]); in match_value()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4.cpp565 const unsigned new_swizzle = in opt_reduce_swizzle() local
567 if (inst->src[i].swizzle != new_swizzle) { in opt_reduce_swizzle()
568 inst->src[i].swizzle = new_swizzle; in opt_reduce_swizzle()