piglit merge requestshttps://gitlab.freedesktop.org/mesa/piglit/-/merge_requests2024-03-28T06:26:49Zhttps://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/896arb_texture_multisample: dsa-texelfetch: use 3.1 entry points2024-03-28T06:26:49ZLucas Stacharb_texture_multisample: dsa-texelfetch: use 3.1 entry pointsCame across [this old MR](https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/607), with a requested change that seemed easy enough to do.Came across [this old MR](https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/607), with a requested change that seemed easy enough to do.https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/892tests: Fix cl test api@clenqueuemigratememobjects crash.2024-03-26T10:49:52ZLurie97tests: Fix cl test api@clenqueuemigratememobjects crash.clEnqueueMigrateMemObjects is async, calling clReleaseMemObject before it completes will cause segment fault.
So add a clfinish function after clEnqueueMigrateMemObjects could fix the issue, no more segment fault.
Signed-off-by: jiajia...clEnqueueMigrateMemObjects is async, calling clReleaseMemObject before it completes will cause segment fault.
So add a clfinish function after clEnqueueMigrateMemObjects could fix the issue, no more segment fault.
Signed-off-by: jiajia Qian <jiajia.qian@nxp.com>https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/891arb_shader_draw_parameters: Fix attribute input type2024-03-21T19:17:36ZGert Wollnyarb_shader_draw_parameters: Fix attribute input typeThe shader uses a signed vector integer type as input, so lets also
specify signed integer vertex array pointer input data. This is also
the data type the given array is actually declared with.
While the OpenGL spec doesn't seem to care...The shader uses a signed vector integer type as input, so lets also
specify signed integer vertex array pointer input data. This is also
the data type the given array is actually declared with.
While the OpenGL spec doesn't seem to care about such discrepancies,
when running the piglits on Zink we actually end up with a validation
error VUID-vkCmdDrawMultiIndexedEXT-Input-08734, because the vertex
data type doesn't match the type specified in the shader.Gert WollnyGert Wollnyhttps://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/883glsl-1.30: Test uint to float conversion of sign extended value2024-02-29T18:07:28ZIan Romanickglsl-1.30: Test uint to float conversion of sign extended valueIntel compiler has a very old optimization for various combination
of u2f or i2f of an extract_* source. However, the variations that
do u2f of an extract_i* are incorrect.
Intel drivers with the known bug will produce blue.
A fix is c...Intel compiler has a very old optimization for various combination
of u2f or i2f of an extract_* source. However, the variations that
do u2f of an extract_i* are incorrect.
Intel drivers with the known bug will produce blue.
A fix is currently in testing.https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/882Draft: ext_texture_format_bgra8888: test GL_BGRA8_EXT as well2024-02-22T13:46:35ZErik Faye-Lundkusmabite@gmail.comDraft: ext_texture_format_bgra8888: test GL_BGRA8_EXT as wellWe're changing the spec for EXT_texture_format_BGRA8888 to also allow
GL_BGRA8_EXT, so let's actually start testing that.
See mesa!27726 for the mesa-side of this.We're changing the spec for EXT_texture_format_BGRA8888 to also allow
GL_BGRA8_EXT, so let's actually start testing that.
See mesa!27726 for the mesa-side of this.https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/878add eglSwapBuffersWithDamageEXT test2024-03-08T23:33:05ZMike Blumenkrantzadd eglSwapBuffersWithDamageEXT testverification for this is a bit broken, and I'm not sure how to reliably fix it since it's doing xserver readback. but visual inspection still makes the test usefulverification for this is a bit broken, and I'm not sure how to reliably fix it since it's doing xserver readback. but visual inspection still makes the test usefulhttps://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/876piglit/util: remove optimization for extension string query2024-02-13T16:03:47ZTapani Pällipiglit/util: remove optimization for extension string query```
When Mesa is compiled with option 'draw-use-llvm=true', this is
causing trouble for egl_khr_fence_sync test that runs multiple subtests
that check for extension support. Valgrind shows invalid read in this
case:
==52394== Invalid r...```
When Mesa is compiled with option 'draw-use-llvm=true', this is
causing trouble for egl_khr_fence_sync test that runs multiple subtests
that check for extension support. Valgrind shows invalid read in this
case:
==52394== Invalid read of size 1
==52394== at 0x484C784: strcmp (vg_replace_strmem.c:940)
==52394== by 0x4B54B89: piglit_is_extension_in_array (piglit-util.c:162)
==52394== by 0x4A6D8A9: piglit_is_extension_supported (piglit-util-gl.c:130)
Destroying the list and allocating it again makes it work.
Closes: https://gitlab.freedesktop.org/mesa/piglit/-/issues/100
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
```https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/865tests/gbm: Add gbm_device_get_fd() test2024-03-19T20:09:29ZDaniel Stonedaniel@fooishbar.orgtests/gbm: Add gbm_device_get_fd() testMake sure that GBM doesn't dup() the FD from under us, as users rely on this being the case.Make sure that GBM doesn't dup() the FD from under us, as users rely on this being the case.https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/864tests: Fix cl test api@clgetkernelinfo fail.2024-03-05T00:28:51ZLurie97tests: Fix cl test api@clgetkernelinfo fail.Compared with the string in the kernel, the string used for comparison has two spaces less.
Modified the tests/cl/api/get-kernel-info.c file to make it consistent with the string in the kernel.
Signed-off-by: jiajia Qian <jiajia.qian@n...Compared with the string in the kernel, the string used for comparison has two spaces less.
Modified the tests/cl/api/get-kernel-info.c file to make it consistent with the string in the kernel.
Signed-off-by: jiajia Qian <jiajia.qian@nxp.com>https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/853tests: Fix cl test Include Directories: error : Error(0,8) : Cannot find the...2024-03-05T00:35:01ZLurie97tests: Fix cl test Include Directories: error : Error(0,8) : Cannot find the...tests: Fix cl test Include Directories: error : Error(0,8) : Cannot find the header file include_test.h.
Modified CMakeLists.txt to install include_test.h file in piglit/tests/cl/program/build/ folder.
Modified the relative path in inc...tests: Fix cl test Include Directories: error : Error(0,8) : Cannot find the header file include_test.h.
Modified CMakeLists.txt to install include_test.h file in piglit/tests/cl/program/build/ folder.
Modified the relative path in include-directories.cl from "tests/cl/program/build" to "../lib/piglit/tests/cl/program/build".
Signed-off-by: jiajia Qian <jiajia.qian@nxp.com>https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/848tests: Add compute shader test that may trigger GPU hang2023-11-02T19:18:39ZGert Wollnytests: Add compute shader test that may trigger GPU hangWith high workgroup counts this test triggers a GPU reset on
AMD (radeonsi).
Run as `bin/arb_compute_shader-workgroup-counts 4096 4096 2048 -auto` or with larger numbers may trigger a GPU reset that crashes the X11 session.With high workgroup counts this test triggers a GPU reset on
AMD (radeonsi).
Run as `bin/arb_compute_shader-workgroup-counts 4096 4096 2048 -auto` or with larger numbers may trigger a GPU reset that crashes the X11 session.Gert WollnyGert Wollnyhttps://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/847arb_texture_buffer_object/texture-buffer-size-clamp: handle large max tbo size2023-11-02T13:48:46ZMike Blumenkrantzarb_texture_buffer_object/texture-buffer-size-clamp: handle large max tbo sizeaccording to the ARB_texture_buffer_object spec, MAX_TEXTURE_BUFFER_SIZE_ARB
can be returned as a double, enabling values larger than INT32_MAX
the test is not written to handle larger values, however, so a bit of
surgery is required to...according to the ARB_texture_buffer_object spec, MAX_TEXTURE_BUFFER_SIZE_ARB
can be returned as a double, enabling values larger than INT32_MAX
the test is not written to handle larger values, however, so a bit of
surgery is required to enable this
core mesa does not allow allocations larger than UINT32_MAX, which requires
further surgery to clamp therehttps://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/842egl_khr_create_context: convert missing ES 2 into warning2023-10-10T12:29:30ZDavid Heidelbergegl_khr_create_context: convert missing ES 2 into warningWhen running inside CI, it's counterproductive to
print errors when we skip tests.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>When running inside CI, it's counterproductive to
print errors when we skip tests.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/840egl: add the test for EGL_EXT_explicit_device2024-03-08T23:38:06ZRobert Fossegl: add the test for EGL_EXT_explicit_deviceAdd tests according to the behavior outlined in
the EXT_explicit_device Version 3 specification.Add tests according to the behavior outlined in
the EXT_explicit_device Version 3 specification.Robert FossRobert Fosshttps://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/813fog-modes: Add a variant using ARB_fp.2023-06-01T23:57:46ZEmma Anholtemma@anholt.netfog-modes: Add a variant using ARB_fp.Turns out we had no coverage of ARB_fp fog functionality, just
compiler tests.Turns out we had no coverage of ARB_fp fog functionality, just
compiler tests.https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/807tests: Fix narrowing errors seen with clang2023-05-04T05:22:42ZKhem Rajtests: Fix narrowing errors seen with clangFixes
piglit-test-pattern.cpp:656:26: error: type 'float' cannot be narrowed to 'int' in initiali
zer list [-Wc++11-narrowing]
Signed-off-by: Khem Raj <raj.khem@gmail.com>Fixes
piglit-test-pattern.cpp:656:26: error: type 'float' cannot be narrowed to 'int' in initiali
zer list [-Wc++11-narrowing]
Signed-off-by: Khem Raj <raj.khem@gmail.com>https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/801shader-runner: Avoid leaking the .shader_test text.2023-05-04T04:46:35ZEmma Anholtemma@anholt.netshader-runner: Avoid leaking the .shader_test text.Sometimes I like to use valgrind on a shader runner test to check for
basic leaks/UB in a driver, and it would be nice if the test itself
didn't leak.Sometimes I like to use valgrind on a shader runner test to check for
basic leaks/UB in a driver, and it would be nice if the test itself
didn't leak.https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/796wayland: Add Wayland dmabuf driver-name test2024-01-22T15:47:23ZDaniel Stonedaniel@fooishbar.orgwayland: Add Wayland dmabuf driver-name testThis test checks to see whether the Wayland compositor advertises the
expected device as its primary device through the dmabuf interface, so
can be used as a basic smoke test for checking that clients are able to
use the right renderer.
...This test checks to see whether the Wayland compositor advertises the
expected device as its primary device through the dmabuf interface, so
can be used as a basic smoke test for checking that clients are able to
use the right renderer.
----
This MR was inspired by mesa/mesa#8778. Unfortunately the only CMake things I could find for running wayland-scanner etc came from KDE, which hard-require CMake 3.16. That was released 4 years ago, which you'd probably expect to be OK but might end up being unacceptable, I'm not sure.https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/782ext_framebuffer_multisample: Specify number of samples in fast clear2023-05-14T22:49:36Zjxzgithubext_framebuffer_multisample: Specify number of samples in fast clearAdd an integer argument for developers to specify number of samples
in fast clear test.
Signed-off-by: Zhang, Jianxun <jianxun.zhang@intel.com>Add an integer argument for developers to specify number of samples
in fast clear test.
Signed-off-by: Zhang, Jianxun <jianxun.zhang@intel.com>https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/780arb_gpu_shader_int64: Test multiplication with powers of two constants2023-03-07T01:54:33ZIan Romanickarb_gpu_shader_int64: Test multiplication with powers of two constantsThis reproduces a bug in an early version of mesa!19042.This reproduces a bug in an early version of mesa!19042.