summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-01-04 13:21:32 +0100
committerMichal Krol <[email protected]>2010-01-04 13:21:32 +0100
commit07f416cdc9cfdbad6bbeee0cbd826252e93ed26e (patch)
tree05e0991e4f6b1d641dfa65395ed55dd2cf004db8 /src/gallium/docs
parentcef218062aeb86bc7564483b3c39d61532d35e48 (diff)
docs: Clarify what truncate means.
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/tgsi.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 028ddce8393..0a3aa4f8c4d 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -899,8 +899,6 @@ NOT - Bitwise Not
TRUNC - Truncate
-XXX how is this different from floor?
-
.. math::
dst.x = trunc(src.x)
@@ -1130,7 +1128,7 @@ Functions
round(x) Round x.
- trunc(x) Truncate x.
+ trunc(x) Truncate x, i.e. drop the fraction bits.
Keywords