[Piglit] [PATCH] Add basic execution tests for GL_AMD_shader_trinary_minmax.

2014-04-30 Thread Petri Latvala
Signed-off-by: Petri Latvala petri.latv...@intel.com --- These three tests are very simple tests for GL_AMD_shader_trinary_minmax functions that I used for regression-testing Mesa optimizations when constants are involved in the calls. Tested on Mesa/Haswell, the tests pass. I will need someone

[Piglit] [PATCH] ARB_shader_texture_lod: Replace shell generator with python generator

2014-04-30 Thread Dylan Baker
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

Re: [Piglit] [PATCH 01/24] tex3d: assorted clean-ups

2014-04-30 Thread Jose Fonseca
- Original Message - On 04/29/2014 12:05 PM, Jose Fonseca wrote: - Original Message - Don't call piglit_report_result() - return result from piglit_display(). Use default window size and fix row wrapping to avoid drawing off the edge of the window. Use bool instead

Re: [Piglit] FW: [PATCH] fixed oes compressed etc2 texture miptree failure

2014-04-30 Thread Brian Paul
I've pushed the ktx binary mode change. I still need to do a full piglit run with the 160x160 default window size change so I didn't push the change to oes_compressed_etc2_texture-miptree.c yet. -Brian On 04/29/2014 09:32 PM, Guo, Johney wrote: 160x160 on win8 is OK. The test passes

[Piglit] [PATCH 2/2] tests/igt.py: discard dmesg output that does not match certain keywords

2014-04-30 Thread Thomas Wood
Signed-off-by: Thomas Wood thomas.w...@intel.com --- tests/igt.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/igt.py b/tests/igt.py index 7cfb6ad..d8dfa15 100644 --- a/tests/igt.py +++ b/tests/igt.py @@ -256,3 +256,6 @@ for test in multiTests: addSubTestCases(test)

[Piglit] [PATCH 1/2] framework/dmesg.py: add a filtering mechanism

2014-04-30 Thread Thomas Wood
Only update the test status if at least one of the lines in the dmesg output matches the given regular expression. Signed-off-by: Thomas Wood thomas.w...@intel.com --- framework/dmesg.py | 11 +++ 1 file changed, 11 insertions(+) diff --git a/framework/dmesg.py b/framework/dmesg.py

Re: [Piglit] [PATCH 1/2] framework/dmesg.py: add a filtering mechanism

2014-04-30 Thread Ilia Mirkin
On Wed, Apr 30, 2014 at 12:12 PM, Thomas Wood thomas.w...@intel.com wrote: Only update the test status if at least one of the lines in the dmesg output matches the given regular expression. Would be nice to provide a mechanism to set this on the cmdline too, but not required as part of this

[Piglit] [PATCH 1/3] cmake: Install under separate piglit directory

2014-04-30 Thread Jordan Justen
Install paths updated: * $PREFIX/share/doc = $PREFIX/share/doc/piglit * $PREFIX/lib = $PREFIX/lib/piglit/lib * $PREFIX/bin = $PREFIX/lib/piglit/bin * etc... Signed-off-by: Jordan Justen jordan.l.jus...@intel.com --- CMakeLists.txt | 23 +-- cmake/piglit_util.cmake |

[Piglit] [PATCH 0/3] Update piglit install locations

2014-04-30 Thread Jordan Justen
Move piglit binaries and libraries out of the system paths Add a piglit wrapper command to easily run piglit commands in the new install location git://people.freedesktop.org/~jljusten/piglit piglit-cmd Jordan Justen (3): cmake: Install under separate piglit directory cmake: Add version

[Piglit] [PATCH 2/3] cmake: Add version suffix for install paths

2014-04-30 Thread Jordan Justen
If used, then piglit will be installed into a separate path. For example, if '-DPIGLIT_INSTALL_VERSION=20140430' was specified with cmake, then piglit would install to $PREFIX/lib/piglit-20140430. Signed-off-by: Jordan Justen jordan.l.jus...@intel.com --- CMakeLists.txt | 10 -- 1 file

[Piglit] [PATCH 3/3] piglit: Add piglit command

2014-04-30 Thread Jordan Justen
The piglit command is a wrapper command for the piglit-command.py scripts. For example, running 'piglit run' is equivalent to piglit-run.py. It is installed to $PREFIX/bin/piglit, and will launch the sub-commands either at their installed location in $PREFIX/lib/piglit, or in the source tree.

Re: [Piglit] [PATCH 1/2] framework/dmesg.py: add a filtering mechanism

2014-04-30 Thread Dylan Baker
On Wednesday, April 30, 2014 12:20:31 Ilia Mirkin wrote: On Wed, Apr 30, 2014 at 12:12 PM, Thomas Wood thomas.w...@intel.com wrote: Only update the test status if at least one of the lines in the dmesg output matches the given regular expression. Would be nice to provide a mechanism to set

Re: [Piglit] [PATCH] Add basic execution tests for GL_AMD_shader_trinary_minmax.

2014-04-30 Thread Ian Romanick
There are a bunch of generated tests for this extension (in generated_tests/spec/AMD_shader_trinary_minmax/). Since these are specifically testing cases with constants, I'd rename these mid3-with-constants.shader_test. On 04/30/2014 02:28 AM, Petri Latvala wrote: Signed-off-by: Petri Latvala

Re: [Piglit] [PATCH] fixed-oes_compressed_etc2_texture-miptree-failure

2014-04-30 Thread Ian Romanick
Is this problem fixed with Brian's recent commits? On 04/16/2014 08:29 PM, Guo, Johney wrote: - glut config.window_width should be 160 so as to avoid warning message. - fopen ktx texture file should be binary mode - viewport need be reset in each display, since it has changed

Re: [Piglit] [PATCH] Add basic execution tests for GL_AMD_shader_trinary_minmax.

2014-04-30 Thread Eric Anholt
Petri Latvala petri.latv...@intel.com writes: Signed-off-by: Petri Latvala petri.latv...@intel.com --- These three tests are very simple tests for GL_AMD_shader_trinary_minmax functions that I used for regression-testing Mesa optimizations when constants are involved in the calls. Tested

Re: [Piglit] [PATCH 3/3] piglit: Add piglit command

2014-04-30 Thread Jordan Justen
On Wed, Apr 30, 2014 at 11:18 AM, Dylan Baker baker.dyla...@gmail.com wrote: On Wednesday, April 30, 2014 10:28:57 Jordan Justen wrote: The piglit command is a wrapper command for the piglit-command.py scripts. For example, running 'piglit run' is equivalent to piglit-run.py. It is

Re: [Piglit] [PATCH 3/3] piglit: Add piglit command

2014-04-30 Thread Dylan Baker
On Wednesday, April 30, 2014 13:42:09 Jordan Justen wrote: On Wed, Apr 30, 2014 at 11:18 AM, Dylan Baker baker.dyla...@gmail.com wrote: On Wednesday, April 30, 2014 10:28:57 Jordan Justen wrote: The piglit command is a wrapper command for the piglit-command.py scripts. For example,

Re: [Piglit] [PATCH 0/3] Update piglit install locations

2014-04-30 Thread Jordan Justen
On Wed, Apr 30, 2014 at 10:59 AM, Jose Fonseca jfons...@vmware.com wrote: I was concerned this series will create problems with the package target. The expectation is that the tarball produced by the package target will have precisely the necessary layout to run the piglit testsuite in a

Re: [Piglit] [PATCH 3/3] piglit: Add piglit command

2014-04-30 Thread Jordan Justen
On Wed, Apr 30, 2014 at 1:58 PM, Dylan Baker baker.dyla...@gmail.com wrote: On Wednesday, April 30, 2014 13:42:09 Jordan Justen wrote: Anyway, piglit_cmd.py is the source that controls the piglit command, so it can evolve to present something different. This patch seems like a reasonable step

Re: [Piglit] [PATCH 3/3] piglit: Add piglit command

2014-04-30 Thread Dylan Baker
On Wednesday, April 30, 2014 15:21:37 Jordan Justen wrote: On Wed, Apr 30, 2014 at 1:58 PM, Dylan Baker baker.dyla...@gmail.com wrote: On Wednesday, April 30, 2014 13:42:09 Jordan Justen wrote: Anyway, piglit_cmd.py is the source that controls the piglit command, so it can evolve to present