Lines Matching refs:ifs
1081 struct i915_fragment_shader *ifs = p->shader;
1099 assert(ifs->constant_flags[i] == 0x0);
1100 ifs->constant_flags[i] = I915_CONSTFLAG_USER;
1101 ifs->num_constants = MAX2(ifs->num_constants, i + 1);
1139 if (ifs->constant_flags[j] == 0x0) {
1140 memcpy(ifs->constants[j],
1144 ifs->constant_flags[j] = 0xf; /* all four comps used */
1146 ifs->num_constants = MAX2(ifs->num_constants, j + 1);
1183 struct i915_fragment_shader *ifs)
1188 p->shader = ifs;
1196 ifs->num_constants = 0;
1197 memset(ifs->constant_flags, 0, sizeof(ifs->constant_flags));
1202 ifs->generic_mapping[i] = -1;
1231 struct i915_fragment_shader *ifs = p->shader;
1253 i915_use_passthrough_shader(ifs);
1267 assert(!ifs->decl);
1268 assert(!ifs->program);
1270 ifs->decl
1272 ifs->program
1275 if (ifs->decl) {
1276 ifs->decl_len = decl_size;
1278 memcpy(ifs->decl,
1283 if (ifs->program) {
1284 ifs->program_len = program_size;
1286 memcpy(ifs->program,