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_search.c | 99 uint8_t new_swizzle[4]; in match_value() local 120 new_swizzle[i] = instr->src[src].swizzle[swizzle[i]]; in match_value() 134 num_components, new_swizzle, state); in match_value() 147 if (state->variables[var->variable].swizzle[i] != new_swizzle[i]) in match_value() 157 if (var->cond && !var->cond(instr, src, num_components, new_swizzle)) in match_value() 171 state->variables[var->variable].swizzle[i] = new_swizzle[i]; in match_value() 198 val = load->value.f32[new_swizzle[i]]; in match_value() 201 val = load->value.f64[new_swizzle[i]]; in match_value() 218 if (load->value.u32[new_swizzle[i]] != in match_value() 226 if (load->value.u64[new_swizzle[i]] != const_val->data.u) in match_value()
|
D | nir_opt_copy_propagate.c | 154 unsigned new_swizzle[4] = {0, 0, 0, 0}; in copy_prop_alu_src() local 159 new_swizzle[i] = alu_instr->src[0].swizzle[src->swizzle[i]]; in copy_prop_alu_src() 175 new_swizzle[i] = alu_instr->src[src->swizzle[i]].swizzle[0]; in copy_prop_alu_src() 180 src->swizzle[i] = new_swizzle[i]; in copy_prop_alu_src()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4.cpp | 549 const unsigned new_swizzle = in opt_reduce_swizzle() local 551 if (inst->src[i].swizzle != new_swizzle) { in opt_reduce_swizzle() 552 inst->src[i].swizzle = new_swizzle; in opt_reduce_swizzle()
|