diff options
author | José Fonseca <[email protected]> | 2009-08-21 07:35:49 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-29 09:21:37 +0100 |
commit | 3dbf00f9ab0d2e771c72a74d9db32c048ce7df4e (patch) | |
tree | 33ec189cfea42c376adcacaa6383e22b49f987ee /src/gallium/drivers/llvmpipe/lp_test.h | |
parent | 33ce51bc0d52dcfbfa481211dd1fe73a5ecb948f (diff) |
llvmpipe: Clamped float to unsigned norm via mantissa manipulation.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_test.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_test.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test.h b/src/gallium/drivers/llvmpipe/lp_test.h index c51399f8079..69aaae26e0a 100644 --- a/src/gallium/drivers/llvmpipe/lp_test.h +++ b/src/gallium/drivers/llvmpipe/lp_test.h @@ -114,6 +114,10 @@ random_vec(union lp_type type, void *dst); boolean +compare_vec_with_eps(union lp_type type, const void *res, const void *ref, double eps); + + +boolean compare_vec(union lp_type type, const void *res, const void *ref); |