summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-10-07arb_shader_atomic_counters: Test the atomicity of atomic built-in functions.HEADmasterFrancisco Jerez3-0/+221
2013-10-07arb_shader_atomic_counters: Test that atomic built-ins execute the expected ↵Francisco Jerez3-0/+385
operations on memory.
2013-10-07arb_shader_atomic_counters: Test linkage of atomic counters with conflicting ↵Francisco Jerez3-0/+215
locations.
2013-10-07arb_shader_atomic_counters: Test the minimum maximum limits defined by the spec.Francisco Jerez3-0/+73
2013-10-07arb_shader_atomic_counters: Test the maximum number of supported counters, ↵Francisco Jerez3-0/+436
buffers and bindings.
2013-10-07arb_shader_atomic_counters: Test that atomic counters can be passed as ↵Francisco Jerez3-0/+116
function arguments.
2013-10-07arb_shader_atomic_counters: Test that atomic ops aren't executed for ↵Francisco Jerez3-0/+115
discarded fragments.
2013-10-07arb_shader_atomic_counters: Test that atomics aren't allocated from the ↵Francisco Jerez3-0/+124
default uniform block.
2013-10-07arb_shader_atomic_counters: Test the buffer binding API functions.Francisco Jerez3-0/+161
2013-10-07arb_shader_atomic_counters: Test dynamic indexing of atomic counter arrays.Francisco Jerez3-0/+177
2013-10-07arb_shader_atomic_counters: Test the atomic counter query functions.Francisco Jerez3-0/+414
2013-10-07arb_shader_atomic_counters: Import GLSL parser tests.Francisco Jerez23-0/+430
2013-10-07arb_shader_atomic_counters: Import common helper functions.Francisco Jerez6-0/+410
2013-10-07GS: Test that EndPrimitive() is optional for geometry output layout of "points"Nicholas Mack3-0/+163
Reviewed-by: Paul Berry <stereotype441@gmail.com>
2013-10-07GS: Test that varyings of the same name between VS and GS must match typesNicholas Mack1-0/+48
Reviewed-by: Paul Berry <stereotype441@gmail.com>
2013-10-07GS: Tests that varying arrays can only be passed between VS and GS within blocksNicholas Mack2-0/+150
v2: Fix comments and also modify vs-gs-arrays-within-blocks-pass.shader_test so that all vertices have different values to be checked Reviewed-by: Paul Berry <stereotype441@gmail.com>
2013-10-07GS: Test that geometry ins/outs can have flat/smooth/noperspective qualifiersNicholas Mack2-0/+120
v2: Modify test to also test for correct interpolation of data being passed Reviewed-by: Paul Berry <stereotype441@gmail.com>
2013-10-07gl3.2/glsl1.50: test that uniform variables in a named uniform block cannot ↵Steve Miller3-0/+137
be accessed or modified by glUniform* commands Section 2.11.4 (Uniform Variables) of the GL 3.2 spec says: "Uniforms in a named uniform block are not assigned a location and may not be modified using the Uniform* commands." v2 (Paul Berry <stereotype441@gmail.com>): Fix incorrect filename in all.tests. Drop unnecessary glUniform* calls. Reviewed-by: Paul Berry <stereotype441@gmail.com>
2013-10-07core.py: Fix bug in TestrunResult.__repairFile()Dylan Baker1-2/+2
For some reason this code was looking for 12 spaces followed by '}', when it should have been looking for eight paces followed by '}' Tested-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
2013-10-07gles2: Add a test for the "No linking without a VS or FS" requirement.Eric Anholt3-0/+105
I didn't see an existing test for this when I thought there was a bug. It was working correctly in Mesa already, though. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
2013-10-07KHR_debug: test ObjectLabel(), GetObjectLabel(), ObjectPtrLabel() and ↵Timothy Arceri5-0/+494
GetObjectPtrLabel() v10: Clean up whitespace nits, fix up naming and concurrency in the tests list (changes by anholt). V9: replace array index magic numbers with enums V8: make sure all each object is available in the OpenGL implementation before doing get/set tests fix copy and paste mistake with framebuffer/renderbuffer tests V7: be defensive when testing max label, use fprintf for errors, code tidy ups, and added get/set tests for each object type V6: fix spelling of generated in multiple places V5: Removed unneeded assignment that was also out of bounds V4: Removed failure test that will never be true V3: changed indentation to tabs, use test label constants and remove unused variable V2: fixed whitespaces, broke tests into subtests, added missing build dir, and tidied up fail messages Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Eric Anholt <eric@anholt.net>
2013-10-07Run all tests out of a ThreadPoolDylan Baker2-37/+17
This patch removes the ConcurrentThreadPool singleton and opts instead for creating two ThreadPools, one with multiple threads and a second one that contains only one thread. The reasoning for this change is two fold, first it gets rid of a rather questionable use of a singleton, and second it cleans up the Test derived classes. since they don't have to have a method to add themselves to the ThreadPool, instead the ThreadPool has a method for adding tests to itself. v2: - Only add concurrent tests to the concurrent ThreadPool - Correct typos in comments Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
2013-10-07threadpool.py: Completely rewrite threadpool.pyDylan Baker3-409/+57
This patch completely rewrites the threadpool module. This new implementation is less complicated than the previous version. It also is not an external project pulled in, but an original implementation. This tries to be largely API compatible with the previous ThreadPool implementation. And for piglit's use case it is, however, it does not implement the full API supported by the previous implementation. v2: - fix some comments Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
2013-10-05arb_texture_query_levels: add execution testsChris Forbes8-0/+313
Ensure that the returned level count is correct in various situations. V2: Use [vertex shader passthrough] for fs tests. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-10-05arb_texture_query_levels: add compiler tests for textureQueryLevels()Chris Forbes6-0/+220
This tests that all the required signatures exist. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-10-05arb_texture_query_levels: add group and shader-runner dirChris Forbes1-0/+8
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-10-05shader_runner: add ability to specify GL_TEXTURE_MAX_LEVELChris Forbes1-0/+5
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-10-05shader_runner: add ability to specify GL_TEXTURE_BASE_LEVELChris Forbes1-0/+5
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-10-04arb_get_program_binary: Cast away void pointers.Vinson Lee1-2/+2
This patch fixes the MSVC build. arb_get_program_binary\overrun.c(64) : error C2036: 'const void *' : unknown size arb_get_program_binary\overrun.c(65) : error C2036: 'const void *' : unknown size Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70152 Signed-off-by: Vinson Lee <vlee@freedesktop.org>
2013-10-04arb_gpu_shader5: Test using only the msb from imulExtended in the vs.Matt Turner1-0/+48
2013-10-04arb_gpu_shader5: Test using only the lsb from imulExtended in the vs.Matt Turner1-0/+48
2013-10-04arb_gpu_shader5: Add imulExtended vertex shader execution test.Matt Turner1-0/+52
2013-10-04arb_gpu_shader5: Test using only the msb from umulExtended in the vs.Matt Turner1-0/+47
2013-10-04arb_gpu_shader5: Test using only the lsb from umulExtended in the vs.Matt Turner1-0/+47
2013-10-04arb_gpu_shader5: Add umulExtended vertex shader execution test.Matt Turner1-0/+51
2013-10-04arb_gpu_shader5: Test using only the msb from imulExtended in the fs.Matt Turner1-0/+37
2013-10-04arb_gpu_shader5: Test using only the lsb from imulExtended in the fs.Matt Turner1-0/+37
2013-10-04arb_gpu_shader5: Add imulExtended fragment shader execution test.Matt Turner1-0/+41
2013-10-04arb_gpu_shader5: Test using only the msb from umulExtended in the fs.Matt Turner1-0/+37
2013-10-04arb_gpu_shader5: Test using only the lsb from umulExtended in the fs.Matt Turner1-0/+37
2013-10-04arb_gpu_shader5: Add umulExtended fragment shader execution test.Matt Turner1-0/+41
2013-10-04arb_gpu_shader5: Test using only the borrow from usubBorrow in the vs.Matt Turner1-0/+56
2013-10-04arb_gpu_shader5: Test using only the subtraction from usubBorrow in the vs.Matt Turner1-0/+56
2013-10-04arb_gpu_shader5: Add usubBorrow vertex shader execution test.Matt Turner1-0/+58
2013-10-04arb_gpu_shader5: Test using only the carry from uaddCarry in the vs.Matt Turner1-0/+62
2013-10-04arb_gpu_shader5: Test using only the addition from uaddCarry in the vs.Matt Turner1-0/+62
2013-10-04arb_gpu_shader5: Add uaddCarry vertex shader execution test.Matt Turner1-0/+65
2013-10-04arb_gpu_shader5: Test using only the borrow from usubBorrow in the fs.Matt Turner1-0/+46
2013-10-04arb_gpu_shader5: Test using only the subtraction from usubBorrow in the fs.Matt Turner1-0/+46
2013-10-04arb_gpu_shader5: Add usubBorrow fragment shader execution test.Matt Turner1-0/+48