Searched refs:new_swizzle (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_dataflow_swizzles.c | 104 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local 113 new_swizzle = RC_SWIZZLE_XYZW; in try_rewrite_constant() 120 SET_SWZ(new_swizzle, chan, RC_SWIZZLE_UNUSED); in try_rewrite_constant() 125 new_swizzle = reg->Swizzle; in try_rewrite_constant() 152 swz0 = GET_SWZ(new_swizzle, 0); in try_rewrite_constant() 153 swz1 = GET_SWZ(new_swizzle, 1); in try_rewrite_constant() 154 swz2 = GET_SWZ(new_swizzle, 2); in try_rewrite_constant() 165 SET_SWZ(new_swizzle, 1, RC_SWIZZLE_Z); in try_rewrite_constant() 172 SET_SWZ(new_swizzle, 2, RC_SWIZZLE_Y); in try_rewrite_constant() 185 SET_SWZ(new_swizzle, 0, RC_SWIZZLE_Z); in try_rewrite_constant() [all …]
|
D | radeon_inline_literals.c | 107 unsigned new_swizzle; in rc_inline_literals() local 122 new_swizzle = rc_init_swizzle(RC_SWIZZLE_UNUSED, 0); in rc_inline_literals() 150 SET_SWZ(new_swizzle, chan, RC_SWIZZLE_W); in rc_inline_literals() 161 src_reg->Swizzle = new_swizzle; in rc_inline_literals()
|
D | radeon_pair_regalloc.c | 319 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_adjust_channels( in variable_get_class() 396 new_swizzle)) { in variable_get_class()
|
D | radeon_compiler_util.c | 153 unsigned int new_swizzle = rc_init_swizzle(RC_SWIZZLE_UNUSED, 0); in rc_adjust_channels() local 159 SET_SWZ(new_swizzle, new_chan, GET_SWZ(old_swizzle, i)); in rc_adjust_channels() 161 return new_swizzle; in rc_adjust_channels()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opt_copy_propagate.c | 142 unsigned new_swizzle[NIR_MAX_VEC_COMPONENTS] = {0, 0, 0, 0}; in copy_prop_alu_src() local 146 new_swizzle[i] = alu_instr->src[0].swizzle[src->swizzle[i]]; in copy_prop_alu_src() 162 new_swizzle[i] = alu_instr->src[src->swizzle[i]].swizzle[0]; in copy_prop_alu_src() 167 src->swizzle[i] = new_swizzle[i]; in copy_prop_alu_src()
|
D | nir_search.c | 259 uint8_t new_swizzle[NIR_MAX_VEC_COMPONENTS]; in match_value() local 279 new_swizzle[i] = instr->src[src].swizzle[swizzle[i]]; in match_value() 293 num_components, new_swizzle, state); in match_value() 306 if (state->variables[var->variable].swizzle[i] != new_swizzle[i]) in match_value() 317 src, num_components, new_swizzle)) in match_value() 331 state->variables[var->variable].swizzle[i] = new_swizzle[i]; in match_value() 360 new_swizzle[i]); in match_value() 374 new_swizzle[i]); in match_value()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4.cpp | 569 const unsigned new_swizzle = in opt_reduce_swizzle() local 571 if (inst->src[i].swizzle != new_swizzle) { in opt_reduce_swizzle() 572 inst->src[i].swizzle = new_swizzle; in opt_reduce_swizzle()
|