Patch Series:
Reviewed-by: Jordan Justen
I assume you recommend I use piglit-util-gl.c for
* piglit_require_primitive_restart
* piglit_EnablePrimitiveRestart
* piglit_DisablePrimitiveRestart
(RE: [PATCH v2 1/2] util: add primitive restart util routines)
Thanks,
-Jordan
On Mon, Jul 2, 2012 at 2
With the transform feedback wrapper functions removed,
piglit_require_transform_feedback() was the only function left in
piglit-transform-feedback.{c.h}. This patch moves it to piglit-util.c
so that it won't get lonely.
---
tests/util/CMakeLists.gl.txt |2 -
tests/util/piglit-transf
The wrapper functions in tests/util/piglit-transform-feedback.{c,h}
(e.g. piglit_BeginTransformFeedback()), are no longer needed, since
the piglit-dispatch mechanism automatically redirects to the EXT
variants when GL 3.0 is not supported.
This patch removes the unnecessary wrapper functions.
---
The wrapper functions in tests/util/piglit-transform-feedback.{c,h}
(e.g. piglit_BeginTransformFeedback()) are no longer needed, since the
piglit-dispatch mechanism automatically redirects to the EXT variants
when GL 3.0 is not supported.
This patch stops using the wrapper functions; the next patc
Whoops. I forgot to add the shader.
I'll send another version.
-Jordan
On Mon, Jul 2, 2012 at 1:19 PM, Jordan Justen wrote:
> Signed-off-by: Jordan Justen
> ---
> tests/all.tests | 1 +
> .../spec/ext_transform_feedback/CMakeLists.gl.txt | 1 +
> .../
Signed-off-by: Jordan Justen
---
tests/all.tests|1 +
.../spec/ext_transform_feedback/CMakeLists.gl.txt |1 +
.../ext_transform_feedback/primitive-restart.c | 115
3 files changed, 117 insertions(+)
create mode 100644 tests/s
Add routines to handle GL 3.1 vs. GL_NV_primitive_restart
differences for detecting & using primitive restart.
Signed-off-by: Jordan Justen
---
tests/util/CMakeLists.gl.txt |2 +
tests/util/piglit-core-ext-wrappers.c | 66 +
tests/util/piglit-core-e
v2:
* Support primitive restart on GL 3.1 & GL_NV_primitive_restart
* Make sure index 0xff exists in the vertex array. Therefore if
primitive restart is not working, then the number of generated
primitives will increase, and this will cause an error to be
generated.
* Do not assert if a
Anuj Phogat writes:
> This test varifies that alpha value is not changed with
> GL_SAMPLE_ALPHA_TO_ONE enabled if GL_MULTISAMPLE is disabled
> or buffer is not a multisample buffer.
The "negative-" prefix on a test name has been for API tests that should
just produce errors, and is something we
Piglit would segfault if piglit_load_text_file() was accidentally passed
a directory name instead of a filename. Now return NULL if the file is
not regular or a symlink.
---
tests/util/piglit-util.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/tests/util/piglit-u
---
tests/all.tests|1 +
.../arb_uniform_buffer_object/CMakeLists.gl.txt|1 +
tests/spec/arb_uniform_buffer_object/maxblocks.c | 336
3 files changed, 338 insertions(+)
create mode 100644 tests/spec/arb_uniform_buffer_object/
---
tests/all.tests|1 +
.../arb_uniform_buffer_object/CMakeLists.gl.txt|1 +
tests/spec/arb_uniform_buffer_object/row-major.c | 218
3 files changed, 220 insertions(+)
create mode 100644 tests/spec/arb_uniform_buffer_object/
---
tests/all.tests|1 +
.../arb_uniform_buffer_object/CMakeLists.gl.txt|1 +
.../getactiveuniformblockname.c| 211
3 files changed, 213 insertions(+)
create mode 100644
tests/spec/arb_uniform_buffer_object
This is a lot like getactiveuniformblockname.
---
tests/all.tests|1 +
.../arb_uniform_buffer_object/CMakeLists.gl.txt|1 +
.../getactiveuniformname.c | 210
3 files changed, 212 insertions(+)
create mod
---
tests/all.tests|1 +
.../arb_uniform_buffer_object/CMakeLists.gl.txt|1 +
.../referenced-by-shader.c | 131
3 files changed, 133 insertions(+)
create mode 100644 tests/spec/arb_uniform_buffer_object/
---
tests/all.tests|1 +
.../arb_uniform_buffer_object/CMakeLists.gl.txt|1 +
.../spec/arb_uniform_buffer_object/getprogramiv.c | 150
3 files changed, 152 insertions(+)
create mode 100644 tests/spec/arb_uniform_buffer_object/
---
tests/all.tests|1 +
.../arb_uniform_buffer_object/CMakeLists.gl.txt|1 +
.../uniformblockbinding.c | 159
3 files changed, 161 insertions(+)
create mode 100644 tests/spec/arb_uniform_buffer_object/
Chad Versace writes:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 06/26/2012 05:56 AM, Blaž Tomažič wrote:
>> On pet, 2012-06-22 at 15:12 -0700, Chad Versace wrote:
>
>> I have received an email from Eric Anholt about the patches (don't
>> know why he didn't cc the mailing list, he pr
18 matches
Mail list logo