Home
last modified time | relevance | path

Searched refs:new_swz (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c333 unsigned new_swz = GET_SWZ(new_swizzle, chan); in try_rewrite_constant() local
351 if (new_swz == swz3) { in try_rewrite_constant()
370 unsigned new_swz = GET_SWZ(new_swizzle, chan); in try_rewrite_constant() local
385 assert(new_swz <= RC_SWIZZLE_W); in try_rewrite_constant()
389 imms[new_swz] = 0.0f; in try_rewrite_constant()
393 imms[new_swz] = -0.5f; in try_rewrite_constant()
395 imms[new_swz] = 0.5f; in try_rewrite_constant()
400 imms[new_swz] = -1.0f; in try_rewrite_constant()
402 imms[new_swz] = 1.0f; in try_rewrite_constant()
406 imms[new_swz] = rc_get_constant_value(c, reg->Index, in try_rewrite_constant()
[all …]
Dradeon_compiler_util.c270 unsigned int new_swz; in rc_rewrite_swizzle() local
274 new_swz = GET_SWZ(conversion_swizzle, swz); in rc_rewrite_swizzle()
275 if (new_swz != RC_SWIZZLE_UNUSED) { in rc_rewrite_swizzle()
276 SET_SWZ(out_swizzle, chan, new_swz); in rc_rewrite_swizzle()