On Wed, Nov 9, 2016 at 6:39 PM, Plamena Manolova
wrote:
> A basic test to check whether the values written to gl_SampleMaskIn
> are still correct after enabling the ARB_post_depth_coverage
> extension.
>
> Signed-off-by: Plamena Manolova
>
A basic test to check whether the values written to gl_SampleMaskIn
are still correct after enabling the ARB_post_depth_coverage
extension.
Signed-off-by: Plamena Manolova
---
registry/gl.xml| 2 +
tests/all.py
On Wed, Nov 9, 2016 at 11:41 PM, Francisco Jerez wrote:
> @@ -3622,7 +3636,6 @@ piglit_init(int argc, char **argv)
> sso_in_use = false;
> prog_err_info = NULL;
> vao = 0;
> -
Bump.
Anyone interested in this?
Dylan
Quoting Dylan Baker (2016-10-31 14:40:35)
> There are 18000 of these tests, quick.py has 53000 tests, which is 34%
> of the total tests. That's just too many for quick.py.
>
> This patch takes the somewhat naive approach of just filtering out 80%
> of
Marek Olšák writes:
> On Wed, Nov 9, 2016 at 8:10 PM, Francisco Jerez wrote:
>> Marek Olšák writes:
>>
>>> On Wed, Oct 19, 2016 at 1:36 AM, Francisco Jerez
>>> wrote:
This refactors the implementation of
On Monday, October 10, 2016 2:25:02 PM PST Kevin Strasser wrote:
> Add ES2 implementation to the test to provide coverage for
> GL_OES_vertex_half_float extension. The tests will continue to pass on mesa
> for desktop GL as well as ES2 once supported is added.
>
> Signed-off-by: Kevin Strasser
On Wed, Nov 9, 2016 at 8:10 PM, Francisco Jerez wrote:
> Marek Olšák writes:
>
>> On Wed, Oct 19, 2016 at 1:36 AM, Francisco Jerez
>> wrote:
>>> This refactors the implementation of the various "fb" commands to be
>>> part of a
On Wednesday, November 9, 2016 3:18:36 PM PST Sebastian Olender wrote:
> According to GLSLLangSpec: Use of gl_FragData and gl_FragColor
> is deprecated in version 1.3, using user-defined out instead.
> ---
> tests/texturing/shaders/texelFetch.c | 9 ++---
>
This move is going to allow us to supplement the TestDict with a
different class that can be used instead that loads xml.
Signed-off-by: Dylan Baker
---
framework/profile.py| 104 ++
tests/all.py| 508
This will avoid catching AttributeErrors when importing, and only catch
them if mod.profile doesn't exist.
Signed-off-by: Dylan Baker
---
framework/profile.py | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/framework/profile.py
These are used in a couple of places, and since they're meant to be
changed by subclasses they need to be public.
Signed-off-by: Dylan Baker
---
framework/profile.py | 28
tests/igt.py | 3 ++-
tests/xts.py | 8
3
This pulls the code for parsing the test file out of GLSLParserTest and
puts them in a new Parser class. This is going be useful later for
allowing the parsing to be done during the compile stage, and not
require searching the file system at runtime.
Signed-off-by: Dylan Baker
This helper is the only one that doesn't take an adder function, which
is a consistency issue. But more importantly with the move of the
group_manager to TestDict instead of TestProfile, it makes an unsafe
assumption about the availability of the group_manager method, since a
TestDict could be
This doesn't work and never has, setting it would cause an exception,
and I'm not exactly sure how to fix it. It's also unused, so we can
bring it back later if we need it.
Signed-off-by: Dylan Baker
---
framework/test/base.py | 5 +
1 file changed, 1 insertion(+),
This allows a significant amount of cleanup to happen. It allows
removing attributes from the global OPTIONS, removing tests that no
longer apply, and because of the split run method it allows more values
to simply be passed.
Signed-off-by: Dylan Baker
---
This will allow a profile to be copied and "subclassed" without
affecting the original profile. This will allow a long-standing bug that
made it impossible to run two subclasses of all.py (say shader.py and
glslparser.py) at the same time, since they would both try to modify the
all.py profile in
This is a list comprehension, it already results in a list. There is no
need to wrap it in the list() constructor call.
Signed-off-by: Dylan Baker
---
framework/programs/run.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Some of these would be rather silly to run in parallel (xts and
xts-render, for example), but this will help avoid copy and pasting
things leading to the propagation of bad code.
Signed-off-by: Dylan Baker
---
tests/cpu.py| 4 +++-
tests/glslparser.py | 4 +++-
Signed-off-by: Dylan Baker
---
framework/profile.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/profile.py b/framework/profile.py
index 1bde8fb..7e09081 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -217,7 +217,7 @@
Since there isn't a conflict in the name anymore, this just makes the
code cleaner and easier to read.
Signed-off-by: Dylan Baker
---
framework/programs/run.py | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/framework/programs/run.py
We basically only used it to set the name and the time elapsed. That's
silly, just do those things directly. It needs less code and doesn't
require creating a big object.
This is leftover from the days before atomic writes, when results were
all stored in memory until the end of the run.
Signed-off-by: Dylan Baker
---
framework/profile.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/framework/profile.py b/framework/profile.py
index 9f72718..5f4657a 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -49,8 +49,10 @@
Because we can copy profiles, we don't need to merge them to run more
than one of them. Instead we can simply have a list of profiles, and run
them one by one. One side effect of this is that tests will be run one
profile at a time, so if running with out the -1/--no-concurrency or
Signed-off-by: Dylan Baker
---
framework/profile.py | 101
1 file changed, 48 insertions(+), 53 deletions(-)
diff --git a/framework/profile.py b/framework/profile.py
index 5f4657a..042cf98 100644
--- a/framework/profile.py
This limitation has basically always existed, but for the next patch to
function this is a requirement. This limitation will be properly fixed
in a follow up series (that was originally part of this series, but the
size and scope of the series got too big so this was split.)
Signed-off-by: Dylan
This patch changes the way that the tests from TestProfile are
processed. Rather than having a process_test_list method that modifies
TestProfile.test_list, a new itertests() method creates an iterator that
yields tests that are not excluded by filters.
This saves a bit of code, increases the
A try/finally works better here anyway.
Signed-off-by: Dylan Baker
---
framework/profile.py | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/framework/profile.py b/framework/profile.py
index 0d2e1cf..f63180a 100644
--- a/framework/profile.py
This changes the default type from None to a dict, which is what it is
when setup in framework/programs/run.
Signed-off-by: Dylan Baker
---
framework/results.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/results.py
Since these are also just special cases of filters for the standard
TestProfile filtering mechanism, and they have a lot of unique classes.
This is just a waste, the same can be achieved with a much simpler class
structure.
Signed-off-by: Dylan Baker
---
This does away with the check_all closure, by simplifying it down to an
equivalent lambda expression.
Signed-off-by: Dylan Baker
---
framework/profile.py | 14 +++---
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/framework/profile.py
There are a couple of reasons for doing this. First, profile is a big
complex mess that does entirely too much, and this helps with that.
Second, there are bugs in the way two profiles run at the same time
work, and this is going to fix that.
Signed-off-by: Dylan Baker
This removes a value out of the global OPTIONS, which is nice. It's very
trivial to pass this instead of putting it in options.
Signed-off-by: Dylan Baker
---
framework/options.py | 2 --
framework/profile.py | 8 +---
framework/programs/run.py | 11
This was just a thin wrapper around the already public
TestProfile.filters list. It seems silly to have such a method when it
does nothing but call self.filters.append.
Signed-off-by: Dylan Baker
---
framework/profile.py | 16 +++-
tests/all.py | 2
Rather than putting this in a global variable, just add a filter for
this in the runner. Far simpler, and removes more globals.
Signed-off-by: Dylan Baker
---
framework/options.py| 1 -
framework/profile.py| 1 -
This adds a few simple tests for the feature completeness summary
object. Nothing to strenuous but much better than nothing.
Signed-off-by: Dylan Baker
---
unittests/framework/summary/test_feature.py | 116 +-
1 file changed, 116 insertions(+), 0
This series is a large collections of cleanups for th profile module and
particularly for the TestProfile and TestDict classes. These began their
lives as the start of a series to serialize the TestDict at compile time
and to move startup overhead.
This series is just a bunch of cleanups and
Quoting Dylan Baker (2016-11-09 12:08:34)
> Quoting Lionel Landwerlin (2016-11-09 03:39:33)
> > This tests that the compiler accepts the new layout formats introduced by
> > NV_image_formats and also it's correct interaction with the
> > EXT_texture_norm16 specification.
> >
> > Signed-off-by:
Quoting Lionel Landwerlin (2016-11-09 03:39:33)
> This tests that the compiler accepts the new layout formats introduced by
> NV_image_formats and also it's correct interaction with the
> EXT_texture_norm16 specification.
>
> Signed-off-by: Lionel Landwerlin
> ---
Marek Olšák writes:
> On Wed, Oct 19, 2016 at 1:36 AM, Francisco Jerez
> wrote:
>> This refactors the implementation of the various "fb" commands to be
>> part of a single 'if (parse_str(line, "fb ", ...)) {}' block in order
>> to make code-sharing
On Wed, Nov 9, 2016 at 12:15 PM, Lionel Landwerlin
wrote:
> This tests that the compiler accepts the new layout formats introduced by
> NV_image_formats and also it's correct interaction with the
> EXT_texture_norm16 specification.
>
> v2: Only disallow normalized
This tests that the compiler accepts the new layout formats introduced by
NV_image_formats and also it's correct interaction with the
EXT_texture_norm16 specification.
v2: Only disallow normalized formats when EXT_texture_norm16 is not
available (Ilia)
Signed-off-by: Lionel Landwerlin
This extensions is written against OpenGL ES 3.1 and 3.10 of the OpenGL ES
Shading Language specification.
v2: Fix missing 'GL_' prefix (Ilia)
Signed-off-by: Lionel Landwerlin
---
generated_tests/gen_extensions_defined.py | 1 +
1 file changed, 1 insertion(+)
On Tue, 2016-11-08 at 12:59 -0500, Ilia Mirkin wrote:
> Could you update the change description to say precisely what each of
> these things do? It's hard to review otherwise since I have to go out
> and look up the things I don't know or have since forgotten.
Done and sent again for review.
I
Acked-by: Ilia Mirkin
I won't bother asking why one whitespace-line-column is set to 79 and
the other to 80. I'm sure the answer would just disappoint me.
On Wed, Nov 9, 2016 at 11:29 AM, Andres Gomez wrote:
> The White Space package, which is available
The White Space package, which is available since GNU Emacs 22, is
loaded and activated locally in prog-mode and cmake-mode.
Also, using White Space variables, we set highlighting through faces
on wrong indentation and the maximum length of a coding line.
Notice that:
- The highlighting for the
According to GLSLLangSpec: Use of gl_FragData and gl_FragColor
is deprecated in version 1.3, using user-defined out instead.
---
tests/texturing/shaders/texelFetch.c | 9 ++---
tests/texturing/shaders/textureSize.c | 9 ++---
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git
The extra ext is only required for unorm and snorm formats, not all 16-bit
ones.
On Nov 9, 2016 6:39 AM, "Lionel Landwerlin"
wrote:
> This tests that the compiler accepts the new layout formats introduced by
> NV_image_formats and also it's correct interaction
On Nov 9, 2016 6:39 AM, "Lionel Landwerlin"
wrote:
>
> This extensions is written against OpenGL ES 3.1 and 3.10 of the OpenGL ES
> Shading Language specification.
>
> Signed-off-by: Lionel Landwerlin
> ---
>
On Wed, Oct 19, 2016 at 1:36 AM, Francisco Jerez wrote:
> This refactors the implementation of the various "fb" commands to be
> part of a single 'if (parse_str(line, "fb ", ...)) {}' block in order
> to make code-sharing easier among fb subcommands. Will be more useful
>
If nobody has comments about this, I'd like to push it tomorrow
together with the corresponding patch in Mesa.
Iago
On Fri, 2016-11-04 at 13:33 +0100, Iago Toral Quiroga wrote:
> Linking means that we will validate in/out blocks between consumer
> and
> producer stages. In this case it should
This tests that the compiler accepts the new layout formats introduced by
NV_image_formats and also it's correct interaction with the
EXT_texture_norm16 specification.
Signed-off-by: Lionel Landwerlin
---
generated_tests/CMakeLists.txt | 4 +
Hi all,
We do have some interest to have support for R8 images in GLES on
Intel hardware for ChromeOS [1] and it seems enabling the
NV_image_formats extension is the way to go.
I'm not quite sure how much this needs to be tested. Any direction
would be really helpful. For now, here are some
This extensions is written against OpenGL ES 3.1 and 3.10 of the OpenGL ES
Shading Language specification.
Signed-off-by: Lionel Landwerlin
---
generated_tests/gen_extensions_defined.py | 1 +
1 file changed, 1 insertion(+)
diff --git
Tested-by: Marek Olšák
Marek
On Wed, Nov 9, 2016 at 12:51 AM, Dylan Baker wrote:
> Currently MultiShaderRunner (used with --process-isolation false)
> expects each directory will contain either GL, GLES2, or GLES3 shaders.
> The barrier between GLES2
54 matches
Mail list logo