summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs/source/cso/sampler.rst
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-09-27 10:08:34 +0100
committerDave Airlie <[email protected]>2011-09-27 20:02:02 +0100
commit9f61e43b4903c6cf0ac03a479ec9ed7b15fd6ccf (patch)
tree8985ff4b3c47899deb7604511ac168fa76e46f63 /src/gallium/docs/source/cso/sampler.rst
parent0527c11d7aa42bd74f4527d7299e3c18f37c4c44 (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/cso/sampler.rst')
-rw-r--r--src/gallium/docs/source/cso/sampler.rst5
1 files changed, 3 insertions, 2 deletions
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.