Home | History | Annotate | Download | only in i915

Lines Matching defs:border

146    GLubyte border[4];
291 * result in sampling border values if we don't set the T wrap to
297 /* 3D textures don't seem to respect the border color.
358 /* convert border color from float to ubyte */
359 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]);
360 CLAMPED_FLOAT_TO_UBYTE(border[1], sampler->BorderColor.f[1]);
361 CLAMPED_FLOAT_TO_UBYTE(border[2], sampler->BorderColor.f[2]);
362 CLAMPED_FLOAT_TO_UBYTE(border[3], sampler->BorderColor.f[3]);
365 /* GL specs that border color for depth textures is taken from the
369 state[I915_TEXREG_SS4] = PACK_COLOR_8888(border[0],
370 border[0],
371 border[0],
372 border[0]);
374 state[I915_TEXREG_SS4] = PACK_COLOR_8888(border[3],
375 border[0],
376 border[1],
377 border[2]);