summaryrefslogtreecommitdiff
path: root/src/gallium/tests
AgeCommit message (Collapse)Author
2010-09-11Add a test for the KIL opcodeAlex Corscadden
This is a simple test for the KIL opcode. It should render a 6 sided figure with a colored interior.
2010-09-09graw: added test for finding shader mem leaksBrian Paul
2010-09-09graw: emit warnings when context/surface creation failesBrian Paul
2010-09-09graw: fix array size, indentation,Brian Paul
2010-09-05util: Helper function to determined whether two formats can be memcpy'ed.José Fonseca
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.
2010-08-26graw: Undo late loading of graw drivers.José Fonseca
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.
2010-08-26graw: Dynamically load graw libraries.José Fonseca
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.
2010-08-20gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT tooLuca Barbieri
Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed.
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-11scons: Fix freebsd8 build.Vinson Lee
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 translate_test.c to SCons.Vinson Lee
This is a follow-up to commit 945e38c73b46afc12b0655f9fc8200f216a8f8c1, which added translate_test.c to make.
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.
2010-07-29graw/tests: Use pipe_context::draw_vbo.Chia-I Wu
The other drawing variants such as draw_arrays or draw_elements_instanced were removed. This fixes fdo bug #29287.
2010-07-27scons: Fix sunos5 build.Vinson Lee
2010-07-20graw/tests: pass -e option to test draw_elements_instanced()Brian Paul
2010-07-15graw: new tri-instanced.c program to test instanced drawingBrian Paul
2010-07-04gallium: Make trivial examples use target helpersJakob Bornecrantz
2010-07-04gallium: Fix compilation of trivial quad-texJakob Bornecrantz
2010-06-18graw: add two examples using new register filesZack Rusin
2010-06-16graw: remove wrong testZack Rusin
2010-06-16graw: add a gs test for non-sequential inputsZack Rusin
2010-06-15graw: test multiple cb's in geometry shadersZack Rusin
2010-06-15graw: fix setup for multiple constant buffersZack Rusin
2010-06-14graw: small fixups for the gs examplesZack Rusin
2010-06-10gs: give our test an option of rendering a stripZack Rusin
2010-06-09graw: add a multiple primitive geometry shader testZack Rusin
2010-06-09geometry shaders: make gs work with changable primitives and variable number ↵Zack Rusin
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.
2010-06-07graw: Fix file handle leaks.Vinson Lee
2010-06-07graw: Remove unnecessary headers.Vinson Lee
2010-06-07graw: Add gallium library to SCons build.Vinson Lee
Fixes MSVC SCons build.
2010-06-07graw: add gs-test.c and some simple geometry shader examplesKeith Whitwell
2010-06-07graw: trivial geometry shader testKeith Whitwell
2010-06-07graw: add symlinks to shader test directoriesKeith Whitwell
2010-06-07graw: remove references to unistd.hKeith Whitwell
2010-06-07tests/graw: missing file tri.cKeith Whitwell
2010-06-07regress: remove interpolation and semantic info from vs inputsKeith Whitwell
2010-06-07test/graw: add vp-testKeith Whitwell
2010-06-07tests/graw: add fp-testKeith Whitwell
2010-05-30python/retrace: Interpret resource_copy_region.José Fonseca
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-21gallium: remnants of old ccw stateKeith Whitwell
2010-05-17st/python: adapt to interface changesRoland Scheidegger
compile tested only. Should probably change the python surface_copy/fill functions also into resource_copy/fill_region functions and adapt the code using them.
2010-05-02retrace: Add sampler_view_destroyJosé Fonseca
2010-05-14graw: add quad-tex graw test for basic texturingKeith Whitwell
2010-05-14graw: combine graw_init and graw_create_window functionsKeith Whitwell
Different environments seem to want to create these in different orders. Abstract over this by combining the calls.
2010-05-14graw: move towards glut-like interface, add tri.cKeith Whitwell