summaryrefslogtreecommitdiff
path: root/src/gallium/tests/unit/translate_test.c
AgeCommit message (Collapse)Author
2010-08-12translate_test: Fix compilation with MSVC.Vinson Lee
2010-08-12translate_test: fix compilation on non-POSIX platformsLuca Barbieri
Use a kludgy function based on rand() instead of drand48()
2010-08-12translate_test: improveLuca Barbieri
1. Generate random data specifically for float and doubles, so that they end up in [0, 1] range 2. Don't test useless conversions like SCALED <-> NORM 3. Poison the buffers before testing
2010-08-11translate_test: fix segfault on x86-64Luca Barbieri
2010-08-11translate_test: fix, reindent, and improveLuca Barbieri
1. Fix the segfault due to the reverted commit using the new interface 2. Reindent to Mesa 3 spaces style 3. Improve output and return success/failure with error code 4. Add much better support for testing translate_sse
2010-08-11translate: add testsuiteLuca Barbieri
Currently only checks all possible format conversions, and doesn't attempt to test whether multiple buffers/elements or indices work.