Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c45 unsigned int usemask; in rewrite_source() local
47 usemask = 0; in rewrite_source()
50 usemask |= 1 << chan; in rewrite_source()
53 c->SwizzleCaps->Split(inst->U.I.SrcReg[src], usemask, &split); in rewrite_source()
92 GET_BIT(usemask, chan) ? chan : RC_SWIZZLE_UNUSED); in rewrite_source()
Dradeon_dataflow_deadcode.c324 unsigned int usemask; in rc_dataflow_deadcode() local
346 usemask = s.Instructions[ip].WriteMask; in rc_dataflow_deadcode()
349 usemask |= RC_MASK_X; in rc_dataflow_deadcode()
351 usemask |= RC_MASK_W; in rc_dataflow_deadcode()
353 rc_compute_sources_for_writemask(inst, usemask, srcmasks); in rc_dataflow_deadcode()
Dr500_fragprog.c243 static void r500_swizzle_split(struct rc_src_register src, unsigned int usemask, in r500_swizzle_split() argument
251 if (swz == RC_SWIZZLE_UNUSED || !GET_BIT(usemask, i)) in r500_swizzle_split()