v2: fix sizeof test
Signed-off-by: Jan Vesely
---
tests/cl/program/build/scalar-data-types.cl | 5 +++--
tests/cl/program/execute/sizeof.cl | 4 +++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/tests/cl/program/build/scalar-data-types.cl
b/tests/cl/program/build/scal
Fixes Unknown status "Unknown result" python exception.
Signed-off-by: Jan Vesely
---
tests/cl/api/set-kernel-arg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/cl/api/set-kernel-arg.c b/tests/cl/api/set-kernel-arg.c
index fb77059..0d476e3 100644
--- a/tests/cl/api/s
Signed-off-by: Jan Vesely
---
tests/cl/program/build/scalar-data-types.cl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/cl/program/build/scalar-data-types.cl
b/tests/cl/program/build/scalar-data-types.cl
index 00693f5..09fd15f 100755
--- a/tests/cl/program/build/
This ports both of the COS tests to shader runner.
Signed-off-by: Dylan Baker
---
tests/all.py | 2 --
tests/glean/tfragprog1.cpp | 32 --
.../cos-clamped-values.shader_test | 22 +++
.
- set python to utf-8
- remove "remove trailing whitespace" from python (like the emacs config)
- add glsl shaders to C style
Signed-off-by: Dylan Baker
---
.editorconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.editorconfig b/.editorconfig
index c614fcc..5e140a8
Signed-off-by: Dylan Baker
---
tests/all.py | 1 -
tests/glean/tfragprog1.cpp | 9 -
.../built-in-functions/frc.shader_test | 16
3 files changed, 16 insertions(+), 10 deletions(
Signed-off-by: Dylan Baker
---
tests/all.py | 1 -
tests/glean/tfragprog1.cpp| 16
.../built-in-functions/flr.shader_test| 19 +++
3 files changed, 19 insertions(+), 17 deletions
This is the start of an effort on my part to completely get rid of
glean by porting the useful, non-duplicated parts to the piglit
infastructure and deleting the rest the tests.
This first part covers just the ARB fragment program tests, and there
are a significant number of them that there are no
Possible duplicate tests:
shaders/fp-abs-01.c
shaders/fp-abs-02.c
Signed-off-by: Dylan Baker
---
tests/all.py | 2 +-
tests/glean/tfragprog1.cpp | 13 -
.../built-in-functions/abs.shader_test
Signed-off-by: Dylan Baker
---
tests/all.py | 1 -
tests/glean/tfragprog1.cpp | 13 -
.../built-in-functions/dp4.shader_test | 18 ++
3 files changed, 18 insertions(+), 14 deletions(
Signed-off-by: Dylan Baker
---
tests/all.py | 1 -
tests/glean/tfragprog1.cpp | 15 ---
.../built-in-functions/dst.shader_test | 18 ++
3 files changed, 18 insertions(+), 16 deletion
Signed-off-by: Dylan Baker
---
tests/all.py | 1 -
tests/glean/tfragprog1.cpp | 18 --
.../built-in-functions/ex2.shader_test | 22 ++
3 files changed, 22 insertions(+), 19 deletions(-)
This is a simplified version of the same test, but without some extra
operations.
Signed-off-by: Dylan Baker
---
tests/all.py | 1 -
tests/glean/tfragprog1.cpp | 16
.../built-in-functions/dph.shader_test
This also adds a similar CMP_SAT test.
Signed-off-by: Dylan Baker
---
tests/all.py | 1 -
tests/glean/tfragprog1.cpp | 11 ---
.../built-in-functions/cmp.shader_test | 20
.../built-in-f
This ports the following tests:
- ADD test
- ADD with saturation
- ADD an immediate
- ADD negative immediate
It does not port ADD negative "immediate (2)", which adds MOV, MUL, and
swizzling. It might be a useful test but it's not really testing ADD
other than that it tests that ADD can be used wi
This ports the first test and just removes the second test, which like
some of the other dropped tests doesn't really focus on DP3, or on a
reported bug for DP3, it just adds complexity.
Signed-off-by: Dylan Baker
---
tests/all.py | 2 --
tests/glean/tfragp
Signed-off-by: Topi Pohjolainen
---
tests/fbo/fbo-generatemipmap-formats.c | 2 +-
tests/shaders/shader_runner.c | 10 +-
tests/util/piglit-util-gl.c| 32 ++--
tests/util/piglit-util-gl.h| 3 ++-
4 files changed, 34 insertions
Signed-off-by: Topi Pohjolainen
---
tests/all.py | 4 +
tests/spec/arb_stencil_texturing/CMakeLists.gl.txt | 1 +
.../arb_stencil_texturing/draw_layered_miptree.c | 267 +
3 files changed, 272 insertions(+)
create mode 100644 tests/
Signed-off-by: Topi Pohjolainen
---
tests/util/piglit-util-gl.c | 87 +
1 file changed, 49 insertions(+), 38 deletions(-)
diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c
index 5e96c33..d09ce8e 100644
--- a/tests/util/piglit-util-
Signed-off-by: Topi Pohjolainen
---
tests/spec/arb_stencil_texturing/draw.c | 40 +
1 file changed, 6 insertions(+), 34 deletions(-)
diff --git a/tests/spec/arb_stencil_texturing/draw.c
b/tests/spec/arb_stencil_texturing/draw.c
index 9353240..c4152c9 100644
--- a
Signed-off-by: Topi Pohjolainen
---
tests/fbo/fbo-generatemipmap-formats.c | 3 ++-
tests/shaders/shader_runner.c | 15
tests/util/piglit-util-gl.c| 43 +++---
tests/util/piglit-util-gl.h| 17 +-
4 files change
Signed-off-by: Topi Pohjolainen
---
tests/util/piglit-util-gl.c | 42 +-
1 file changed, 25 insertions(+), 17 deletions(-)
diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c
index b288a67..5e96c33 100644
--- a/tests/util/piglit-util-gl.
CC: Kenneth Graunke
Signed-off-by: Topi Pohjolainen
---
tests/all.py| 3 +-
tests/spec/arb_stencil_texturing/draw.c | 49 +++--
2 files changed, 43 insertions(+), 9 deletions(-)
diff --git a/tests/all.py b/tests/all.py
index 93d64e6..dd6f
23 matches
Mail list logo