From 9f61e43b4903c6cf0ac03a479ec9ed7b15fd6ccf Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 27 Sep 2011 10:08:34 +0100 Subject: gallium: move border color to be a color union EXT_texture_integer also specifies border color should be a color union, the values are used according to the texture sampler format. (update docs) Signed-off-by: Dave Airlie Reviewed-by: Brian Paul --- src/gallium/docs/source/cso/sampler.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gallium/docs/source') diff --git a/src/gallium/docs/source/cso/sampler.rst b/src/gallium/docs/source/cso/sampler.rst index 648b5cc60ea..26ffc181031 100644 --- a/src/gallium/docs/source/cso/sampler.rst +++ b/src/gallium/docs/source/cso/sampler.rst @@ -99,8 +99,9 @@ min_lod max_lod Maximum level of detail, used to clamp LOD after bias. border_color - RGBA color used for texel coordinates that are outside the [0,width-1], - [0, height-1] or [0, depth-1] ranges. + Color union used for texel coordinates that are outside the [0,width-1], + [0, height-1] or [0, depth-1] ranges. Interpreted according to sampler + view format. max_anisotropy Maximum anistropy ratio to use when sampling from textures. For example, if max_anistropy=4, a region of up to 1 by 4 texels will be sampled. -- cgit v1.2.3