Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_private.h135 unsigned dead_mask:4; /**< Used in dead code elimination */ variable
Dst_glsl_to_tgsi.cpp436 inst->dead_mask = 0; in emit_asm()
3044 inst->dead_mask = inst->dst[0].writemask; in visit()
5204 writes[4 * inst->dst[i].index + c]->dead_mask |= (1 << c); in eliminate_dead_code()
5219 inst->dead_mask |= (1 << c); in eliminate_dead_code()
5227 if (!inst->dead_mask || !inst->dst[0].writemask) in eliminate_dead_code()
5233 if ((inst->dst[0].writemask & ~inst->dead_mask) == 0) { in eliminate_dead_code()
5239 if (inst->dead_mask == WRITEMASK_XY || in eliminate_dead_code()
5240 inst->dead_mask == WRITEMASK_ZW) in eliminate_dead_code()
5241 inst->dst[0].writemask &= ~(inst->dead_mask); in eliminate_dead_code()
5243 inst->dst[0].writemask &= ~(inst->dead_mask); in eliminate_dead_code()