summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/unit
Commit message (Collapse)AuthorAgeFilesLines
* scons: Fix immediate Python exceptions with SCons on SunOS.Vinson Lee2011-03-081-1/+1
| | | | The build still fails.
* scons: Revamp how to specify targets to build.José Fonseca2010-11-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
* util: Flush stdout on util_format.José Fonseca2010-09-221-0/+8
|
* util: Helper function to determined whether two formats can be memcpy'ed.José Fonseca2010-09-053-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | These are the non-trivial conversions that this function recognizes, which was produced by u_format_compatible_test.c: b8g8r8a8_unorm -> b8g8r8x8_unorm a8r8g8b8_unorm -> x8r8g8b8_unorm b5g5r5a1_unorm -> b5g5r5x1_unorm b4g4r4a4_unorm -> b4g4r4x4_unorm l8_unorm -> r8_unorm i8_unorm -> l8_unorm i8_unorm -> a8_unorm i8_unorm -> r8_unorm l16_unorm -> r16_unorm z24_unorm_s8_uscaled -> z24x8_unorm s8_uscaled_z24_unorm -> x8z24_unorm r8g8b8a8_unorm -> r8g8b8x8_unorm a8b8g8r8_srgb -> x8b8g8r8_srgb b8g8r8a8_srgb -> b8g8r8x8_srgb a8r8g8b8_srgb -> x8r8g8b8_srgb a8b8g8r8_unorm -> x8b8g8r8_unorm r10g10b10a2_uscaled -> r10g10b10x2_uscaled r10sg10sb10sa2u_norm -> r10g10b10x2_snorm State trackers and pipe drivers should be updated to take advantage of this knowledge, e.g., in surface_copy.
* translate_test: Fix compilation with MSVC.Vinson Lee2010-08-121-1/+2
|
* translate_test: fix compilation on non-POSIX platformsLuca Barbieri2010-08-121-5/+19
| | | | Use a kludgy function based on rand() instead of drand48()
* translate_test: improveLuca Barbieri2010-08-121-6/+60
| | | | | | | 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
* scons: Fix freebsd8 build.Vinson Lee2010-08-111-1/+4
|
* translate_test: fix segfault on x86-64Luca Barbieri2010-08-111-2/+6
|
* translate_test: fix, reindent, and improveLuca Barbieri2010-08-111-137/+204
| | | | | | | 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
* translate: Add translate_test.c to SCons.Vinson Lee2010-08-111-1/+2
| | | | | This is a follow-up to commit 945e38c73b46afc12b0655f9fc8200f216a8f8c1, which added translate_test.c to make.
* translate: add testsuiteLuca Barbieri2010-08-112-1/+172
| | | | | Currently only checks all possible format conversions, and doesn't attempt to test whether multiple buffers/elements or indices work.
* scons: Fix sunos5 build.Vinson Lee2010-07-271-0/+3
|
* gallium/tests: Add test case for u_cache.Vinson Lee2010-04-213-2/+126
|
* gallium/tests: Add test case for pipe_barrier.Vinson Lee2010-04-143-0/+88
|
* progs/gallium: Fix relative path in Makefile.Vinson Lee2010-04-141-1/+1
|
* progs/gallium: Move into src/gallium/testsJosé Fonseca2010-04-134-0/+807
Two reasons: - progs will eventually have its own repository - it is just to easy to forget updating the code for interface changes when it is outside of src