Mesa (gallium-docs): docs: Clarify what truncate means.
MichaŠKról
michal at kemper.freedesktop.org
Mon Jan 4 12:39:09 UTC 2010
Module: Mesa
Branch: gallium-docs
Commit: 07f416cdc9cfdbad6bbeee0cbd826252e93ed26e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=07f416cdc9cfdbad6bbeee0cbd826252e93ed26e
Author: Michal Krol <michal at vmware.com>
Date: Mon Jan 4 13:21:32 2010 +0100
docs: Clarify what truncate means.
---
src/gallium/docs/source/tgsi.rst | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 028ddce..0a3aa4f 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
More information about the mesa-commit
mailing list