[Piglit] [PATCH] glsl-sdl-sincos-accuracy: Add a new test for a vc4 bug with SDL2.

2018-09-21 Thread Eric Anholt
Our sin(0.0) and cos(0.0) were too inaccurate, causing twisting in SDL2's rendering. --- .../glsl-sdl-sincos-accuracy.shader_test | 36 +++ 1 file changed, 36 insertions(+) create mode 100644 tests/shaders/glsl-sdl-sincos-accuracy.shader_test diff --git a/tests/shaders/glsl-

Re: [Piglit] [PATCH 1/2] sanity: Turn shader_test list into a string

2018-09-21 Thread Dylan Baker
Quoting Caio Marcelo de Oliveira Filho (2018-09-21 16:05:37) > > > -add_shader_test('tests/shaders/glsl-algebraic-add-zero.shader_test') > > > -add_shader_test('tests/spec/glsl-1.50/execution/geometry-basic.shader_test') > > > -add_shader_test('tests/spec/arb_tessellation_shader/execution/sanity.sh

Re: [Piglit] [PATCH 1/2] sanity: Turn shader_test list into a string

2018-09-21 Thread Caio Marcelo de Oliveira Filho
> > -add_shader_test('tests/shaders/glsl-algebraic-add-zero.shader_test') > > -add_shader_test('tests/spec/glsl-1.50/execution/geometry-basic.shader_test') > > -add_shader_test('tests/spec/arb_tessellation_shader/execution/sanity.shader_test') > > -add_shader_test('tests/spec/arb_compute_shader/exe

Re: [Piglit] [PATCH 1/2] sanity: Turn shader_test list into a string

2018-09-21 Thread Dylan Baker
Quoting Jordan Justen (2018-09-21 15:53:46) > Signed-off-by: Jordan Justen > --- > tests/sanity.py | 13 + > 1 file changed, 9 insertions(+), 4 deletions(-) > > diff --git a/tests/sanity.py b/tests/sanity.py > index 88bf27457..566d63218 100644 > --- a/tests/sanity.py > +++ b/tests/sa

Re: [Piglit] [PATCH 1/2] sanity: Turn shader_test list into a string

2018-09-21 Thread Caio Marcelo de Oliveira Filho
On Fri, Sep 21, 2018 at 03:53:46PM -0700, Jordan Justen wrote: > Signed-off-by: Jordan Justen > --- > tests/sanity.py | 13 + > 1 file changed, 9 insertions(+), 4 deletions(-) Reviewed-by: Caio Marcelo de Oliveira Filho ___ Piglit mailing

[Piglit] [PATCH 2/2] sanity: Add various shader_runner tests

2018-09-21 Thread Jordan Justen
Signed-off-by: Jordan Justen --- tests/sanity.py | 25 + 1 file changed, 25 insertions(+) diff --git a/tests/sanity.py b/tests/sanity.py index 566d63218..5550cd13e 100644 --- a/tests/sanity.py +++ b/tests/sanity.py @@ -67,10 +67,35 @@ def add_shader_test(shader): profile

[Piglit] [PATCH 1/2] sanity: Turn shader_test list into a string

2018-09-21 Thread Jordan Justen
Signed-off-by: Jordan Justen --- tests/sanity.py | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/sanity.py b/tests/sanity.py index 88bf27457..566d63218 100644 --- a/tests/sanity.py +++ b/tests/sanity.py @@ -66,10 +66,15 @@ def add_shader_test(shader): pr

[Piglit] [PATCH v2] shader_runner: add force_no_names mode

2018-09-21 Thread Alejandro Piñeiro
Right now UBO data filling is based on using the name of the ubo and their components, in order to get the block and uniform index. It also uses it to set the binding (so it forces block_index and block_binding to be equal). Since ARB_shading_language_420pack it is possible to set a explicit ubo b

Re: [Piglit] [PATCH 12/17] arb_gl_spirv: add ubo array test with different array_stride

2018-09-21 Thread Alejandro Piñeiro
On 21/09/18 00:13, Timothy Arceri wrote: > On 16/9/18 2:22 am, Alejandro Piñeiro wrote: >> For more info, see the long explanation at the commit "arb_gl_spirv: >> add ubo matrix test with different matrix_stride" >> --- >>   .../array-different-array-stride-ubo.shader_test   | 147 >> ++