Mesa (gallium-docs): docs: TGSI SIN and COS are scalar instructions.

Michał Król michal at kemper.freedesktop.org
Mon Jan 4 12:39:09 UTC 2010


Module: Mesa
Branch: gallium-docs
Commit: c929664fdf257ce5e41a70545df72eb2f6b51d92
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c929664fdf257ce5e41a70545df72eb2f6b51d92

Author: Michal Krol <michal at vmware.com>
Date:   Mon Jan  4 13:12:27 2010 +0100

docs: TGSI SIN and COS are scalar instructions.

---

 src/gallium/docs/source/tgsi.rst |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 30d74ae..cd84b02 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -442,7 +442,7 @@ COS - Cosine
 
   dst.z = \cos{src.x}
 
-  dst.w = \cos{src.w}
+  dst.w = \cos{src.x}
 
 
 DDX - Derivative Relative To X
@@ -552,7 +552,7 @@ SIN - Sine
 
   dst.z = \sin{src.x}
 
-  dst.w = \sin{src.w}
+  dst.w = \sin{src.x}
 
 
 SLE - Set On Less Equal Than




More information about the mesa-commit mailing list