Searched refs:sat_mask (Results 1 – 1 of 1) sorted by relevance
579 saturate_src(nir_builder *b, nir_tex_instr *tex, unsigned sat_mask) in saturate_src() argument605 if ((1 << j) & sat_mask) { in saturate_src()741 unsigned sat_mask = 0; in nir_lower_tex_block() local744 sat_mask |= (1 << 2); /* .z */ in nir_lower_tex_block()746 sat_mask |= (1 << 1); /* .y */ in nir_lower_tex_block()748 sat_mask |= (1 << 0); /* .x */ in nir_lower_tex_block()753 if (lower_txp || sat_mask) { in nir_lower_tex_block()759 (sat_mask && nir_tex_instr_src_index(tex, nir_tex_src_coord) >= 0) || in nir_lower_tex_block()790 if (sat_mask) { in nir_lower_tex_block()791 saturate_src(b, tex, sat_mask); in nir_lower_tex_block()