Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_optimize.c317 struct rc_src_register newsrc; in constant_folding() local
342 newsrc = inst->U.I.SrcReg[src]; in constant_folding()
345 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan); in constant_folding()
369 SET_SWZ(newsrc.Swizzle, chan, newswz); in constant_folding()
370 if (imm < 0.0 && !newsrc.Abs) in constant_folding()
371 newsrc.Negate ^= 1 << chan; in constant_folding()
375 newsrc.File = RC_FILE_NONE; in constant_folding()
376 newsrc.Index = 0; in constant_folding()
380 if (!c->SwizzleCaps->IsNative(inst->U.I.Opcode, newsrc) && in constant_folding()
384 inst->U.I.SrcReg[src] = newsrc; in constant_folding()