Age | Commit message (Collapse) | Author | Files | Lines |
|
For future EGL tests, I want to be able to use Chad's new piglit EGL
subtest infrastructure, and use the EGL utilities convenience functions
to set up a window, surface, and context.
Currently, egl_util_run calls piglit_report_result() after calling
test.draw. This means no other subtests get run. Add a new field in
egl_test to specify whether piglit_report_result() should be called, and
another field to store the result returned from test.draw.
Make sure that egl_util_run() tears down the window, surface, and
context. Previously it was relying on cleanup being done when the
process died, which won't work if we want to run a second subtest in the
same thread.
TODO:
There's still some work that could be done here to ensure the
initialization steps in egl_util_run aren't done twice (e.g. calling
XOpenDisplay, eglInitialize, etc.) However, the tests pass in their
current state, so there's no reason they shouldn't be merged.
Thanks a bunch to Chad Versace and Rob Bradford, who helped me debug
this code!
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Cc: Rob Bradford <rob@linux.intel.com>
|
|
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
Rename to gen_const_builtin_equal_tests.py to better match the name of
the tests it generates. This patch doesn't modify the contents.
v2: - print name of test for CMake tracking (Dylan)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
Ian removed the GL >= 2.0 requirement in commit
38017752bca481d312de69cba5e334fd8c732a14.
Matt removed the #version 120 lines in commit
67174fbcf797b4a129250db1a3c001974e7522ad.
Matt dropped ortho/clear in commit:
2e5614458e566fb4353e92fc0b6407c12ee45c87
Now running gen_equal_tests.py produces equivalent results to the
committed tests.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
|
|
Commit ef4f461346d01a66 mistakenly removed the window size from this
test, causing it to fail.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
|
|
Test currently fails on i965's fast clear color path.
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
|
|
Test currently fails on Intel's open source linux drivers but passes on
NVIDIA's proprietary linux drivers.
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
|
|
This fixes attributeless rendering on nvidia's binary driver
and Mesa (as of 1afe3359258a9e89b62c8638761f52d78f6d1cbc).
For example:
* tests/spec/glsl-1.50/execution/geometry/point-size-out.shader_test
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77162
Tested-by: Anuj Phogat <anuj.phogat@gmail.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
This replaces outerProduct.sh and outerProduct-const.sh with a single
python generator run at build time. This removes a significant amount of
duplicate code that is otherwise checked into git, combines two
generators that are largely the same, and being written in mako is
easier to read and edit.
v2: - fix some typos in a generated comment
- preserve newline between probe and next uniform
- fix a few other minor whitespace problems
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
This Adds a new python generator to replace the shell generator. The old
generator was run once and the results were checked into git, the python
generator on the other hand is run at build time.
The tests are equivalent with only whitespace differences.
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
This patch removes tests/spec/ARB_shader_texture_lod/compiler/*, which
is a shell script that generates a number of tests, and 47 generated
glsl parser tests.
It replaces them with a python generator (require less code than the
bash generator), that is run at build time by cmake. That means we don't
need to check these simple generated tests in VCS.
v2: - fix typo: replace ARG with ARB
- fix typo: require_extension -> require_extensions
- fix accidental replacement of varying with uniform
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
This file was used before the new glsl parser was merged into mesa.
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
These are old partial versions of another test generator that is
replaced later in this series
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
This file hasn't worked for quite some time, and no one has bothered to
fix it.
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
This patch stops exposing flatten_group_hierarchy and prepare_test_list
by marking them with a leading underscore. These methods weren't meant
to be called outside, and this is the pythonic way of letting users know
that these are "private" methods.
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|
|
Reviewed-by: José Fonseca <jfonseca@vmware.com>
|