Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp306 unsigned dead_mask:4; /**< Used in dead code elimination */ member in glsl_to_tgsi_instruction
697 inst->dead_mask = 0; in emit_asm()
3055 inst->dead_mask = inst->dst[0].writemask; in visit()
5021 writes[4 * inst->dst[i].index + c]->dead_mask |= (1 << c); in eliminate_dead_code()
5036 inst->dead_mask |= (1 << c); in eliminate_dead_code()
5044 if (!inst->dead_mask || !inst->dst[0].writemask) in eliminate_dead_code()
5050 if ((inst->dst[0].writemask & ~inst->dead_mask) == 0) { in eliminate_dead_code()
5056 if (inst->dead_mask == WRITEMASK_XY || in eliminate_dead_code()
5057 inst->dead_mask == WRITEMASK_ZW) in eliminate_dead_code()
5058 inst->dst[0].writemask &= ~(inst->dead_mask); in eliminate_dead_code()
[all …]