-
9a7ee8fb
by Nanley Chery at 2023-08-09T18:32:29+00:00
nv_copy_image-simple: Use red instead of green
This demonstrates an issue with the iris driver. It does not account for
the automatic fast clearing behavior seen on TGL when copy operations
are performed.
Copying red onto dark red is enough to engage the automatic clearing
behavior because hardware is reinterpreting the floating point clear
values to the format chosen by BLORP (UINT), then seemingly clamping to
the 8bit-per-channel maximum of 255. So, the source value of 1.0 becomes
255 and the destination clear value of 0.5 becomes 255. Because the
pixels written match the destination clear value and the area is large
enough, some (if not all) get converted to fast cleared blocks.
Ref: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3732
Acked-by: Emma Anholt <emma@anholt.net>
Acked-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/808>
-
3c0355f9
by Mike Blumenkrantz at 2023-08-11T13:03:36+00:00
ext_transform_feedback/api-errors: stop xfb before shutdown
this otherwise triggers api errors that prevent resources from being
freed
Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/825>
-
11f10b26
by Italo Nicola at 2023-08-12T11:44:14+00:00
EGL_EXT_image_dma_buf_import: add NV21 format support
Signed-off-by: Italo Nicola <italonicola@collabora.com>
Acked-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/767>
-
70b023c3
by Italo Nicola at 2023-08-12T11:44:14+00:00
EGL_EXT_image_dma_buf_import: add YVYU format support
Signed-off-by: Italo Nicola <italonicola@collabora.com>
Acked-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/767>
-
480bcc28
by Italo Nicola at 2023-08-12T11:44:14+00:00
EGL_EXT_image_dma_buf_import: add VYUY format support
Signed-off-by: Italo Nicola <italonicola@collabora.com>
Acked-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/767>
-
e8a1230c
by Timothy Arceri at 2023-08-17T09:49:47+10:00
amd_gpu_shader_half_float: fix modf tests
i is an out parameter so we must pass an lvalue here.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/832>
-
230253be
by Tapani Pälli at 2023-08-17T09:57:02+03:00
ext_external_objects: cleanup, remove some global parameters
These were already set piglit_width, piglit_height, 1 everywhere,
just use those instead.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/830>
-
e8eb4129
by Tapani Pälli at 2023-08-17T10:25:47+03:00
ext_external_objects: simplification for check_bound_fbo_status
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/833>
-
1334e618
by Vinson Lee at 2023-08-27T00:02:51+02:00
cmake: Add Python 3.12 to supported versions
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/834>
-
e18bb447
by David Heidelberg at 2023-09-01T00:54:25+02:00
ci: test with Python 3.11
Reviewed-by: Eric Engestrom <eric@igalia.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/834>
-
5594f9e0
by Gert Wollny at 2023-09-05T16:35:30+00:00
shaders@glsl-max-varyings: reduce size of pixels
With a pixel size of 2x2 size the drawing area is 1026x1026, added
to that window decorations, and possible offsets from the desktop
environment the window might not fit on the screen so that the desktop
manager might scale the window to fit the screen. Running the piglit
without the -fbo flag will then lead to reading back the output from
the wrong location.
Reduce the size of the pixels to 1x1 and drop the padding so that we end
up with a drawing area of 256x256, which is more likely to fit on the screen.
v2: Drop the padding (Emma)
v3: use one glReadPixels (Emma)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/771>
-
f7db20b0
by Emma Anholt at 2023-09-05T16:50:37+00:00
arb_blend_func_extended: Don't print expected compile fails to stderr.
Cleans up deqp-runner output.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/828>
-
ac2e98d8
by Tapani Pälli at 2023-09-07T16:52:12+03:00
ext_render_snorm-render: test some negative values also
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/835>
-
3d86bae1
by Tapani Pälli at 2023-09-12T06:03:48+00:00
shader_runner: support setting GL_CLIP_DISTANCE enums
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/837>
-
62ef1034
by Mike Blumenkrantz at 2023-09-13T15:11:55-04:00
delete invalid gl_Layer/gl_Viewport tests
the language implying that out-of-range values written to these builtins
should be readable was erroneous, and verifying this behavior is illegal
since out-of-range writes are undefined
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/839>
-
223b1608
by Mike Blumenkrantz at 2023-09-14T11:19:22+00:00
shader_runner: allow -1 to indicate a null fb attachment
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/838>
-
71c21b11
by Mike Blumenkrantz at 2023-09-14T11:19:22+00:00
add a test to verify that null attachments don't clamp fb size
targets mesa/mesa#9119
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/838>
-
e7322f51
by Lucas Fryzek at 2023-09-20T02:52:25+00:00
readme: Update vkrunner link
vkrunner repo was moved from github to the freedesktop gitlab. Update
the link in the readme to reflect this change.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/836>
-
c961db3a
by Patrick Lerda at 2023-09-27T17:12:59+00:00
rendermode-feedback: fix stack-use-after-scope
==6305==ERROR: AddressSanitizer: stack-use-after-scope on address 0x007fed55c400 at pc 0x007f9bfa2108 bp 0x007fed55c0e0 sp 0x007fed55c0f8
READ of size 8 at 0x007fed55c400 thread T0
#0 0x7f9bfa2104 in piglit_run_selected_subtests piglit/tests/util/piglit-util.c:782
#1 0x40235c in piglit_display piglit/tests/spec/gl-1.0/rendermode-feedback.c:189
#2 0x7f9c533fc4 in run_test piglit/tests/util/piglit-framework-gl/piglit_fbo_framework.c:52
#3 0x401c70 in main piglit/tests/spec/gl-1.0/rendermode-feedback.c:118
[192, 384) 'tests' (line 104) <== Memory access at offset 192 is inside this variable
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/768>
-
65e8b440
by Danylo Piliaiev at 2023-09-27T17:30:46+00:00
arb_copy_image: test copying of different mipmap levels of a texture
Tests that glCopyImageSubData correctly copies all levels of a texture.
Also tests that the order in which levels are initialized doesn't affect
the copying (some drivers, e.g. gallium drivers, may be sensitive to the
initialization order).
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/313>
-
19582eaf
by Yevhenii Kharchenko at 2023-09-27T17:30:46+00:00
arb_copy_image: test copying of different mipmap levels of a texture
Added optional argument 'add-illegal-levels'
to the test 'arb_copy_image-levels-copy'.
When ran with this argument, we generate 2 more mipmap levels than allowed
by texture size. Which can possibly corrupt data of existing layers.
We don't check the data correctness of illegal levels, since
spec doesn't say what should be in them.
Example of failure we want to catch:
Initialize 2d texture with glTexImage2D in the following way:
level=0, width = 8, height = 8, data = ""
level=1, width = 4, height = 4, data = ""
level=2, width = 2, height = 2, data = ""
level=3, width = 1, height = 1, data = ""
level=4, width = 1, height = 1, data = "" <-------
Initializing level 4 in this example leads to corruption of
previous levels 1-3 in Mesa's gallium drivers.
Signed-off-by: Yevhenii Kharchenko <yevhenii.kharchenko@globallogic.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/313>
-
e31ac395
by Emma Anholt at 2023-09-28T20:25:14+00:00
piglit: Make a general helper for required glGetIntegerv values.
My previous one for draw buffers was checking a fixed value of 2.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/841>
-
ed1c9000
by Emma Anholt at 2023-09-28T20:25:14+00:00
fbo-mrt-alphatest: Actually require MRTs to be available.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/841>
-
23311019
by Emma Anholt at 2023-09-28T20:25:14+00:00
Use piglit_require_minimum_getinteger(GL_MAX_DRAW_BUFFERS) more.
Cleans up a stderr printf for one skip case.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/841>
-
d6b341f7
by Emma Anholt at 2023-09-28T20:25:14+00:00
arb_shader_texture_lod: Fix incorrect require directive for the ext.
Fixes spurious fails when unsupported.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/841>
-
0a9e0053
by Emma Anholt at 2023-09-28T20:25:14+00:00
GL_ARB_arrays_of_arrays: Fix a missing extension requirement.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/841>
-
ed82e505
by Emma Anholt at 2023-09-28T20:25:14+00:00
arb_separate_shader_objects/atomic-counter: Add missing GLSL requirement.
Fixes spurious fail on v3d.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/841>
-
411510b9
by Emma Anholt at 2023-09-28T20:25:14+00:00
ext_image_dma_buf_import-export-tex: Print normal info to stdout, not stderr.
Cleans up deqp-runner logs.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/841>
-
24207f5b
by Chia-I Wu at 2023-10-02T15:27:32-07:00
ext_image_dma_buf_import: add a multithread refcount test
Inspired by
virgl: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9701
radeonsi: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24526
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/831>
-
7c7cba5a
by Jordan Justen at 2023-10-06T09:09:25+00:00
Merge remote-tracking branch 'origin/main' into debian-unstable
-
daf4c2d1
by Jordan Justen at 2023-10-06T09:09:31+00:00
d/changelog: Start 0~git20231002-24207f5be-1 release changelog
Signed-off-by: Jordan Justen <jljusten@debian.org>
-
15ef2007
by Jordan Justen at 2023-10-06T02:13:17-07:00
debian/update-git-release.sh: Get changelog user/email from git
Signed-off-by: Jordan Justen <jljusten@debian.org>
-
54a6fed3
by Jordan Justen at 2023-10-06T11:15:27-07:00
d/changelog: Release 0~git20231002-24207f5be-1 to unstable
Signed-off-by: Jordan Justen <jljusten@debian.org>