Searched refs:sat_mask (Results 1 – 1 of 1) sorted by relevance
676 saturate_src(nir_builder *b, nir_tex_instr *tex, unsigned sat_mask) in saturate_src() argument702 if ((1 << j) & sat_mask) { in saturate_src()1022 unsigned sat_mask = 0; in nir_lower_tex_block() local1025 sat_mask |= (1 << 2); /* .z */ in nir_lower_tex_block()1027 sat_mask |= (1 << 1); /* .y */ in nir_lower_tex_block()1029 sat_mask |= (1 << 0); /* .x */ in nir_lower_tex_block()1034 if (lower_txp || sat_mask) { in nir_lower_tex_block()1039 (sat_mask && nir_tex_instr_src_index(tex, nir_tex_src_coord) >= 0) || in nir_lower_tex_block()1086 if (sat_mask) { in nir_lower_tex_block()1087 saturate_src(b, tex, sat_mask); in nir_lower_tex_block()