Skip to content
Snippets Groups Projects
Commit 6954eb1a authored by Roland Scheidegger's avatar Roland Scheidegger Committed by Emil Velikov
Browse files

r600: use min_dx10/max_dx10 instead of min/max


I believe this is the safe thing to do, especially ever since the driver
actually generates NaNs for muls too.
The ISA docs are not very helpful here, however the dx10 versions will pick
a non-nan result over a NaN one (this is also the ieee754 behavior), whereas
the non-dx10 ones will pick the NaN (verified by newly changed piglit
isinf-and-isnan test).
Other "modern" drivers will most likely do the same.
This was shown to make some difference for bug 103544, albeit it is not
required to fix it.

Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit aab0bfc6)
parent b79e15b0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment