Fixes uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee
---
tests/glean/ttexunits.h | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/glean/ttexunits.h b/tests/glean/ttexunits.h
index 436f857..6997960 100644
--- a/tests/glean/ttexunits
Fixes uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee
---
tests/glean/tvertprog1.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/glean/tvertprog1.h b/tests/glean/tvertprog1.h
index 429692f..1c80406 100644
--- a/tests/glean/tvertpro
The previous code would always add -cl-std if the version was > 1.0. This
ignored whatever the test itself wanted (e.g. the invalid-version-declaration
test). We should probably only add " -cl-std=x.y" when the test hasn't
requested a specific version.
Note: This doesn't address the rewrite of the
Use _${piglit_target_api} as the suffix of testcase binaries to
to be consistant across piglit as suggested by Chad Versace.
Signed-off-by: Tom Gall
---
tests/all.tests |2 +-
tests/spec/gles-3.0/CMakeLists.gles3.txt |2 +-
2 files changed, 2 insertions(+), 2 d
Signed-off-by: Tom Gall
---
tests/all.tests |1 +
1 file changed, 1 insertion(+)
diff --git a/tests/all.tests b/tests/all.tests
index fad2b09..99bcc97 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -2675,6 +2675,7 @@ gles20['sanity-test_gles2'] =
PlainExecTest(['sanity-test_gles2',
Add minmax test based on values that can be queried as specified
in chapter 6.2 of the OpenGL ES 2.0.25 spec.
Small modification to tests/util/minmax-test.* so that functions
which use GLint64 and GLuint64 types aren't compiled when
building for OpenGL ES2.
Signed-off-by: Tom Gall
---
tes
Port testcase clear-varray-2.0 from tests/general into
tests/spec/gles-2.0 and update substantially for OpenGL ES 2.0.
Test checks that glClear and vertex attributes via
glVertexAttribPointer work correctly together.
Signed-off-by: Tom Gall
---
tests/all.tests |
Unit test for glReadPixels specifically for OpenGL ES 2.0. Covers
a variety of formats and types, both valid and invalid.
A few variations are commented out due to results that are
incorrect and need to be followed up with Mesa, such as modifying
the buffer even tho the format is invalid. There ar
new tests/spec/gles-2.0 directory and infrastructure to build
initial testcase and add gles-2.0 as part of all.tests
new gles2 sanity test which very simply renders a triangle fan and
validates it was rendered correctly via
piglit_probe_rect_rgba
Signed-off-by: Tom Gall
---
tests/all.test
In this version:
Small change so testcases are named _${piglit_target_api} in
CMakeLists.gles2.txt and _gles2 in all.tests
Overview of patches:
0001-gles2-add-sanity-test.patch - add sanity test, matching gl sanity test
0002-gles2-new-glReadPixels-unit-test.patch - add unit test to stress
glReadP
On Mon, Dec 17, 2012 at 12:35 PM, Chad Versace
wrote:
> On 12/14/2012 12:01 PM, Tom Gall wrote:
>> This is a small change in two parts to repair support for
>> gles2 by glslparsertest.
>>
>> To glslparsertest.c, add 100 into the list of versions the switch
>> handles when passed from the command l
From: Ian Romanick
This test passes on NVIDIA's closed-source driver (version 304.64 on
GTX260). This driver supports GL_ARB_texture_multisample.
This test fails on AMD's closed-source driver (Catalyst 12.6 on HD
3650). Querying GL_SRGB8_ALPHA8 (for all targets) returns {1, 0, 2}.
This is inva
From: Ian Romanick
This test passes on NVIDIA's closed-source driver (version 304.64 on
GTX 260).
This test fails on AMD's closed-source driver (Catalyst 12.6 on HD
3650). Queries of GL_NUM_SAMPLE_COUNTS merrily write data even when
bufSize is zero.
v2: Add some comments describing the non-obv
From: Ian Romanick
This test passes on NVIDIA's closed-source driver (version 304.64 on
GTX 260). This driver supports GL_ARB_texture_multisample, but it
does not support GL_ARB_internalformat_query2.
This test fails on AMD's closed-source driver (Catalyst 12.6 on HD
3650). It appears that non
On Mon, Dec 17, 2012 at 12:54 PM, Chad Versace
wrote:
> On 12/14/2012 12:01 PM, Tom Gall wrote:
>> Add GLSLESParserTest class which runs the gles2/gles3
>>version of glslparsertest. Why is this needed?
>>The current GLSLParserTest class doesn't know about the
>>gles2/gles3 varient of g
On 7 December 2012 08:31, Ian Romanick wrote:
> From: Ian Romanick
>
> The most notable changes are the removal of GL_TEXTURE_BUFFER_FORMAT
> (this was not prototed to core from the ARB extension), and the
> addition of a giant pile of new extesions.
>
> Support is added to piglit_get_gl_enum_na
On Mon, Dec 17, 2012 at 12:33 PM, Chad Versace
wrote:
> On 12/14/2012 12:01 PM, Tom Gall wrote:
>> This is a set of trivial changes. In the appropriate set of
>> tests/glslparsertests/shaders/*.frag which are targeted for
>> glsl_version 1.10 or 1.20, add glsles_version: 1.00 which
>> identi
On 12/14/2012 12:01 PM, Tom Gall wrote:
> Add GLSLESParserTest class which runs the gles2/gles3
>version of glslparsertest. Why is this needed?
>The current GLSLParserTest class doesn't know about the
>gles2/gles3 varient of glslparsertest. The versioning
>of glsl_version in the con
On 12/14/2012 12:01 PM, Tom Gall wrote:
> This is a small change in two parts to repair support for
> gles2 by glslparsertest.
>
> To glslparsertest.c, add 100 into the list of versions the switch
> handles when passed from the command line instead of the default
> path. Next in piglit_init when v
On 12/14/2012 12:01 PM, Tom Gall wrote:
> This is a set of trivial changes. In the appropriate set of
> tests/glslparsertests/shaders/*.frag which are targeted for
> glsl_version 1.10 or 1.20, add glsles_version: 1.00 which
> identifies the test as appropriate for glsl es 1.0 which lines up
>
---
tests/all.tests| 6 +
.../spec/ext_transform_feedback/CMakeLists.gl.txt | 1 +
tests/spec/ext_transform_feedback/change-size.c| 320 +
3 files changed, 327 insertions(+)
create mode 100644 tests/spec/ext_transform_feedback/chang
Any comments on this?
I'd like to think this was in keeping with what Paul Berry had in mind
with his post back in May.
If this set of patches it's on track, certainly would like to get it
going in the right direction.
Thanks
-- Forwarded message --
From: Tom Gall
Date: Sat, De
On 12/17/2012 08:40 AM, Stuart Abercrombie wrote:
> shader_runner will insert #version based on GLSL >=.
>
> Testing: same number of passes on Sandy Bridge.
>
> Signed-off-by: Stuart Abercrombie
> Reviewed-by: Chad Versace
> Reviewed-by: Tom Gall
I think we've had enough discussion on this pa
Signed-off-by: Tom Gall
---
tests/all.tests |1 +
1 file changed, 1 insertion(+)
diff --git a/tests/all.tests b/tests/all.tests
index da67407..f0998c9 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -2675,6 +2675,7 @@ gles20['gles2-sanity-test'] =
PlainExecTest(['gles2-sanity-test',
Add minmax test based on values that can be queried as specified
in chapter 6.2 of the OpenGL ES 2.0.25 spec.
Small modification to tests/util/minmax-test.* so that functions
which use GLint64 and GLuint64 types aren't compiled when
building for OpenGL ES2.
Signed-off-by: Tom Gall
---
tes
Port testcase clear-varray-2.0 from tests/general into
tests/spec/gles-2.0 and update substantially for OpenGL ES 2.0.
Test checks that glClear and vertex attributes via
glVertexAttribPointer work correctly together.
Signed-off-by: Tom Gall
---
tests/all.tests |
Unit test for glReadPixels specifically for OpenGL ES 2.0. Covers
a variety of formats and types, both valid and invalid.
A few variations are commented out due to results that are
incorrect and need to be followed up with Mesa, such as modifying
the buffer even tho the format is invalid. There ar
new tests/spec/gles-2.0 directory and infrastructure to build
initial testcase and add gles-2.0 as part of all.tests
new gles2 sanity test which very simply renders a triangle fan and
validates it was rendered correctly via
piglit_probe_rect_rgba
Signed-off-by: Tom Gall
---
tests/all.test
Patches rebased to latest. Small change to remove addition of
OPENGL_gles2_LIBRARY and OPENGL_egl_LIBRARY from the
tests/spec/gles-2.0/CMakeLists.gles2.txt as they aren't needed.
Overview of patches:
0001-gles2-add-sanity-test.patch - add sanity test, matching gl sanity test
0002-gles2-new-glReadP
On 12/16/2012 05:15 PM, Vinson Lee wrote:
Fixes uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee
---
tests/spec/ext_framebuffer_multisample/common.cpp | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tests/spec/ext_framebuffer_multisam
On 12/16/2012 08:39 PM, Vinson Lee wrote:
Fixes resource leak defect reported by Coverity.
Signed-off-by: Vinson Lee
---
tests/spec/glsl-1.10/execution/varying-packing/simple.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/spec/glsl-1.10/execution/varying-packing/simple.c
b/tests
Initial piglit test for image from texture extension. This patch-set currently
tests KHR_gl_texture_2D_image functionality. I plan to incrementally
add tests for cubemaps and 3D textures at some point. The test basically
makes sure that we create correct multiple EGL targets from a source texture.
>> bool test_vs;
>> bool test_arb;
>> -
>> +bool test_rgb32;
Its global - so implicitly false like test vs and test arb.
Dave.
___
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit
33 matches
Mail list logo