Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c39 unsigned int usemask; in rewrite_source() local
41 usemask = 0; in rewrite_source()
44 usemask |= 1 << chan; in rewrite_source()
47 c->SwizzleCaps->Split(inst->U.I.SrcReg[src], usemask, &split); in rewrite_source()
86 GET_BIT(usemask, chan) ? chan : RC_SWIZZLE_UNUSED); in rewrite_source()
Dradeon_dataflow_deadcode.c319 unsigned int usemask; in rc_dataflow_deadcode() local
341 usemask = s.Instructions[ip].WriteMask; in rc_dataflow_deadcode()
344 usemask |= RC_MASK_X; in rc_dataflow_deadcode()
346 usemask |= RC_MASK_W; in rc_dataflow_deadcode()
348 rc_compute_sources_for_writemask(inst, usemask, srcmasks); in rc_dataflow_deadcode()
Dr500_fragprog.c244 static void r500_swizzle_split(struct rc_src_register src, unsigned int usemask, in r500_swizzle_split() argument
252 if (swz == RC_SWIZZLE_UNUSED || !GET_BIT(usemask, i)) in r500_swizzle_split()