summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-07-16 13:06:24 -0400
committerZack Rusin <[email protected]>2013-07-19 16:29:17 -0400
commitab47bbecd64d05d4fe03bed28291387dd08f5b84 (patch)
tree8f639334add9e74f9a4cddb068633275b4054c9a /src/gallium/targets
parent719000bd7d7d227a721ee24ea49a55ab9a972b56 (diff)
gallivm: handle nan's in min/max
Both D3D10 and OpenCL say that if one the inputs is nan then the other should be returned. To preserve that behavior the patch fixes both the sse and the non-sse paths in both functions and adds helper code for handling nans. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/targets')
0 files changed, 0 insertions, 0 deletions