Lines Matching refs:unit
83 int unit, int ss_index)
87 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
156 * Sets the sampler state for a single unit based off of the sampler key
160 int unit,
166 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
168 struct gl_sampler_object *gl_sampler = _mesa_get_samplerobj(ctx, unit);
271 * shadow comparison is enabled on each/any texture unit.
304 upload_default_color(brw, gl_sampler, unit, ss_index);
344 /* ARB programs use the texture unit number as the sampler index, so we
345 * need to find the highest unit used. A bit-count will not work.
359 const unsigned unit = (fs->SamplersUsed & (1 << s)) ?
361 if (ctx->Texture.Unit[unit]._ReallyEnabled)
362 brw_update_sampler_state(brw, unit, s, &samplers[s]);