summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-03-10 10:06:19 +0100
committerMichal Krol <[email protected]>2009-03-10 10:27:15 +0100
commitbbf84cca572584f05927efca89ea29fa13abccb8 (patch)
tree22118d6658fb4419e7a4d7161f306471ba1bc117 /src/gallium
parent5d0f69e33d6ed7f47a4d25816c47bc3fa27356e6 (diff)
tgsi: Note that LOG and EXP are approximations.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt b/src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
index b36091fad34..f0e6aee4ca7 100644
--- a/src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
+++ b/src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
@@ -48,7 +48,7 @@ TGSI Instruction Specification
dst.w = 1.0 / sqrt(abs(src.x))
-1.1.6 EXP - Exponential Base 2
+1.1.6 EXP - Approximate Exponential Base 2
dst.x = pow(2.0, floor(src.x))
dst.y = src.x - floor(src.x)
@@ -56,7 +56,7 @@ TGSI Instruction Specification
dst.w = 1.0
-1.1.7 LOG - Logarithm Base 2
+1.1.7 LOG - Approximate Logarithm Base 2
dst.x = floor(lg2(abs(src.x)))
dst.y = abs(src.x) / pow(2.0, floor(lg2(abs(src.x))))