Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c330 unsigned new_swz = GET_SWZ(new_swizzle, chan); in try_rewrite_constant() local
348 if (new_swz == swz3) { in try_rewrite_constant()
367 unsigned new_swz = GET_SWZ(new_swizzle, chan); in try_rewrite_constant() local
382 if (new_swz > RC_SWIZZLE_W) { in try_rewrite_constant()
384 new_swz = RC_SWIZZLE_X; 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()
[all …]
Dradeon_compiler_util.c277 unsigned int new_swz; in rc_rewrite_swizzle() local
281 new_swz = GET_SWZ(conversion_swizzle, swz); in rc_rewrite_swizzle()
282 if (new_swz != RC_SWIZZLE_UNUSED) { in rc_rewrite_swizzle()
283 SET_SWZ(out_swizzle, chan, new_swz); in rc_rewrite_swizzle()
Dradeon_optimize.c890 unsigned int new_swz = rc_init_swizzle(RC_SWIZZLE_UNUSED, 0); in merge_swizzles() local
894 SET_SWZ(new_swz, chan, swz); in merge_swizzles()
898 SET_SWZ(new_swz, chan, swz); in merge_swizzles()
900 return new_swz; in merge_swizzles()