summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-16glx-create-context testHEADmasterDave Airlie2-0/+162
2011-03-14glean/shaderAPI: Define APIENTRY if not defined.Vinson Lee1-0/+4
Fixes Mac OS X build.
2011-03-14glean/pixelFormats: s/__func__/__FUNCTION__/Vinson Lee1-1/+1
__func__ is not available on MSVC.
2011-03-14s/WIN32/_WIN32/José Fonseca11-12/+12
The proper macro for Windows operating systems is _WIN32 and not WIN32. Thanks to Vinson Lee to remind me of that.
2011-03-14fbo-*-formats: redraw in key_funcMarek Olšák2-6/+2
2011-03-14glean/pixelFormats: test EXT_texture_snormMarek Olšák2-0/+79
2011-03-14glean/pixelFormats: test ARB_texture_rgMarek Olšák2-0/+174
2011-03-14glean/pixelFormats: remove #ifdefsMarek Olšák1-41/+6
2011-03-14glean: use glew in glwrap.hMarek Olšák1-1029/+2
2011-03-13arb_color_buffer_float/queries: Move declaration to block start.José Fonseca1-1/+2
2011-03-13Portability build fixes for MinGW.José Fonseca11-7/+26
2011-03-13shader_runner: libgen.h not available on MSVC; use _splitpath instead.José Fonseca1-0/+17
2011-03-13early-z: update to check for early pass/reject tooChristoph Bumiller1-5/+22
So far only tested for early update of the depth buffer.
2011-03-13Consolidate the code of the fbo-*-formats testsMarek Olšák5-424/+142
2011-03-13Rename the ARB_color_buffer_float tests for readabilityMarek Olšák1-1/+1
2011-03-13Improve/split the ARB_color_buffer_float testsMarek Olšák10-125/+209
2011-03-13util: add functions piglit_probe_pixel_rgb(a)_silentMarek Olšák2-0/+42
which don't print anything, but can return the probed pixel color.
2011-03-13Add NV_texture_barrier/blending-in-shader to all.testsMarek Olšák1-0/+4
2011-03-12glsl-1.30: Add tests for texture(sampler2DShadow, vec3)Chad Versace14-0/+353
Test each combination of (depth_texture_mode, texture_compare_func), where: depth_texture_mode is one of {red, luminance, intensity, alpha} texture_compare_func is one of {greater, always, never} Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12glsl-1.30: Add all shader_runner tests in spec/glsl-1.30/executionChad Versace1-0/+4
Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12arb_texture_rg: Add execution tests for shadow2D()Chad Versace6-0/+127
Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12shaders: Add tests for shadow2D()Chad Versace11-0/+268
Test shadow2D(sampler2DShadow, vec3) for every combination of (depth_mode, compare_func), where - depth_mode is a one of {luminance, intensity, alpha} - compare_func is a one of {greater, always, never} Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12shader_runner: Allow setting of GL_TEXTURE_COMPARE_FUNCChad Versace1-0/+18
Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12shader_runner: Allow setting of GL_DEPTH_TEXTURE_MODEChad Versace1-0/+25
Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12shader_runner: Implicity determine shader path from script filepathChad Versace1-1/+9
If argv[2] is not given, then set `path = dirname(argv[1])`. Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12util: Add function piglit_get_glsl_version()Chad Versace2-0/+40
Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12util: Change signature of piglit_get_gl_version()Chad Versace3-20/+17
Change signature from piglit_get_gl_version(bool *es, float *version) to piglit_get_gl_version(bool *es, int *major_version, int *minor_version) This eliminates floating point error. Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12util: Remove duplicate definitions of piglit_set_tolerance()Chad Versace4-51/+33
Replace the two identical definitions in piglit-util-gl.c and in piglit-util-gles2.c with a single definition in piglit-util.c. Signed-off-by: Chad Versace <chad@chad-versace.us>
2011-03-12all.tests: Blacklist some shader tests that cause memory explosionsChad Versace2-0/+25
Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12all.tests: Automatically import all shader runner tests in /tests/shadersChad Versace1-382/+25
This eliminates the ridiculously long enumeration of each shader runner test. Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-12framework: Support running Piglit with an out-of-tree buildChad Versace2-2/+11
To run Piglit with an out-of-tree build, set the environment variable PIGLIT_BUILD_DIR. For example: $ env PIGLIT_BUILD_DIR=/path/to/piglit/build/dir \ ./piglit-run.py tests/sanity.tests results/sanity.results Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-03-11re-alphabetize tests listsBrian Paul1-11/+11
2011-03-11gl30basic: test basic GL 3.0 featuresBrian Paul3-0/+202
2011-03-11blending-in-shader: new test for NV_texture_barrierMarek Olšák4-0/+135
2011-03-11util: add piglit_probe_image_rgb* functionsMarek Olšák2-0/+68
2011-03-11gles2: fix piglit_rgbw_texture parametersMarek Olšák2-2/+2
2011-03-10early-z: add test to check for early depth testing bugsChristoph Bumiller3-0/+150
If early fragment tests cause the depth buffer to be also updated before the fragment shader is run, it has to be disabled whenever alpha testing is enabled or discard is used.
2011-03-09cmake: Only build i386 glean on Mac OS X.Vinson Lee1-2/+1
glean on Mac OS X can currently only be built as 32-bit. The Mac OS X build use to work but sometime recently the -m32 flag stopped being passed to the compiler or linker. This patch uses CMAKE_OSX_ARCHITECTURES instead of trying to pass -m32 by setting the flags.
2011-03-09fbo-srgb-blit: Also test EXT_framebuffer_sRGB.Henri Verbeet1-7/+26
2011-03-08Add a test for FBO blits between RGB and sRGB formats.Henri Verbeet3-0/+124
2011-03-07fragment-center: New test for where the implementation samples fragments.Eric Anholt3-0/+101
All drivers I've seen implement the fragment location this way (pixel center), but I'm having a hard time locating exact specification claiming this for polygons even though a lot of text suggests this.
2011-03-07cmake: Put the binaries in the right place for MSVS too.José Fonseca1-2/+10
Until now MSVS was putting binaries on a Debug/Release/etc sub-directory. This implied using CMAKE_RUNTIME_OUTPUT_DIRECTORY and CMAKE_LIBRARY_OUTPUT_DIRECTORY instead of deprecated EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH vars.
2011-03-07cmake: Allow GL/glext.h to be specified separately.José Fonseca19-0/+34
glext.h is not bundled on MSVC, so its path needs to be included separately. It might be also useful on other platforms to override the system's glext.h with a more recent one.
2011-03-07glx-swap-event: Prevent build failures when GLX_INTEL_swap_event is not ↵José Fonseca1-2/+2
available.
2011-03-07fbo-storage-formats: print framebuffer completeness status (for debugging)Marek Olšák1-0/+3
2011-03-07fbo-storage-completeness: test that RenderbufferStorage affects completenessMarek Olšák3-0/+250
2011-03-07texture-rg: increase tolerance for compressed formatsMarek Olšák1-1/+1
2011-03-07instanced_arrays: new test for ARB_instanced_arrays without ARB_draw_instancedMarek Olšák5-0/+212
2011-03-05all.tests: Fix typos of 'redeclaration'.Vinson Lee1-2/+2
2011-03-04Redeclare an unsized array with an initializerGordon Jin3-0/+55
Reproduces Mesa bugzilla #34374. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>