From 76e87786ab946b54adf7565555b0c671aa78d6bd Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 5 Mar 2010 13:30:24 -0700 Subject: gallium/docs: document additional wrap mode restrictions --- src/gallium/docs/source/cso/sampler.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit v1.2.3