red...@kde.org>
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/common.c| 39
tests/spec/ext_memory_object/common.h| 7 ++
tests/spec/ext_memory_object/vk_common.c | 15
tests/spec/ext_m
edrik)
v4:
- check also memoryTypeBits and
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT (Andres)
- unify allocation code paths (Andres)
CC: Andres Rodriguez <andre...@gmail.com>
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/vk_common.
v2:
- s/get_fd/vk_get_memory_fd/ (Andres)
- check for glImportMemoryFdEXT() failure (Andres)
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/common.c| 72
tests/spec/ext_memory_object/common.h
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/common.c| 71
tests/spec/ext_memory_object/common.h| 39 ++
tests/spec/ext_memory_object/vk_common.h | 9
3 files changed, 119 inse
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c90109907..767b90add 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -174,6 +174,7 @@ ELSEIF(${CMAKE_SYSTEM_NAME} M
This stripped down version of glsl_scraper.py found in crucible.
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../compile_and_dump_glsl_as_spirv.py | 139 +
1 file changed, 139 insertions(+)
create mode 100644
tests/spec/ext_memory_
uses hardcoded values of
VK_FORMAT_R8G8B8A8_UNORM and VK_IMAGE_TILING_LINEAR
respectively,
v2:
- pipeline setup moved into common code
- check for vkGetImageMemoryRequirements2KHR() (Fredrik)
- check that image type is supported by the device (Fredrik)
Signed-off-by: Topi
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4259ec832..c90109907 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,6 +173,8 @@ ELSEIF(${CMAKE_SYSTEM_NAME} M
v2:
- do not leak mapped vertex buffer (Andres)
- fix typo mem_regs -> mem_reqs (Andres)
- vk_alloc_mem() with VkMemoryDedicatedAllocateInfoKHR (Fredrik)
- pass struct vk_core as argument instead of using static
CC: Andres Rodriguez <andre...@gmail.com>
Signed-off-by: Topi Po
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/vk_common.c | 58
tests/spec/ext_memory_object/vk_common.h | 17 ++
2 files changed, 75 insertions(+)
diff --git a/tests/spec/ext_memory_object/vk_commo
) (Fredrik)
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/vk_common.c | 13 ++
tests/spec/ext_memory_object/vk_common.h | 53 +
tests/spec/ext_memory_object/vk_fb.c | 346 +++
3 files changed, 412 insertions(+)
cr
Here is a revision taking into account feedback from Andres and Fredrik.
Many thanks for both, I hope I didn't miss anything.
CC: Andres Rodriguez <andre...@gmail.com>
CC: Fredrik Hoeglund <fred...@kde.org>
CC: Jason Ekstrand <ja...@jlekstrand.net>
Topi Pohjolainen (11):
CC: Fredrik Hoeglund <fred...@kde.org>
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/common.c| 24
tests/spec/ext_memory_object/common.h| 4
tests/spec/ext_memory_object/vk_common.c | 15 ++
uses hardcoded values of
VK_FORMAT_R8G8B8A8_UNORM and VK_IMAGE_TILING_LINEAR
respectively,
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/CMakeLists.gl.txt | 18 ++
.../ext_memory_object/vk_export_image_as_tex.c
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/common.c | 71 +++
tests/spec/ext_memory_object/common.h | 45 ++
2 files changed, 116 insertions(+)
create mode 100644 tests/spec/ext_memory_
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/common.c| 71
tests/spec/ext_memory_object/common.h| 8
tests/spec/ext_memory_object/vk_common.c | 12 ++
tests/spec/ext_memory_object/vk_common.
v2: Store image size in order to know how much memory to import,
see glImportMemoryFdEXT().
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/vk_common.h | 34
tests/spec/ext_memory_object/vk_fb.c | 304
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/vk_common.c | 322 +++
tests/spec/ext_memory_object/vk_common.h | 38
2 files changed, 360 insertions(+)
diff --git a/tests/spec/ext_memory_object/vk_common.c
b
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/vk_common.c | 245 +++
tests/spec/ext_memory_object/vk_common.h | 38 +
2 files changed, 283 insertions(+)
create mode 100644 tests/spec/ext_memory_object/vk_co
else than trying to read that from
the buffer object (see the Intel driver hook).
Piglit work can be found in:
git://people.freedesktop.org/~tpohjola/piglit:external_objects
CC: Jason Ekstrand <ja...@jlekstrand.net>
CC: Andres Rodriguez <andre...@gmail.com>
Topi Po
This stripped down version of glsl_scraper.py found in crucible.
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../compile_and_dump_glsl_as_spirv.py | 139 +
1 file changed, 139 insertions(+)
create mode 100644
tests/spec/ext_memory_
Currently only the vulkan rendering part is implemented.
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/CMakeLists.gl.txt | 20 +++
tests/spec/ext_memory_object/vk_fragcoord.fs | 8 +
tests/spec/ext_memory_object/vk_fragco
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/vk_common.h | 25 +++
tests/spec/ext_memory_object/vk_fb.c | 300 +++
2 files changed, 325 insertions(+)
create mode 100644 tests/spec/ext_memory_object/vk_fb.c
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/vk_common.c | 320 +++
tests/spec/ext_memory_object/vk_common.h | 35
2 files changed, 355 insertions(+)
diff --git a/tests/spec/ext_memory_object/vk_common.c
b
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_memory_object/vk_common.c | 245 +++
tests/spec/ext_memory_object/vk_common.h | 38 +
2 files changed, 283 insertions(+)
create mode 100644 tests/spec/ext_memory_object/vk_co
from
crucible/src/tests/func/shader/fragcoord.c
The test itself is only half way there. There is, however, quite
a bit in the Vulkan render support which I thought worth sharing.
CC: Jason Ekstrand <ja...@jlekstrand.net>
CC: Andres Rodriguez <andre...@gmail.com>
Topi Pohjolainen (6):
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4259ec832..04bc656ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,6 +173,8 @@ ELSEIF(${CMAKE_SYSTEM_NAME} M
This stripped down version of glsl_scraper.py found in crucible.
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../compile_and_dump_glsl_as_spirv.py | 139 +
1 file changed, 139 insertions(+)
create mode 100644
tests/spec/ext_memory_
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/all.py| 10 ++
.../clip-and-scissor-blit.cpp | 17 ++---
2 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/tests/al
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/all.py| 8 +---
tests/spec/ext_framebuffer_multisample/blit-flipped.cpp | 16 +---
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/tests/al
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/spec/ext_framebuffer_multisample/clear.cpp | 31 ++--
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/tests/spec/ext_framebuffer_multisample/clear.cpp
b/test
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/all.py | 5 +
.../blit-multiple-render-targets.cpp | 10 +++---
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/tests/al
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../sample-alpha-to-coverage.cpp | 41 +++---
1 file changed, 28 insertions(+), 13 deletions(-)
diff --git
a/tests/spec/ext_framebuffer_multisample/sample-alpha-to-coverage.cpp
b/test
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/all.py | 10 ++
tests/spec/ext_framebuffer_multisample/sample-coverage.cpp | 14 +-
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/tests/
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/all.py | 8 +---
tests/spec/ext_framebuffer_multisample/draw-buffers-common.cpp | 7 ++-
.../int-draw-buffers-alpha-to-coverage.cpp
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/all.py | 13 ++-
.../blit-mismatched-formats.cpp| 27 +++---
.../blit-mismatched-samples.cpp| 16 +++--
..
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../draw-buffers-common.cpp| 39 --
tests/util/sized-internalformats.h | 8 +
2 files changed, 36 insertions(+), 11 deletions(-)
diff --git a/test
against multiple formats.
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/all.py| 13 +
.../alpha-to-coverage-dual-src-blend.cpp| 9 ++---
.../alpha-to-coverage-no-draw-buffer-zero-wri
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../spec/ext_framebuffer_multisample/upsample.cpp | 35 ++
1 file changed, 23 insertions(+), 12 deletions(-)
diff --git a/tests/spec/ext_framebuffer_multisample/upsample.cpp
b/test
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../multisample-blit.cpp | 32 ++
1 file changed, 21 insertions(+), 11 deletions(-)
diff --git a/tests/spec/ext_framebuffer_multisample/multisample-blit.cpp
b/test
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../ext_framebuffer_multisample/unaligned-blit.cpp | 38 ++
1 file changed, 24 insertions(+), 14 deletions(-)
diff --git a/tests/spec/ext_framebuffer_multisample/unaligned-blit.cpp
b/test
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../draw-buffers-common.cpp| 22 ++
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/tests/spec/ext_framebuffer_multisample/draw-buffers-common.cpp
b/test
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../spec/ext_framebuffer_multisample/accuracy.cpp | 29 +-
tests/spec/ext_framebuffer_multisample/common.cpp | 10 +---
tests/spec/ext_framebuffer_multisample/common.h
preparing for source blending with GL_RGBA16F and GL_RGBA32F.
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../draw-buffers-common.cpp | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/test
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
.../arb_framebuffer_object/attachments-blit-scaled-linear.cpp | 2 +-
tests/spec/arb_framebuffer_object/blit-scaled-linear.cpp | 2 +-
.../spec/arb_sample_shading/execution/builtin-gl-num-samples.cpp | 5 +++--
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
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
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
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 inse
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
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
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
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
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
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
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/texturing/texsubimage.c | 124 +-
1 file changed, 74 insertions(+), 50 deletions(-)
diff --git a/tests/texturing/texsubimage.c b/tests/texturing/texsubimage.c
index cc8f6b5..5
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/texturing/texsubimage.c | 42 +-
1 file changed, 25 insertions(+), 17 deletions(-)
diff --git a/tests/texturing/texsubimage.c b/tests/texturing/texsubimage.c
index 52a4252..7
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/texturing/texsubimage.c | 92 +++
1 file changed, 59 insertions(+), 33 deletions(-)
diff --git a/tests/texturing/texsubimage.c b/tests/texturing/texsubimage.c
index 7a5fdc6..8
. It just helped me to understand the error a
little more while I hacked the driver to use tex coordinates
as color values.
Topi Pohjolainen (7):
texsubimage: Refactor single round for fixed region
texsubimage: Move texture size selection higher in the dispatch
texsubimage: Move sub-region
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/texturing/texsubimage.c | 71 +--
1 file changed, 69 insertions(+), 2 deletions(-)
diff --git a/tests/texturing/texsubimage.c b/tests/texturing/texsubimage.c
index b695ce5..a
bits)
texsubimage failed
target: GL_TEXTURE_2D
internal format: GL_RGB8
region: 6, 10 94 x 53
PIGLIT: {"result": "fail" }
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91926
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/textur
= 14,0,108,255 (comparing 8 bits)
instead of just first:
6,10,0: test = 40,12,0,255 ref = 12,0,40,255 (comparing 8 bits)
This was informative for me as I could see that I had a problem
with region 6,10 7,27.
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/util/pigli
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
tests/texturing/texsubimage.c | 71 ---
1 file changed, 40 insertions(+), 31 deletions(-)
diff --git a/tests/texturing/texsubimage.c b/tests/texturing/texsubimage.c
index 8bebbd7..b
will interfere with the sampler
settings of the former.
Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
CC: Ian Romanick <i...@freedesktop.org>
---
tests/all.py | 1 +
tests/texturing/getteximage-formats.c | 16 +---
2 files changed, 1
This test demonstrates a bug in the Intel mesa driver meta
operation state restore logic. Originally it was found when
developing lossless compression support. Current piglit tests
just didn't exercise the resolve code path that would interfere
with any ongoing meta operation.
Signed-off-by: Topi
CC: Eric Anholt e...@anholt.net
CC: Kenneth Graunke kenn...@whitecape.org
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.py| 5 +++-
tests/spec/arb_stencil_texturing/draw.c | 49 +++--
2 files changed, 45
This is really the first patch of series, the rest are just
something that in my opinion made the test easier to read and
understand.
Topi Pohjolainen (8):
layered-rendering/blit: use color other than the default red
layered-rendering/blit: adding missing whitespace
layered-rendering/blit
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/gl-3.2/layered-rendering/blit.c | 32 +++---
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/tests/spec/gl-3.2/layered-rendering/blit.c
b/tests/spec/gl-3.2/layered-rendering/blit.c
these window dimensions based arguments correspondingly.
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/gl-3.2/layered-rendering/blit.c | 57 +-
1 file changed, 25 insertions(+), 32 deletions(-)
diff --git a/tests/spec/gl-3.2/layered-rendering
: Paul Berry stereotype...@gmail.com
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/gl-3.2/layered-rendering/blit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/gl-3.2/layered-rendering/blit.c
b/tests/spec/gl-3.2/layered-rendering/blit.c
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/gl-3.2/layered-rendering/blit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/spec/gl-3.2/layered-rendering/blit.c
b/tests/spec/gl-3.2/layered-rendering/blit.c
index a4cb6e8..ae4eea1
The values are the defaults.
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/gl-3.2/layered-rendering/blit.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tests/spec/gl-3.2/layered-rendering/blit.c
b/tests/spec/gl-3.2/layered-rendering/blit.c
index ae4eea1
Also moves the allocation for the generated pixels to the
generator.
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/gl-3.2/layered-rendering/blit.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/tests/spec/gl-3.2/layered-rendering
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/gl-3.2/layered-rendering/blit.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/tests/spec/gl-3.2/layered-rendering/blit.c
b/tests/spec/gl-3.2/layered-rendering/blit.c
index 92a341f..a669a04
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/gl-3.2/layered-rendering/blit.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/spec/gl-3.2/layered-rendering/blit.c
b/tests/spec/gl-3.2/layered-rendering/blit.c
index 08e2c83..598fd4e
Passes on NVIDIA (304.88 on GTX 660) and on Ivy Bridge.
v2 (Ian): added to all.tests
Reviewed-by: Ian Romanick ian.d.roman...@intel.com
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3
supports all the tests and fails only on one of the api
error corner cases. Ivy Bridge in turn passes all that it
supports but skips quite a few that require also arb_gpu_shader5.
I got quite a bit of feedback from Ian to the api error tests
which I hope I have addressed all.
Topi Pohjolainen (11
for success
- added to all.tests
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../query_with_invalid_index.c | 109
into 'ext_interleaved_max_streams'
- dropped unnecessary requirement for 1.50 glsl - test
requires GL version 3.2 already
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1
already
requires GL 3.2
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../set_varyings_with_invalid_args.c | 118 +
3 files
for
other tests to use
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 2 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../ext_interleaved_max_buffers_and_varyings.c | 306 +
tests/spec
also maximum allowed for success
- used size 'sizeof(GLfloat)' instead of '1' for
'glBindBufferRange()'. Otherwise even the positive case of
maximum supported fails on NVIDIA.
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests
larger chunk and managing it
manually
- added the mandatory (max_vertices = 1) into the output layout
declaration
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt
piglit_build_simple_program_multiple_shaders()
v3:
- added calls to glDeleteBuffers(), glDeleteQueries() and
glDeleteVertexArrays()
- do not require arb_gpu_shader5 for the vertex shader case
- fixed zero buffer size in vertex shader case
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests
Make feedback buffer probe accessible also for other tests.
Original behavior is altered not to print matching values
anymore.
v2:
- call piglit_probe_buffer() instead of thin wrapper (Ian)
- use bool instead of GLboolean
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
Here are tests for the non-NV error cases listed in the spec. Most
of them pass on NVIDIA expect a few - details in the invidual
patches.
Topi Pohjolainen (6):
arb_transform_feedback3: add test for buffer binding with invalid
index
arb_transform_feedback3: add test for querying
Passes on NVIDIA (319.60 on GTX 660).
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../end_query_with_name_zero.c | 64 ++
2 files changed, 65 insertions(+)
create mode 100644
NVIDIA (319.60 on GTX 660) fails by reporting INVALID_OPERATION
instead of INVALID_VALUE.
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../query_with_invalid_index.c | 71 ++
2
Passes on NVIDIA (319.60 on GTX 660).
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../bind_buffer_invalid_index.c| 74
Non-existing program case crashes on NVIDIA (319.60 on GTX 660)
but exceeding maximum attribute case passes.
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1
Pass on NVIDIA (319.60 on GTX 660).
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../arb_transform_feedback3/set_invalid_varyings.c | 191
understood from
existing tests.
First set of tests address the primitive type constraints when
geometry shaders output multiple streams. The second set
exercises the stream identifier parameter taken by
EmitStreamVertex() and EndStreamPrimitive() builtin functions.
Topi Pohjolainen (3):
hack
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/shaders/shader_runner.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index ba76cd0..5731985 100644
--- a/tests/shaders/shader_runner.c
+++ b
Constant cases pass while the non-constant vertex emission case
crashes and the non-constant primitive end fails on NVIDIA
(304.88 on GTX 660).
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 2 ++
.../primitive-end-with-const
type.
A program will fail to link if it includes a geometry shader that
calls the EmitStreamVertex() built-in function and has any other
output primitive type parameter.
All three tests pass on NVIDIA (304.88 on GTX 660).
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
...vertex
in the source to the destination. By copying
only the actual pixel values one not only fixes this but also
allows the source to have greater padding than the destination.
CC: Chad Versace chad.vers...@linux.intel.com
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/util/piglit
.
The last test records vertices using multiple streams and re-draws
some of them.
These tests pass on 4.2.0 NVIDIA 304.88 binary driver.
Topi Pohjolainen (7):
tests/spec: relax config for EXT_transform_feedback separate
util: buffer object probe
tests/spec: ARB_transform_feedback3 interleaved
Make feedback buffer probe accessible also for other tests.
Original behavior is altered not to print matching values
anymore.
v2:
- call piglit_probe_buffer() instead of thin wrapper (Ian)
- use bool instead of GLboolean
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 3 +
tests/spec/CMakeLists.txt | 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 13 +
tests/spec/arb_transform_feedback3/CMakeLists.txt | 1
by
mesa (Ian)
- drop _EXT, use core names instead (Ian)
- now using piglit_build_simple_program_multiple_shaders()
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 3 +
.../spec/arb_transform_feedback3
Now able to run with 4.2.0 NVIDIA 304.88.
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/arb_transform_feedback2/draw-auto.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/spec/arb_transform_feedback2/draw-auto.c
b/tests/spec
functionality I thought looking at the corner and
error cases - I have a feeling there are going to be quite a few
such tests.
Topi Pohjolainen (4):
util: buffer object probe
tests/spec: ARB_transform_feedback3 interleaved in two buffers
tests/spec: ARB_transform_feedback3 interleaved in separate
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 2 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../ext_interleaved_single_stream_many_buffers.c | 334 +
tests/spec/arb_transform_feedback3
Make feedback buffer probe accessible also for other tests.
Original behavior is altered not to print matching values
anymore.
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/spec/ext_transform_feedback/separate.c | 30
tests/util/piglit-util-gl
Signed-off-by: Topi Pohjolainen topi.pohjolai...@intel.com
---
tests/all.tests| 3 +
tests/spec/CMakeLists.txt | 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 13 ++
tests/spec/arb_transform_feedback3/CMakeLists.txt
1 - 100 of 147 matches
Mail list logo