Lines Matching defs:src
97 valid_src(struct fau_state *fau, unsigned fau_page, bi_index src)
99 if (src.type != BI_INDEX_FAU)
102 bool valid = (fau_page == va_fau_page(src.value));
103 valid &= fau_state_buffer(fau, src);
105 if (src.value & BIR_FAU_UNIFORM)
106 valid &= fau_state_uniform(fau, src);
107 else if (fau_is_special(src.value))
108 valid &= fau_state_special(fau, src);
121 valid &= valid_src(&fau, fau_page, I->src[s]);
135 bi_index src = I->src[s];
137 if (!valid_src(&fau, fau_page, src)) {
138 bi_index copy = bi_mov_i32(b, bi_strip_index(src));
139 I->src[s] = bi_replace_index(src, copy);