summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2010-01-04 13:21:32 +0100
committerMichal Krol <michal@vmware.com>2010-01-04 13:21:32 +0100
commit07f416cdc9cfdbad6bbeee0cbd826252e93ed26e (patch)
tree05e0991e4f6b1d641dfa65395ed55dd2cf004db8
parentcef218062aeb86bc7564483b3c39d61532d35e48 (diff)
docs: Clarify what truncate means.
-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 028ddce839..0a3aa4f8c4 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