-off-by: Topi Pohjolainen
---
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_memory_object/vk_common.h | 3 +++
4 files changed, 64
edrik)
v4:
- check also memoryTypeBits and
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT (Andres)
- unify allocation code paths (Andres)
CC: Andres Rodriguez
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/vk_common.c | 13 ++
tests/spec/ext_memory_object/vk_common.h | 53 ++
v2:
- s/get_fd/vk_get_memory_fd/ (Andres)
- check for glImportMemoryFdEXT() failure (Andres)
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/common.c| 72
tests/spec/ext_memory_object/common.h| 8
tests/spec
Signed-off-by: Topi Pohjolainen
---
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 insertions(+)
create mode 100644 tests
This stripped down version of glsl_scraper.py found in crucible.
Signed-off-by: Topi Pohjolainen
---
.../compile_and_dump_glsl_as_spirv.py | 139 +
1 file changed, 139 insertions(+)
create mode 100644
tests/spec/ext_memory_object
Signed-off-by: Topi Pohjolainen
---
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} MATCHES "Windows&quo
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
---
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} MATCHES "Windows")
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
Signed-off-by: Topi Pohjolainen
---
tests/s
Signed-off-by: Topi Pohjolainen
---
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_common.c
b/tests/spec/ext_memory_object
) (Fredrik)
Signed-off-by: Topi Pohjolainen
---
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(+)
create mode 100644
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
CC: Fredrik Hoeglund
CC: Jason Ekstrand
Topi Pohjolainen (11):
framework: Check for vulkan availability
framework: HACK: Read glslc path
using static variables at all. This was
actually on my todo list, just forgot it.
CC: Andres Rodriguez
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/vk_common.c | 236 +++
tests/spec/ext_memory_object/vk_common.h | 48 +++
2 files changed
CC: Fredrik Hoeglund
Signed-off-by: Topi Pohjolainen
---
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 +++
tests/spec/ext_memory_object/vk_common.h | 3
uses hardcoded values of
VK_FORMAT_R8G8B8A8_UNORM and VK_IMAGE_TILING_LINEAR
respectively,
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/CMakeLists.gl.txt | 18 ++
.../ext_memory_object/vk_export_image_as_tex.c | 262 +
tests/spec
Signed-off-by: Topi Pohjolainen
---
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_object/common.c
create mode 100644
Signed-off-by: Topi Pohjolainen
---
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.h | 3 ++
4 files changed, 94
Signed-off-by: Topi Pohjolainen
---
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/tests/spec/ext_memory_object
v2: Store image size in order to know how much memory to import,
see glImportMemoryFdEXT().
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/vk_common.h | 34
tests/spec/ext_memory_object/vk_fb.c | 304 +++
2 files changed, 338
Signed-off-by: Topi Pohjolainen
---
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_common.c
create mode 100644 tests/spec
thing 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
CC: Andres Rodriguez
Topi Pohjolainen (7):
ext_memory_object: Add script for turning glsl
This stripped down version of glsl_scraper.py found in crucible.
Signed-off-by: Topi Pohjolainen
---
.../compile_and_dump_glsl_as_spirv.py | 139 +
1 file changed, 139 insertions(+)
create mode 100644
tests/spec/ext_memory_object
Currently only the vulkan rendering part is implemented.
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/CMakeLists.gl.txt | 20 +++
tests/spec/ext_memory_object/vk_fragcoord.fs | 8 +
tests/spec/ext_memory_object/vk_fragcoord.vs | 9 ++
tests/spec
Signed-off-by: Topi Pohjolainen
---
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
diff --git a/tests/spec
Signed-off-by: Topi Pohjolainen
---
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/tests/spec/ext_memory_object
Signed-off-by: Topi Pohjolainen
---
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_common.c
create mode 100644 tests/spec
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
CC: Andres Rodriguez
Topi Pohjolainen (6):
framework: Check for vulkan availability
Signed-off-by: Topi Pohjolainen
---
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} MATCHES "Windows")
This stripped down version of glsl_scraper.py found in crucible.
Signed-off-by: Topi Pohjolainen
---
.../compile_and_dump_glsl_as_spirv.py | 139 +
1 file changed, 139 insertions(+)
create mode 100644
tests/spec/ext_memory_object
Signed-off-by: Topi Pohjolainen
---
tests/all.py| 10 ++
.../clip-and-scissor-blit.cpp | 17 ++---
2 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/tests/all.py b/tests/all.py
index
Signed-off-by: Topi Pohjolainen
---
tests/all.py| 8 +---
tests/spec/ext_framebuffer_multisample/blit-flipped.cpp | 16 +---
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/tests/all.py b/tests/all.py
index 98b78ea89
Signed-off-by: Topi Pohjolainen
---
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/tests/spec/ext_framebuffer_multisample/clear.cpp
index cb6c2e1a6
Signed-off-by: Topi Pohjolainen
---
tests/all.py | 5 +
.../blit-multiple-render-targets.cpp | 10 +++---
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/tests/all.py b/tests/all.py
index
Signed-off-by: Topi Pohjolainen
---
.../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/tests/spec/ext_framebuffer_multisample
Signed-off-by: Topi Pohjolainen
---
tests/all.py | 10 ++
tests/spec/ext_framebuffer_multisample/sample-coverage.cpp | 14 +-
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/tests/all.py b/tests/all.py
index
Signed-off-by: Topi Pohjolainen
---
tests/all.py | 8 +---
tests/spec/ext_framebuffer_multisample/draw-buffers-common.cpp | 7 ++-
.../int-draw-buffers-alpha-to-coverage.cpp | 10 ++
.../int-draw-buffers
Signed-off-by: Topi Pohjolainen
---
tests/all.py | 13 ++-
.../blit-mismatched-formats.cpp| 27 +++---
.../blit-mismatched-samples.cpp| 16 +++--
.../blit-mismatched-sizes.cpp
Signed-off-by: Topi Pohjolainen
---
.../draw-buffers-common.cpp| 39 --
tests/util/sized-internalformats.h | 8 +
2 files changed, 36 insertions(+), 11 deletions(-)
diff --git a/tests/spec/ext_framebuffer_multisample/draw-buffers
against multiple formats.
Signed-off-by: Topi Pohjolainen
---
tests/all.py| 13 +
.../alpha-to-coverage-dual-src-blend.cpp| 9 ++---
.../alpha-to-coverage-no-draw-buffer-zero-write.cpp | 9
Signed-off-by: Topi Pohjolainen
---
.../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/tests/spec/ext_framebuffer_multisample/upsample.cpp
index
Signed-off-by: Topi Pohjolainen
---
.../multisample-blit.cpp | 32 ++
1 file changed, 21 insertions(+), 11 deletions(-)
diff --git a/tests/spec/ext_framebuffer_multisample/multisample-blit.cpp
b/tests/spec/ext_framebuffer_multisample/multisample
Signed-off-by: Topi Pohjolainen
---
.../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/tests/spec/ext_framebuffer_multisample/unaligned
Signed-off-by: Topi Pohjolainen
---
.../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/tests/spec/ext_framebuffer_multisample/draw-buffers
Signed-off-by: Topi Pohjolainen
---
.../spec/ext_framebuffer_multisample/accuracy.cpp | 29 +-
tests/spec/ext_framebuffer_multisample/common.cpp | 10 +---
tests/spec/ext_framebuffer_multisample/common.h| 6 +++--
.../ext_framebuffer_multisample/turn-on-off.cpp
preparing for source blending with GL_RGBA16F and GL_RGBA32F.
Signed-off-by: Topi Pohjolainen
---
.../draw-buffers-common.cpp | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/tests/spec/ext_framebuffer_multisample/draw-buffers
Signed-off-by: Topi Pohjolainen
---
.../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 +++--
tests/spec/arb_sample_shading
Currently these are run only against GL_RGBA and GL_RGBA8I. All pass
on IVB and SKL with Mesa upstream.
CC: Jason Ekstrand
CC: Anuj Phogat
CC: Kenneth Graunke
Topi Pohjolainen (17):
util/fbo: Provide color format to config constructor
ext_framebuffer_multisample: Clamp UNORM only to [0
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
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
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
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
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
Signed-off-by: Topi Pohjolainen
---
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..52a4252 100644
--- a/tests/texturing
Signed-off-by: Topi Pohjolainen
---
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..8bebbd7 100644
--- a/tests/texturing
Signed-off-by: Topi Pohjolainen
---
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..7a5fdc6 100644
--- a/tests/texturing
. 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
---
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..a0d811f 100644
--- a/tests/texturing
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
---
tests/texturing/texsubimage.c | 1 -
1 file
= 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
---
tests/util/piglit-util-gl.c | 5 +++--
1 file changed
Signed-off-by: Topi Pohjolainen
---
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..b695ce5 100644
--- a/tests/texturing
interfere with the sampler
settings of the former.
Signed-off-by: Topi Pohjolainen
CC: Ian Romanick
---
tests/all.py | 1 +
tests/texturing/getteximage-formats.c | 16 +---
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/tests/all.py b/tests
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:
CC: Eric Anholt
CC: Kenneth Graunke
Signed-off-by: Topi Pohjolainen
---
tests/all.py| 5 +++-
tests/spec/arb_stencil_texturing/draw.c | 49 +++--
2 files changed, 45 insertions(+), 9 deletions(-)
diff --git a/tests/all.py b/tests/all.py
Signed-off-by: Topi Pohjolainen
---
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 100644
--- a/tests/spec/gl-3.2
Signed-off-by: Topi Pohjolainen
---
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 100644
--- a/tests/spec
Signed-off-by: Topi Pohjolainen
---
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 100644
--- a/tests/spec/gl-3.2
The values are the defaults.
Signed-off-by: Topi Pohjolainen
---
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..08e2c83 100644
--- a/tests
Also moves the allocation for the generated pixels to the
generator.
Signed-off-by: Topi Pohjolainen
---
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/blit.c
b/tests/spec/gl
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
---
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
index 144be45..92a341f
ithout altering
these window dimensions based arguments correspondingly.
Signed-off-by: Topi Pohjolainen
---
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/blit.c
b/te
the findings so far.
CC: Paul Berry
Signed-off-by: Topi Pohjolainen
---
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
index 162eee8..144be45 100
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
---
tests/spec
Passes on NVIDIA (304.88 on GTX 660).
v2:
- setup a shader program and vertex buffer object in order
to really test the invalid stream argument (Ian)
- add requirement for arb_gpu_shader5
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1
Passes on NVIDIA (304.88 on GTX 660).
v2:
- dropped unnecessary requirement for 1.50 glsl - test
requires GL version 3.2 already
- use fragment shader in re-drawing also instead of using
deprecated vertex shader alone (gl_FrontColor)
Signed-off-by: Topi Pohjolainen
---
tests
.
- try 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
---
tests/all.tests
insetad of using one larger chunk and managing it
manually
- added the mandatory (max_vertices = 1) into the output layout
declaration
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMa
ing 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
---
tests/all.te
med into 'ext_interleaved_max_streams'
- dropped unnecessary requirement for 1.50 glsl - test
requires GL version 3.2 already
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../ext_interle
s the test already
requires GL 3.2
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../set_varyings_with_invalid_args.c | 118 +
3 files changed, 120
common source file for
other tests to use
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 2 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../ext_interleaved_max_buffers_and_varyings.c | 306 +
tests/spec/
um allowed for success
- added to all.tests
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../query_with_invalid_index.c | 109 +
3 files ch
Passes on NVIDIA (304.88 on GTX 660) and on Ivy Bridge.
v2 (Ian): added to all.tests
Reviewed-by: Ian Romanick
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1
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
Pass on NVIDIA (319.60 on GTX 660).
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../arb_transform_feedback3/set_invalid_varyings.c | 191 +
3 files changed, 193
Non-existing program case crashes on NVIDIA (319.60 on GTX 660)
but exceeding maximum attribute case passes.
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1
Passes on NVIDIA (319.60 on GTX 660).
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../bind_buffer_invalid_index.c| 74 ++
3 files changed, 76
NVIDIA (319.60 on GTX 660) fails by reporting INVALID_OPERATION
instead of INVALID_VALUE.
Signed-off-by: Topi Pohjolainen
---
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../query_with_invalid_index.c | 71 ++
2 files changed, 72 insertions
Passes on NVIDIA (319.60 on GTX 660).
Signed-off-by: Topi Pohjolainen
---
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../end_query_with_name_zero.c | 64 ++
2 files changed, 65 insertions(+)
create mode 100644
tests/spec
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 with
Passes on NVIDIA (319.60 on GTX 660).
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../draw_using_invalid_stream_index.c | 67 ++
3 files changed, 69
ts" output primitive 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
---
...vertex-s
Signed-off-by: Topi Pohjolainen
---
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/tests/shaders
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
---
tests/all.tests| 2 ++
.../primitive-end-with-const-int.geom | 26
ve here I just based on what I 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.
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
Signed-off-by: Topi Pohjolainen
---
tests/util/piglit-framework-gl/piglit_drm_dma_buf.c | 4 ++--
1 file changed
Now able to run with 4.2.0 NVIDIA 304.88.
Signed-off-by: Topi Pohjolainen
---
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/arb_transform_feedback2/draw-auto.c
Signed-off-by: Topi Pohjolainen
---
tests/all.tests| 1 +
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 1 +
.../ext_interleaved_draw_streams.c | 388 +
3 files changed, 390 insertions(+)
create mode 100644
1 - 100 of 184 matches
Mail list logo