summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.c4
-rw-r--r--src/gallium/docs/source/tgsi.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 96809cd03f5..55da60a18c7 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -915,9 +915,9 @@ micro_rcc(union tgsi_exec_channel *dst,
float recip = 1.0f / src->f[i];
if (recip > 0.0f)
- dst->f[i] = CLAMP(recip, 5.42101e-020f, 1.884467e+019f);
+ dst->f[i] = CLAMP(recip, 5.42101e-020f, 1.84467e+019f);
else
- dst->f[i] = CLAMP(recip, -1.884467e+019f, -5.42101e-020f);
+ dst->f[i] = CLAMP(recip, -1.84467e+019f, -5.42101e-020f);
}
}
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 0501aca54fc..be4257255b3 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -424,7 +424,7 @@ XXX cleanup on aisle three
.. math::
- dst = (1 / src.x) > 0 ? clamp(1 / src.x, 5.42101e-020, 1.884467e+019) : clamp(1 / src.x, -1.884467e+019, -5.42101e-020)
+ dst = (1 / src.x) > 0 ? clamp(1 / src.x, 5.42101e-020, 1.84467e+019) : clamp(1 / src.x, -1.84467e+019, -5.42101e-020)
.. opcode:: DPH - Homogeneous Dot Product