summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-03-05 13:30:24 -0700
committerBrian Paul <brianp@vmware.com>2010-03-05 13:30:24 -0700
commit76e87786ab946b54adf7565555b0c671aa78d6bd (patch)
treee5fe676da2d98e7297558db1e926fb8e55e68270 /src
parent88e2eae271fc76f82f3c732e32d3faa3184353ff (diff)
gallium/docs: document additional wrap mode restrictions
Diffstat (limited to 'src')
-rw-r--r--src/gallium/docs/source/cso/sampler.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/docs/source/cso/sampler.rst b/src/gallium/docs/source/cso/sampler.rst
index 44698d1250..9bbb784de8 100644
--- a/src/gallium/docs/source/cso/sampler.rst
+++ b/src/gallium/docs/source/cso/sampler.rst
@@ -85,6 +85,9 @@ normalized_coords
will be scaled by the texture width, height, depth to compute texel
addresses. Otherwise, the texture coords are used as-is (they are not
scaled by the texture dimensions).
+ When normalized_coords=0, only a subset of the texture wrap modes are
+ allowed: PIPE_TEX_WRAP_CLAMP, PIPE_TEX_WRAP_CLAMP_TO_EDGE and
+ PIPE_TEX_WRAP_CLAMP_TO_BORDER.
lod_bias
Bias factor which is added to the computed level of detail.
The normal level of detail is computed from the partial derivatives of