summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests
Commit message (Collapse)AuthorAgeFilesLines
* scons: Revamp how to specify targets to build.José Fonseca2010-11-012-16/+14
| | | | | | | | | | | | | | | | | | | | | | 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.
* Merge remote branch 'origin/master' into lp-setup-llvmKeith Whitwell2010-10-173-24/+34
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/lp_setup_coef.c src/gallium/drivers/llvmpipe/lp_setup_coef.h src/gallium/drivers/llvmpipe/lp_setup_coef_intrin.c src/gallium/drivers/llvmpipe/lp_setup_point.c src/gallium/drivers/llvmpipe/lp_setup_tri.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.h
| * retrace: Handle clear_render_target and clear_depth_stencil.José Fonseca2010-10-061-0/+9
| |
| * python/retrace: Handle set_index_buffer and draw_vbo.José Fonseca2010-09-291-20/+13
| |
| * util: Flush stdout on util_format.José Fonseca2010-09-221-0/+8
| |
| * python/tests: Fixed tri.py for API and TGSI syntax changes.Tilman Sauerbeck2010-09-201-4/+4
| | | | | | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* | graw: add frag-face shaderKeith Whitwell2010-09-181-0/+14
|/
* Add a test for the KIL opcodeAlex Corscadden2010-09-111-0/+18
| | | | | This is a simple test for the KIL opcode. It should render a 6 sided figure with a colored interior.
* graw: added test for finding shader mem leaksBrian Paul2010-09-092-0/+267
|
* graw: emit warnings when context/surface creation failesBrian Paul2010-09-091-3/+11
|
* graw: fix array size, indentation,Brian Paul2010-09-091-7/+10
|
* 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.
* graw: Undo late loading of graw drivers.José Fonseca2010-08-269-9/+16
| | | | | | | | | | Keith prefers a clean separation between graw applications and implementations, where apps do not link libgallium.a but instead get all functionality they need via graw interface. Although this is not incompatible with late loading of graw drivers, it it would make it very hard to maintain, as wrappers for every utility symbol exposed in graw would have to be written or generated somehow.
* graw: Dynamically load graw libraries.José Fonseca2010-08-269-16/+9
| | | | | | | | | This allows to build multiple graws libs simultaneously and avoid unnecessary rebuilds of the tests. Also remove graw_util.c from inside the graw implementation -- it was only being provided by one implementation, and graw tests were linking against gallium anyway.
* gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT tooLuca Barbieri2010-08-201-1/+1
| | | | | | | Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed.
* 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-112-2/+8
|
* 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.
* graw/tests: Use pipe_context::draw_vbo.Chia-I Wu2010-07-297-17/+28
| | | | | | | The other drawing variants such as draw_arrays or draw_elements_instanced were removed. This fixes fdo bug #29287.
* scons: Fix sunos5 build.Vinson Lee2010-07-272-0/+6
|
* graw/tests: pass -e option to test draw_elements_instanced()Brian Paul2010-07-201-1/+45
|
* graw: new tri-instanced.c program to test instanced drawingBrian Paul2010-07-152-0/+297
|
* gallium: Make trivial examples use target helpersJakob Bornecrantz2010-07-043-26/+23
|
* gallium: Fix compilation of trivial quad-texJakob Bornecrantz2010-07-041-1/+1
|
* graw: add two examples using new register filesZack Rusin2010-06-182-0/+24
|
* graw: remove wrong testZack Rusin2010-06-161-23/+0
|
* graw: add a gs test for non-sequential inputsZack Rusin2010-06-162-10/+52
|
* graw: test multiple cb's in geometry shadersZack Rusin2010-06-152-18/+82
|
* graw: fix setup for multiple constant buffersZack Rusin2010-06-152-21/+64
|
* graw: small fixups for the gs examplesZack Rusin2010-06-142-5/+5
|
* gs: give our test an option of rendering a stripZack Rusin2010-06-101-6/+42
|
* graw: add a multiple primitive geometry shader testZack Rusin2010-06-091-0/+42
|
* geometry shaders: make gs work with changable primitives and variable number ↵Zack Rusin2010-06-091-1/+2
| | | | | | | | of vertices lots and lots of fixes for geometry shaders. in particular now we work when the gs emits a different primitive than the one the pipeline was started with and also we work when gs emits more vertices than would fit in the original buffer.
* graw: Fix file handle leaks.Vinson Lee2010-06-073-0/+3
|
* graw: Remove unnecessary headers.Vinson Lee2010-06-073-3/+0
|
* graw: Add gallium library to SCons build.Vinson Lee2010-06-071-1/+1
| | | | Fixes MSVC SCons build.
* graw: add gs-test.c and some simple geometry shader examplesKeith Whitwell2010-06-078-2/+626
|
* graw: trivial geometry shader testKeith Whitwell2010-06-072-0/+269
|
* graw: add symlinks to shader test directoriesKeith Whitwell2010-06-072-0/+2
|
* graw: remove references to unistd.hKeith Whitwell2010-06-074-4/+1
|
* tests/graw: missing file tri.cKeith Whitwell2010-06-071-0/+253
|
* regress: remove interpolation and semantic info from vs inputsKeith Whitwell2010-06-0730-56/+56
|
* test/graw: add vp-testKeith Whitwell2010-06-072-1/+508
|
* tests/graw: add fp-testKeith Whitwell2010-06-072-0/+513
|
* python/retrace: Interpret resource_copy_region.José Fonseca2010-05-301-10/+6
|