summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-07-12egl: Add a test for rendering jobs from multiple processes.rpi2-piglitEric Anholt2-0/+328
2018-07-12gles-casesEric Anholt1-0/+14
2018-07-12mesa_tile_raster_order: Add a test for the extension.Eric Anholt5-0/+283
This doesn't test repeated copies with TextureBarrier()s in between, but that doesn't seem like important new behavior in this extension.
2018-07-11glsl-fs-discard-mrt: Fix binding the winsys framebuffer in -fbo mode.Eric Anholt1-1/+1
Fixes failure on vc5 where the alpha was forced to 1 due to an rgbx window system buffer. Reviewed-by: Brian Paul <brianp@vmware.com>
2018-07-11piglit-deqpEric Anholt2-10/+14
2018-07-11khr_gles reworkEric Anholt2-26/+37
2018-07-11vc4-metaEric Anholt1-0/+1
2018-07-11vc5 deqp/khr simulator runnerEric Anholt1-0/+30
2018-07-11Remove dead es3conform.py test suiteEric Anholt4-102/+2
I don't think this has been used in years -- khr_gles is the closest thing to how you'd run the conformance tests under piglit, today.
2018-07-11vc4 metaEric Anholt2-0/+38
2018-07-11Allow DEQP tests to be run in parallel.Eric Anholt1-1/+1
2018-07-11enable deqp in khr_glesEric Anholt1-0/+4
2018-07-11texelFetch: Print what miplevel failed.Eric Anholt1-2/+5
2018-07-11fbo-formats: Reuse piglit_merge_result().Eric Anholt1-16/+4
Besides code removal, this fixes behavior if test_format was to return PIGLIT_WARN on some tests but not others.
2018-07-11driver_classifier: Switch VC4's naming to what I used in trace-dbEric Anholt2-3/+3
When I published trace-db, I decided to rename vc4 to mention "v3d", but failed to catch the driver classifier up.
2018-07-11texwrap: Relax precision for vc4Eric Anholt1-5/+5
2018-07-11gl-1.1: Add a new test for large vertex counts.Eric Anholt3-0/+463
There's a limitation on VC4 where it can only handle 65536 verts at a time in a glDrawArrays(), so the driver needs to split up the calls. This tests that path for all the primitive types.
2018-07-11blend-over: Add a simple test for a blending optimization in i965.Eric Anholt2-0/+115
2018-07-11glsl-fs-discard-mrt: New test for bug 75207Eric Anholt3-0/+209
2018-07-10tests: intel_conservative_rasterization: fix invalid drawsLionel Landwerlin1-1/+15
In a12310df3bdd0a we realized that intel_conservative_rasterization-invalid_gles3 was not added to the test list. Turns out we didn't even run this test on gles. Although quite a few cases are opengl specific, there are still 2 invalid cases we can verify on gles. Fixes: a12310df3bdd0a ("tests/opengl: Add intel_conservative_rasterization-invalid_gles3") Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
2018-07-09tests/opengl.py: Replace tabs with spacesDylan Baker1-6/+6
2018-07-09tests/opengl: Add nv_image_formats-gles3Dylan Baker1-0/+5
Fixes: 6ed37e5d2a58d36b4b04b09f8c069f2dbcff1968 ("Add nv_image_formats tests") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-07-09tests/opengl: Add intel_conservative_rasterization-invalid_gles3Dylan Baker1-0/+1
Fixes: ed153b51b57762e43d44e8f49dbe9bf0422e1400 ("Add GL_INTEL_conservative_rasterization tests") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-07-09tests/opengl: Add glx-swap-copyDylan Baker1-0/+1
Fixes: 2a7047a32bb3a9a4fad5bea0a8185d63af6bddf3 ("glx: Introduce a glx-swap-copy test v2") CC: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2018-07-09tests/opengl: Add gl-3.3-vertex-attrib-p-type-size-matchDylan Baker1-0/+1
Fixes: ce69a7afc5eb4c6a3093d0bdd9a66f51444bd07a ("Test that if VertexAttribPointer uses a packed type, size must be 4 or BGRA.") Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2018-07-09tests/opengl: Add gl-3.3-vertex-attrib-p-typesDylan Baker1-0/+1
Fixes: bcaa0cd75fd7b1d35817792b4802cce5eb47754d ("Test that VertexAttribP*() must use one of the appropriate types.") Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2018-07-09tests/opengl: Add arb_texture_view tests for gles3Dylan Baker1-0/+13
These were converted to work with oes_texture_view, but never added to all.py (now opengl.py) Fixes: cde860ab32511812ecbf1d8b8d97f192273457a1 ("arb_texture_view: convert some more tests to run on ES 3.1") CC: Tapani Pälli <tapani.palli@intel.com>
2018-07-09tests/sanity: Rework sanity to be more usefulDylan Baker1-5/+61
Originally sanity was billed as a sort of "check if the installation works" sort of profile. No one seems to use sanity at all, so we'd like to re-purpose it (a little) to be a sort of "driver sanity" check, in other words, a minimal number of tests that are able to touch a broad swath of OpenGL features. Some of the things this touches now: - vertex shaders - fragment shaders - geometry shaders - tesselation shaders - compute shaders - transform feedback - ssbos - atomics Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2018-07-05arb_vertex_attrib_64bit: test display list interactionTimothy Arceri3-0/+299
2018-07-03arb_gpu_shader_fp64: Test the sign() function with abs() and negation of its ↵Ian Romanick6-0/+212
argument The saturate version hits an assertion failure in the Mesa i965 driver: src/intel/compiler/brw_fs.cpp:2377: bool fs_visitor::opt_algebraic(): Assertion `!"unimplemented: saturate mixed types"' failed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2018-07-03glsl-1.10: Test the sign() function with abs() and negation of its argumentIan Romanick6-0/+182
The fsign(-abs(x)) tests tickle a bug in the Mesa i965 fs backend that was found by inspection. All of the abs() versions hit problems in the i965 vec4 backend. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2018-06-30glsl-1.10: test bug with lessThan() when the input expression has mixed sizesTimothy Arceri1-0/+37
2018-06-30arb_compute_shader: test dispatch functions with display listsTimothy Arceri5-46/+283
This change also splits apart some of the compute test common functions to make them easier to use with display lists. I submitted a spec bug and it was decided the indirect dispatch should generate an error when called during display list compilation. Acked-by: Marek Olšák <marek.olsak@amd.com>
2018-06-29framework: add a --timeout parameterDylan Baker1-0/+11
This allows an timeout (in integers) to be set for each test. If the tests run over this alotted time they'll be killed and the status will be set to timeout. This only work on Unix-like machines running with python 3.x or with 2.7 and subprocess32 installed. It can be made to work for windows, either by bumping the python version or by writing some windows specific code for killing processes. v2: - Add the word "Default" to help message. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2018-06-28ext_texture_norm16-render: support EXT_render_snorm interactionsTapani Pälli1-14/+25
v2: EXT_render_snorm does not add new formats for glTexBuffer, add separate flag to indicate glTexBuffer support (separate from req_render that matched before) Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
2018-06-28tests/opengl.py: add couple missing arb_get_program_binary testsTapani Pälli1-0/+4
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
2018-06-27arb_gpu_shader5: Add a test for instanced GS inputs.Andrii Simiklit1-0/+62
None of our other tests for instanced geometry shaders transfered the vertices to the geometry shader from the vertex shader via gl_Position. This used to be broken with the i965 driver's in Mesa 12.1.0 on revision d10ae20b9678f1a5b8a81716c68e612662665277. Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96354
2018-06-27compatibility: test vertex color clamping in geom and tess shadersTimothy Arceri2-0/+123
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2018-06-27arb_draw_indirect: test when 0 bound to DRAW_INDIRECT_BUFFER in compatTimothy Arceri4-0/+254
From the ARB_draw_indirect spec: "Initially zero is bound to DRAW_INDIRECT_BUFFER. In the compatibility profile, this indicates that DrawArraysIndirect and DrawElementsIndirect are to source their arguments directly from the pointer passed as their <indirect> parameters." Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2018-06-27general: better test display lists in attribute testTimothy Arceri1-0/+12
We weren't really testing that the displays list worked since the calls could have just been executed immediately. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2018-06-26nv_fog_distance: Test interactions with GL_FOG_COORDINATEIan Romanick3-0/+102
The issuses section of GL_NV_fog_distance says: How does this extension interact with the EXT_fog_coord extension? If FOG_COORDINATE_SOURCE_EXT is set to FOG_COORDINATE_EXT, then the fog distance mode is ignored. However, the fog distance mode is used when the FOG_COORDINATE_SOURCE_EXT is set to FRAGMENT_DEPTH_EXT. Essentially, when the EXT_fog_coord functionality is enabled, the fog distance is supplied by the user-supplied fog-coordinate so no automatic fog distance computation is performed. A heavily modified version of this test passes on a Geforce3 (NV20) running NVIDIA's 71.86.15 drivers. These are the last drivers that support NV10 through NV2x, and they are shipped in 2011. v2: Use piglit_draw_rect_z and fix a space-before-tab problem. Both suggested by Eric. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2018-06-26nv_fog_distance: Simple rendering testIan Romanick3-0/+165
A heavily modified version of this test passes on a Geforce3 (NV20) running NVIDIA's 71.86.15 drivers. These are the last drivers that support NV10 through NV2x, and they are shipped in 2011. v2: Use piglit_draw_rect_z instead of the VBO complexity. Cuts about 80 lines of code. Suggested by Eric. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Eric Anholt <eric@anholt.net>
2018-06-26nv_fog_distance: Simple touch test for the enumsIan Romanick5-0/+264
v2: Explicitly use GL_NO_ERROR instead of expected_error in the 'piglit_is_extension_supported("GL_NV_fog_distance") && !piglit_is_extension_supported("GL_SGIS_fog_function")' block. Based on conversation with Eric. v3: Add some missing newlines in printfs. This caused the CI to show "Incomplete run" instead of pass. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2018-06-26gl-1.0-blend: Whitespace and formatting fixesIan Romanick1-83/+77
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2018-06-26gl-1.0-blend: Trivial code simplificationIan Romanick1-10/+9
num_operators_rgb and num_operators_a always have the same value, so just use one variable. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2018-06-26gl-1.0-blend: Enable EXT_blend_subtract tests on implementations that lack ↵Ian Romanick1-20/+16
EXT_blend_minmax And vice versa. v2: Elimintate the static arrays used to populate operators[]. This simplifies the code a lot. Suggested by Eric. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2018-06-26gl-1.0-blend: Fix problems with blend extension detectionIan Romanick1-23/+20
There were two bugs here. First, GL_EXT_blend_color and GL_EXT_blend_func_separate were only tested if the version is 1.4. This is unnecessary because those extensions are part of OpenGL 1.4. Second, GL_EXT_blend_minmax was typoed GL_EXT_blend_min_max. Increases the number of subtests on RV250 (which supports OpenGL 1.3, GL_EXT_blend_subtract, GL_EXT_blend_minmax, GL_EXT_blend_color, GL_EXT_blend_func_separate, and GL_EXT_blend_equation_separate) from 72 to 27,552. This is the same number of tests that run on Broadwell (which supports OpenGL 4.5). R100, NV10, NV20, and i830 should also see the number of subtests increase. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2018-06-26tests: Add cmake for oes_texture_compression_astc with Desktop GLDylan Baker1-0/+4
This is a bit odd, there seems to be support in the test for running with ARB_ES3_compatibility and there are entries in opengl.py for the GL versions, but no cmake was added. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2018-06-26tests/opengl.py: remove ext_transform-get-buffer-sizeDylan Baker1-2/+0
This has never existed, it was added by mistake when the format of all.py was changed. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2018-06-26tests/opengl.py: fix ext_shader_samples_indentical testsDylan Baker1-2/+1
These are all wrong, the last line does nothing since there aren't enough arguments and always skips, the loop doesn't work since it points at a non-existent binary. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>