From: Brian Paul Date: Fri, 5 Mar 2010 20:30:24 +0000 (-0700) Subject: gallium/docs: document additional wrap mode restrictions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76e87786ab946b54adf7565555b0c671aa78d6bd;p=mesa.git gallium/docs: document additional wrap mode restrictions --- diff --git a/src/gallium/docs/source/cso/sampler.rst b/src/gallium/docs/source/cso/sampler.rst index 44698d12501..9bbb784de8e 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