Timo Aaltonen pushed to branch upstream-unstable at X Strike Force / lib / mesa


Commits:
1c6f2ef1 by Eric Engestrom at 2023-06-08T16:17:27+02:00
docs/relnotes: add sha256sum for 23.1.2

- - - - -
a15c0c6c by Eric Engestrom at 2023-06-15T22:03:17+01:00
.pick_status.json: Update to 3f48d842960c6d7e3814b75c611c69209098a0b6

- - - - -
be948742 by Gert Wollny at 2023-06-15T22:04:48+01:00
r600/sfn: add read instruction for unused but required LDS op results

DS_XCHG_RET and LDS_CMP_XCHG_RET don't have a version that doesn't 
return
a value in the LDS red queue. so we have to read the value from the queue
and discard it.

Fixes: 79ca456b (r600/sfn: rewrite NIR backend)

Signed-off-by: Gert Wollny <gert.wol...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23518>
(cherry picked from commit 976d6de232aec1874b634b7dda3b2c90d607e13b)

- - - - -
20a8a29f by Gert Wollny at 2023-06-15T22:04:50+01:00
r600/sfn: Don't rewrite TESS_EVAL inner tess level outputs

Fixes: 5cd3e3950 (r600/sfn: Make sure all components are usable when lowering 
TF inputs)

Signed-off-by: Gert Wollny <gert.wol...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23518>
(cherry picked from commit 9ace53f3cc1b6d37ddc09f0231edb6a61b9aa08c)

- - - - -
64b70bd6 by Rhys Perry at 2023-06-15T22:04:51+01:00
aco: mask bits source of s_bfe

The s_bfe instructions use 7 bits, not 5 like the NIR opcode requires.

No fossil-db changes (navi21).

Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
Reviewed-by: Georg Lehmann <dadschoo...@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9162
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23464>
(cherry picked from commit 08064a55424c54a7ccf506d46840811f7234e040)

- - - - -
9ccac714 by Mike Blumenkrantz at 2023-06-15T22:04:52+01:00
zink: check for cached mem correctly when mapping buffer

bo placement is the mem index, not the mem flags

Fixes: 52f27cda05b ("zink: allow direct memory mapping for any 
COHERENT+CACHED buffer")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23511>
(cherry picked from commit 81834a211df96692133e5e74da457ad7003c1bf6)

- - - - -
67ff45c0 by Mike Blumenkrantz at 2023-06-15T22:04:53+01:00
zink: remove assert for dt in zink_kopper_update

this is a valid (harmless) path that can be hit by in some cases

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23511>
(cherry picked from commit 43a6f8b9f8ca09328ec27956ebcd4140a0defba9)

- - - - -
a1a71c08 by Mike Blumenkrantz at 2023-06-15T22:05:51+01:00
zink: stop swizzling conditional render during batch flush

conditional render is only supposed to be enabled during renderpasses,
and this ends up doing mismatched start/stop in and out of renderpasses

affects:
GTF-GL46.gtf30.GL3Tests.conditional_render*

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23511>
(cherry picked from commit 6aa9e95021c79f22ec9557035226563b017e796e)

- - - - -
c2f0fd28 by Marek Olšák at 2023-06-15T22:05:53+01:00
mesa: fix glBitmap in display lists when width <= 0 || height <= 0

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8904
Fixes: bb860f63 - mesa: create glBitmap textures while creating display lists

Reviewed-by: Pierre-Eric Pelloux-Prayer 
<pierre-eric.pelloux-pra...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23335>
(cherry picked from commit bac1c88ea3e1f0966505a3bfb016c6b2e8cbb629)

- - - - -
f4f6d2e7 by Karol Herbst at 2023-06-15T22:07:22+01:00
clc: relax spec constant validation

Multiple values can have multiple spec constants assigned and vtn handles
this just fine. So just drop that assert as we need it to run SyCL
kernels.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9037
Fixes: a699844ffba ("microsoft/clc: Parse SPIR-V specialization consts 
into metadata")
Signed-off-by: Karol Herbst <g...@karolherbst.de>
Acked-by: Jesse Natalie <jenat...@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23512>
(cherry picked from commit 90b8666ff2f73e691ff34ffa87962a0922950b7d)

- - - - -
38d9085b by Rhys Perry at 2023-06-15T22:07:23+01:00
util: fix gc_alloc_size alignment

This was only aligning the gc_block_header. The returned pointer could be
incorrectly aligned.

Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
Reviewed-by: Matt Turner <matts...@gmail.com>
Fixes: 69a9b343e8d ("util: add freelist allocator with mark/sweep")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9166
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23501>
(cherry picked from commit 928f31a24a83524ea696a52690e4479804c2381e)

- - - - -
2bfb8704 by Lucas Stach at 2023-06-15T22:07:25+01:00
etnaviv: rs: flush TS cache before making configuration changes

Move the TS cache flush into the same conditional block where
the TS setup is changed. TS cache always needs to be flushed
before making any changes to the TS setup.

CC: mesa-stable
Signed-off-by: Lucas Stach <l.st...@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmei...@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23530>
(cherry picked from commit cfc1be959026f15db32fe68a4d96568921ec401b)

- - - - -
65bb0868 by Lucas Stach at 2023-06-15T22:07:26+01:00
etnaviv: rs: unconditionally flush color and depth cache before using RS

When the RS uses the pixel pipes it seems to destroy/invalidate any
content sitting in the color and depth caches from a previous draw.
Always flush the color and depth cache before using the RS to make
sure that any cache content written by the PE is properly flushed
to memory.

Fixes spec@!opengl 1.0@gl-1.0-drawpixels-depth-test and probably a
few others that are suffering from corruption of PE writes.

CC: mesa-stable
Signed-off-by: Lucas Stach <l.st...@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmei...@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23530>
(cherry picked from commit b1cd5780d6546d2b0082db11336589b929ec344c)

- - - - -
631fa4a8 by Friedrich Vock at 2023-06-15T22:07:35+01:00
aco: Lower divergent bool phis iteratively

Avoids stack overflows with really large programs.

No fossil-db changes.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8760
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8701

Reviewed-by: Daniel Schürmann <dan...@schuermann.dev>

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23531>
(cherry picked from commit 64fda091de9132b3694af58f2e9a3427d3419a40)

- - - - -
d98d6e0e by Vinson Lee at 2023-06-15T22:07:44+01:00
frontends/va: Fix missing unlock

Fix defect reported by Coverity Scan.

Missing unlock (LOCK)
missing_unlock: Returning without unlocking drv->mutex.

Fixes: af695149e96 ("frontends/va: pass in film_grain_target as new 
output")
Signed-off-by: Vinson Lee <v...@freedesktop.org>
Reviewed-by: Boyuan Zhang <boyuan.zh...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23488>
(cherry picked from commit e1d948b6a247a7c5d05c90a05b47e5675738a417)

- - - - -
8cf5581e by Sviatoslav Peleshko at 2023-06-15T22:08:05+01:00
nir/lower_shader_calls: Fix cursor if broken after nir_cf_extract() call

Fixes: e2dadda3 ("Revert "nir/lower_shader_calls: put inserted 
instructions into a dummy block")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8978
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peles...@globallogic.com>
Reviewed-by: Konstantin Seurer <konstantin.seu...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22884>
(cherry picked from commit 08e95f8f8e9eb3020a564db1bf364289fa1b138c)

- - - - -
880f7388 by Friedrich Vock at 2023-06-15T22:08:07+01:00
radv: Always flush before writing acceleration structure properties

Equivalent of 284e604872 but for acceleration structure queries.
If an app inserts a barrier between AS builds and writing AS properties,
we must respect it or things will blow up.

Cc: mesa-stable
Reviewed-by: Konstantin Seurer <konstantin.seu...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23568>
(cherry picked from commit 4181e144eff4dae4b84821e2a8b195d16ad393d6)

- - - - -
3ea2976e by Lucas Stach at 2023-06-15T22:08:08+01:00
etnaviv: query: reset sample count on begin_query

ARB_occlusion_query specifies that the query is reset on BeginQueryARB,
not when the fetching the result of the query. This behavior also makes
a lot of sense for the perfmon queries.

CC: mesa-stable
Signed-off-by: Lucas Stach <l.st...@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmei...@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23557>
(cherry picked from commit b6a4b988abf57bd00be8a18be4ac610b0da64201)

- - - - -
ddcfd032 by Karol Herbst at 2023-06-15T22:08:17+01:00
rusticl/event: ensure even status is updated in order

There was a race between the worker thread and flush, which could lead to
the last event flushed getting its status set to CL_SUCCESS before any
other event.

Just wait on all flushed events in order to solve this.

The current queue/event implementation isn't the best and we want to
rework it, so this is good enough for now.

Fixes: 47a80d7ff4f ("rusticl/event: proper eventing support")
Signed-off-by: Karol Herbst <g...@karolherbst.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23578>
(cherry picked from commit da4b27452b3cd169298012cc88d5ed19bbaa30b9)

- - - - -
20448890 by Timur Kristóf at 2023-06-15T22:08:26+01:00
aco: Mark exec write used when it writes other registers.

When an exec write isn't used but writes other registers
besides exec, and also reads exec (such as s_and_saveexec),
we would mistakenly delete the previous instruction that
writes the exec value that this instruction uses.

No Fossil DB changes on Rembrandt (GFX10.3).

Fixes: 0211e66f65522caa1f6855b937ae4fc18af0c937
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9036
Signed-off-by: Timur Kristóf <timur.kris...@gmail.com>
Reviewed-by: Georg Lehmann <dadschoo...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23576>
(cherry picked from commit 67a0f2532fdbd7658560238aea5a3e4f6f2850a6)

- - - - -
69df6917 by Friedrich Vock at 2023-06-15T22:08:27+01:00
aco: Reset scratch_rsrc on blocks without predecessors

Fixes hangs with raytracing in Hellblade: Senua's Sacrifice.

Fixes: 3d4f6a00b ('aco/spill: allow for disconnected CFG')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23586>
(cherry picked from commit 7f3cfcc96a13e93aa9667331f9addf9a19165d21)

- - - - -
5571386b by Friedrich Vock at 2023-06-15T22:08:28+01:00
aco: Fix live_var_analysis assert

Fixes: 3d4f6a00b ('aco/spill: allow for disconnected CFG')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23586>
(cherry picked from commit 3ea01b86f0afa293bffeac013de0f475d8c8cd1f)

- - - - -
26a920b1 by Friedrich Vock at 2023-06-15T22:08:30+01:00
aco: Fix assert in insert_exec_mask

This assert would trigger on unconditional demotes, because the demotes
don't remove the mask_type_global flag from the exec mask.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23594>
(cherry picked from commit 9de81344107afe0b08d083145e1db8f362a6fdf7)

- - - - -
6d48542b by Rohan Garg at 2023-06-15T22:09:29+01:00
anv: split ANV_PIPE_RENDER_TARGET_BUFFER_WRITES for finer grained flushing

split ANV_PIPE_RENDER_TARGET_BUFFER_WRITES into separate CS_STALL,
RT_FLUSH & TILE_FLUSH flags in order to have finer control over cache
coherency.

Tigerlake CS has it's own cache fetching directly from the memory 
controller,
so we need to do a tile flush to ensure the query data is visible.

This fixes test_resolve_non_issued_query_data in vkd3d on TGL.

Signed-off-by: Rohan Garg <rohan.g...@intel.com>
Fixes: 3c4c18341aaf ("anv: narrow flushing of the render target to buffer 
writes")
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23500>
(cherry picked from commit d0e0ba897fd5a15bc5283b150a122dee078006c2)

- - - - -
37531fa0 by Patrick Lerda at 2023-06-15T22:10:33+01:00
nouveau: fix nouveau_heap_destroy() memory leak

Indeed, this function was not processing the linked
allocated list.

For instance, this issue is triggered with 
"piglit/bin/hiz-depth-read-fbo-d24-s0 -auto":
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7f6795638987 in calloc (/usr/lib64/libasan.so.6+0xb1987)
    #1 0x7f678bac13b9 in nouveau_heap_alloc 
../src/gallium/drivers/nouveau/nouveau_heap.c:64
    #2 0x7f678bb6c7e4 in nv50_program_upload_code 
../src/gallium/drivers/nouveau/nv50/nv50_program.c:490
    #3 0x7f678bb83b92 in nv50_vertprog_validate 
../src/gallium/drivers/nouveau/nv50/nv50_shader_state.c:161
    #4 0x7f678bba3000 in nv50_state_validate 
../src/gallium/drivers/nouveau/nv50/nv50_state_validate.c:552
    #5 0x7f678bba3c4d in nv50_state_validate_3d 
../src/gallium/drivers/nouveau/nv50/nv50_state_validate.c:575
    #6 0x7f678b9e3e92 in nv50_blit_3d 
../src/gallium/drivers/nouveau/nv50/nv50_surface.c:1444
    #7 0x7f678b9e3e92 in nv50_blit 
../src/gallium/drivers/nouveau/nv50/nv50_surface.c:1832
    #8 0x7f678a0b378a in blit_to_staging 
../src/mesa/state_tracker/st_cb_readpixels.c:337
    #9 0x7f678a0b7358 in st_ReadPixels 
../src/mesa/state_tracker/st_cb_readpixels.c:516
    #10 0x7f6789f82005 in read_pixels ../src/mesa/main/readpix.c:1178
    #11 0x7f6789f82005 in _mesa_ReadnPixelsARB ../src/mesa/main/readpix.c:1195
    #12 0x7f6789f82ac0 in _mesa_ReadPixels ../src/mesa/main/readpix.c:1210
...
SUMMARY: AddressSanitizer: 80 byte(s) leaked in 2 allocation(s).

Fixes: 67635a0a713e ("nouveau: get rid of tabs")
Signed-off-by: Patrick Lerda <patrick9...@free.fr>
Reviewed-by: Karol Herbst <kher...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23592>
(cherry picked from commit 1980934d0d1c9e4d9e6688493483cdfaae21d50a)

- - - - -
9bd71cd6 by Xi Ruoyao at 2023-06-15T22:10:35+01:00
Revert "glx: Remove pointless GLX_INTEL_swap_event paranoia"

This reverts commit 19c57ea3bf6d77cf6f07f2a56e781f55b0e6013b.

This commit is causing a reproducible crash of GNOME shell on Xorg
server.  Revert it for now and we may investigate it further in the
future.

Fixes #8542.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23589>
(cherry picked from commit bbd428401697fe6e1ed0dbbabe952dd27955d388)

- - - - -
006648a4 by Emma Anholt at 2023-06-15T22:10:37+01:00
mesa: Drop dead TGSI serialization prototypes.

Fixes: 7221cc765799 ("mesa/st: Remove now unused TGSI paths from disk 
cache.")

Reviewed-by: Alyssa Rosenzweig <aly...@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23114>
(cherry picked from commit 377048700fc04851fe5102ea394f2311692bab9d)

- - - - -
a570bb33 by Patrick Lerda at 2023-06-15T22:10:46+01:00
r600: fix cayman_convert_border_color() swizzle behavior

This change fixes a buffer overflow by implementing the
special swizzles. This behavior is already available with
evergreen_convert_border_color().

For instance, this issue is triggered on a cayman gpu with
"piglit/bin/texwrap bordercolor -auto -fbo" or 
"piglit/bin/max-samplers -auto -fbo":
==5610==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x603000012d20 
at pc 0x7fb798cb876f bp 0x7ffd78670460 sp 0x7ffd78670458
READ of size 4 at 0x603000012d20 thread T0
    #0 0x7fb798cb876e in cayman_convert_border_color 
../src/gallium/drivers/r600/evergreen_state.c:2444
    #1 0x7fb798cb876e in evergreen_emit_sampler_states 
../src/gallium/drivers/r600/evergreen_state.c:2539
    #2 0x7fb7989e6cb2 in r600_emit_atom 
../src/gallium/drivers/r600/r600_pipe.h:655
    #3 0x7fb7989e6cb2 in r600_draw_vbo 
../src/gallium/drivers/r600/r600_state_common.c:2333
    #4 0x7fb7985082c7 in u_vbuf_draw_vbo 
../src/gallium/auxiliary/util/u_vbuf.c:1497
    #5 0x7fb796ef2eda in cso_draw_vbo 
../src/gallium/auxiliary/cso_cache/cso_context.h:262
    #6 0x7fb796ef2eda in st_draw_gallium_multimode 
../src/mesa/state_tracker/st_draw.c:170
    #7 0x7fb7970d9cfd in vbo_exec_vtx_flush ../src/mesa/vbo/vbo_exec_draw.c:341
    #8 0x7fb7970d32d7 in vbo_exec_FlushVertices_internal 
../src/mesa/vbo/vbo_exec_api.c:693
    #9 0x7fb7970d32d7 in vbo_exec_FlushVertices 
../src/mesa/vbo/vbo_exec_api.c:1193
    #10 0x7fb7975f237c in enable_texture ../src/mesa/main/enable.c:337

Fixes: 923d635357f6 ("r600: fix some border color swizzles on CAYMAN")
Signed-off-by: Patrick Lerda <patrick9...@free.fr>
Reviewed-by: Gert Wollny <gert.wol...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23435>
(cherry picked from commit 42847057334d41225931dd333253afbb1eeace47)

- - - - -
09a04dda by Dylan Baker at 2023-06-15T22:10:48+01:00
meson: Key whether to build batch decoder on expat

Instead of on Android. Which allows an end user to turn off expat
without breaking or disabling Intel support. I've additionally
refactored to separate expat and xmlconfig a bit more in the root
meson.build

This does make expat a hard dependency for building Intel tools, despite
the fact that only aubinator actually requires it. This simplifies the
build for the common case, and in the event that someone wants to build
the Intel tools and doesn't have libexpat, they can fall back to the
meson wrap for expat instead.

fixes: 75276deebcf76f8fafa68f4e4ecb29768d98c764
closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8791

Reviewed-by: Mark Janes <markja...@swizzler.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23605>
(cherry picked from commit ce07aabab124e14a47f13f9fb734d9502cf527b5)

- - - - -
00ecfc86 by Jesse Natalie at 2023-06-15T22:11:42+01:00
nir_opt_constant_folding: Fix nir_deref_path leak

Cc: Mesa-stable
Reviewed-by: Alyssa Rosenzweig <aly...@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23173>
(cherry picked from commit 009d2de88f7f4327b19aaa4d514c805b124db2f6)

- - - - -
22ab43f3 by Jesse Natalie at 2023-06-15T22:11:43+01:00
nir: Fix constant expression for unpack_64_4x16

Cc: Mesa-stable
Reviewed-by: Alyssa Rosenzweig <aly...@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23173>
(cherry picked from commit 663d957480b7752ffb5f90657ac424d1260cf5e9)

- - - - -
8259af09 by Mike Blumenkrantz at 2023-06-15T22:11:44+01:00
zink: only try to create srgb mutable images if the vk format is supported

otherwise this is just a regular single-format image

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23626>
(cherry picked from commit 8f56228ace6923a488abcf4a8dd3b52e5957f9cb)

- - - - -
f259a7b0 by Mike Blumenkrantz at 2023-06-15T22:11:48+01:00
lavapipe: use PACKAGE_VERSION for cache uuid in release builds

MESA_GIT_SHA1 is defined as "", which results in invalid access

fixes #7673

Fixes: b38879f8c5f ("vallium: initial import of the vulkan frontend")

Reviewed-by: Dave Airlie <airl...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20520>
(cherry picked from commit c17d0cc488320a2cc5c67e7db7c07e7869cc0b36)

- - - - -
4c443d21 by Mike Blumenkrantz at 2023-06-15T22:12:41+01:00
zink: massively shrink qbo size for timestamp queries

timestamp queries can only ever record a single value, so
the qbo only needs to be large enough for that single value

fixes #9092

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23631>
(cherry picked from commit d032de726ae0900c17d1d07f5c20fc901ba0c43f)

- - - - -
d6d2f366 by Lionel Landwerlin at 2023-06-15T22:12:42+01:00
anv: disable mesh/task for generated draws

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Fixes: c950fe97a0 ("anv: implement generated (indexed) indirect 
draws")
Reviewed-by: José Roberto de Souza <jose.so...@intel.com>
Reviewed-by: Ivan Briano <ivan.bri...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23074>
(cherry picked from commit 0da39bf8ee1090ad60bb82b067a721abed5ac4ec)

- - - - -
6cfd019a by Lionel Landwerlin at 2023-06-15T22:12:42+01:00
anv: fix incorrect batch for 3DSTATE_CONSTANT_ALL emission

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Fixes: c950fe97a0 ("anv: implement generated (indexed) indirect 
draws")
Reviewed-by: José Roberto de Souza <jose.so...@intel.com>
Reviewed-by: Ivan Briano <ivan.bri...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23074>
(cherry picked from commit d7c28e526b9407b100b8c49f369fa20ae8601429)

- - - - -
17663b71 by Mike Blumenkrantz at 2023-06-15T22:12:43+01:00
lavapipe: add version uuid to shader binary validation

this ensures compatible shader binaries across versions

cc: mesa-stable

Reviewed-by: Dave Airlie <airl...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23636>
(cherry picked from commit 1563aea69f29b34db356300aec903c0f055e4981)

- - - - -
86aba432 by Mike Blumenkrantz at 2023-06-15T22:12:58+01:00
zink: strip format list when disabling mutable during image creation

drivers shouldn't be getting a format list if it won't be used

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23514>
(cherry picked from commit ff1e667e4536cfb9a73b640e7acd141d82fda735)

- - - - -
d1f7f07f by Qiang Yu at 2023-06-15T22:18:52+01:00
ac/nir/ngg: fix ngg_gs_clear_primflags crash

We get current_clear_primflag_idx_var==NULL when stream 0 output
number is known, so output_compile_time_known==true. But we also
need this variable when stream 1~3 output number is unknown or
vertex number is less than a primitive's needs.

Fixes: 60ac5dda82e1 ("ac: Add NIR lowering for NGG GS.")
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
Reviewed-by: Timur Kristóf <timur.kris...@gmail.com>
Signed-off-by: Qiang Yu <yuq...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23614>
(cherry picked from commit c36e0e3f792b1ea69fc11320f4ebba70f0239b4a)

- - - - -
2c81fbf6 by Samuel Pitoiset at 2023-06-15T22:21:26+01:00
radv: fix re-emitting some dynamic states when the previous FS is NULL

If the previous FS is NULL, some dynamic states still need to be
re-emitted.

Doesn't fix anything known.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23494>
(cherry picked from commit 00968f38ca7a7b853235fa73f867c47b7feb6fe0)

- - - - -
be57dc25 by Samuel Pitoiset at 2023-06-15T22:27:56+01:00
radv: reset some dynamic states when the fragment shader stage is unbound

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23494>
(cherry picked from commit 71b6108f672c07be8b8f2c744c12486e6916d1c3)

- - - - -
5b14568d by Rhys Perry at 2023-06-15T22:28:13+01:00
ac: fix PIPE_FORMAT_R11G11B10_FLOAT DST_SEL_W

Previously, the W component would be incorrect for attributes using this
format when loaded in RADV's vertex shader prologs.

Fixes 
dEQP-VK.pipeline.fast_linked_library.vertex_input.*b10g11r11*missing_components*

Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Fixes: 6a2ada93b49 ("ac: add ac_vtx_format_info")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23645>
(cherry picked from commit 4291cc5255741f02eddc2114b7170166658174ce)

- - - - -
de041409 by Nanley Chery at 2023-06-15T22:28:13+01:00
intel/blorp: Avoid 32bpc fast clear sampling issue

For 32bpc formats, the ICL+ sampler fetches the raw clear color dwords
used for rendering instead of the converted pixel dwords typically used
for sampling. The CLEAR_COLOR struct page documents this for 128bpp
formats, but not for 32bpp and 64bpp formats.

In blorp_copy, map R11G11B10_FLOAT to R8G8B8A8_UINT instead of R32_UINT.
This will cause the sampler to fetch the clear color pixel, allowing
drivers to keep clear color support enabled during copies.

If iris is forced to convert blits to copies, this patch fixes the
following test on gfx12:

  dEQP-GLES3.functional.fbo.color.repeated_clear.blit.rbo.r11f_g11f_b10f

At the moment, both iris and anv won't hit this issue outside of
blorp_copy. This is due to the read/write access restrictions they
currently place on texture views that reinterpret the surface format.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8964
Reviewed-by: Jianxun Zhang <jianxun.zh...@intel.com>
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23604>
(cherry picked from commit f0b6b57c77ba4b58229e128f5c7d2d31bebee450)

- - - - -
8e495092 by Nanley Chery at 2023-06-15T22:28:13+01:00
Revert "iris: Add missed tile flush flag"

This reverts commit 0523607ebb108d8c90bbda9c6564b66a0a6250e6.

The issue that commit worked around seems to have been fixed as of
commit 1c8b4940ebf ("iris: Emit flushes for push constant source
buffers"). I could no longer reproduce it from that point onward with
this revert applied.

Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18725>
(cherry picked from commit bb6d300b3a3878109bd07fbee241547ec0009ef7)

- - - - -
9f91082b by Eric Engestrom at 2023-06-20T12:16:51+01:00
.pick_status.json: Update to a2d40c09b72374db5d2dd4115c1ea51b2543f515

- - - - -
5e54b211 by Matt Turner at 2023-06-20T12:17:02+01:00
meson: Remove reference to removed SWR driver

Fixes: e2de00876a7 ("gallium/swr: Remove common code and build 
options")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23679>
(cherry picked from commit ce467c6b33d73fc40a791f2dd49a4c56c4ae8773)

- - - - -
d7839ab2 by Mike Blumenkrantz at 2023-06-20T12:17:48+01:00
lavapipe: more fixes for sample shading

this fixes the case where a draw without sample shading precedes
a draw with sample shading without changes to the sample mask

Fixes: cc9e9580531 ("lavapipe: fix DS3 min sample setting")

Reviewed-by: Roland Scheidegger <srol...@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23663>
(cherry picked from commit cb03191e82d666a222a378b25560761e4885bd23)

- - - - -
f7ac8d19 by Mike Blumenkrantz at 2023-06-20T12:17:49+01:00
lavapipe: correctly update shader object per-stage push constant sizes

Fixes: 8b3022c9180 ("lavapipe: implement EXT_shader_object")

Reviewed-by: Roland Scheidegger <srol...@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23663>
(cherry picked from commit b7f37265ac2006b29949692b568aa3eccb6a3b99)

- - - - -
73c5434c by Tim Pambor at 2023-06-20T12:17:51+01:00
virgl: Fix stack overflow in virgl_bind_sampler_states

Triggered on hosts with more than 32 samplers.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9207
Fixes: 63c4c559 ("virgl: obtain supported number of shader sampler views 
from host")
Signed-off-by: Tim Pambor <t...@osasysteme.de>
Reviewed-by: Gert Wollny <gert.wol...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23678>
(cherry picked from commit 1ad79cb84fc3cd5d2a3a4db532ec976ec4bcf5d1)

- - - - -
f3815488 by Eric Engestrom at 2023-06-20T13:31:09+01:00
.pick_status.json: Mark 5db031bf3ea3e37983f3ab17f2b550e1949d95a9 as denominated

- - - - -
a2a63c53 by Marek Olšák at 2023-06-20T13:31:11+01:00
radeonsi: don't convert L8A8 to R8A8 when blitting via compute to fix gfx7

Fixes: 0482ff31588d5c - radeonsi: don't do image stores with RGBX, L, LA, 
I, and SRGB formats
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8707
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9176

Reviewed-by: Pierre-Eric Pelloux-Prayer 
<pierre-eric.pelloux-pra...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23687>
(cherry picked from commit 9078301ff8f55efcf24025026edc9f82d03385b3)

- - - - -
cf19bd94 by Marek Olšák at 2023-06-20T13:37:59+01:00
radeonsi: fix RB+ and gfx11 issues with framebuffer state

This fixes most gfx11 test failures.

Fixes: 9fecac091f31 - radeonsi/gfx11: scattered register deltas

Reviewed-by: Pierre-Eric Pelloux-Prayer 
<pierre-eric.pelloux-pra...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23687>
(cherry picked from commit d891bd7c3a939bd92814f709af6705fa83fb4d29)

- - - - -
db633a8c by Gert Wollny at 2023-06-20T13:38:01+01:00
r600: Split tex CF only if written component is read

There is no need to split the CF if only the register ID
in a previous write is the same, we should look at the actual
slots instead, ut we have also to take writes of 0 and 1 into
account.

Cc: mesa-stable

Signed-off-by: Gert Wollny <gert.wol...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23710>
(cherry picked from commit 3a569fbf9b6e8eedd8659fc51b9b1378bae9dbf6)

- - - - -
9c599dff by Lionel Landwerlin at 2023-06-20T13:38:03+01:00
anv: avoid private buffer allocations in vkGetDeviceImageMemoryRequirementsKHR

The whole point of vkGetDeviceImageMemoryRequirementsKHR is to avoid
creating an image so we should completely avoid any allocation like
the private binding.

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Fixes: 4075dd16ab ("anv: implement 
vkGetDeviceImageMemoryRequirementsKHR")
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23720>
(cherry picked from commit 0e728ea7b0779e299cec948d7ba06ab591c04992)

- - - - -
8bdf4b2b by Karol Herbst at 2023-06-20T13:38:04+01:00
compiler/types: fix size of padded OpenCL Structs

In C the size of a struct { uin32_t a; uint8_t b; } is 8, not 5, so we have
to account for the biggest alignment across all struct members.

Funny that the OpenCL CTS doesn't catch that.

Fixes: 44d32e62fb8 ("glsl: add cl_size and cl_alignment")
Signed-off-by: Karol Herbst <g...@karolherbst.de>
Reviewed-by: Jesse Natalie <jenat...@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23701>
(cherry picked from commit 4431e5a222a6921ed26885d505d0b51fa391aa42)

- - - - -
c08692ab by Eric Engestrom at 2023-06-21T13:12:51+01:00
.pick_status.json: Update to 48b32124c61f35ef39cee7e32ff7795dd49e0690

- - - - -
4dcacfff by Mike Blumenkrantz at 2023-06-21T13:13:00+01:00
zink: add COHERENT requirement for CACHED memory

zink doesn't handle non-coherent cached memory correctly, so ensure
that scenario is never hit

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23728>
(cherry picked from commit 7a169254c510f51eb3fbf7f5bcd642e23520d492)

- - - - -
144ac599 by Patrick Lerda at 2023-06-21T13:13:01+01:00
util/blitter: fix util_blitter_clear_buffer() refcnt imbalance

Indeed, the vertex state was restored using a specific
condition at the util_blitter_restore_vertex_states()
level. This change ensures that the condition is the
same when the vertex state is saved.

The function util_blitter_clear_buffer() is only called
by the r600 driver on pre-evergreen gpus.

This issue is triggered on a rv770 gpu with "piglit/bin/fbo-1d -auto 
-fbo"
or "piglit/bin/draw_buffers_gles2 -auto -fbo"
while setting GALLIUM_REFCNT_LOG=refcnt.log.

Fixes: 5f566faa4607 ("radeonsi: don't save and restore vertex buffers 
and elements for u_blitter")
Signed-off-by: Patrick Lerda <patrick9...@free.fr>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23721>
(cherry picked from commit 23c003b88c54e00436b4e2684e6227e79538cf5a)

- - - - -
4bebab6c by Dave Airlie at 2023-06-21T13:14:30+01:00
radv/video: drop incorrect defines for uapi ones.

I missed there's an off by one, and found the kernel defined
the correct bits, so just use that.

Fixes: 9477f117f4d4 ("radv/video: add initial frameworking.")
Reviewed-by: Lynne <d...@lynne.ee>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23757>
(cherry picked from commit 146adbd2f49c2e25dc10a0cb388c3872c313d710)

- - - - -
f2fa64de by Eric Engestrom at 2023-06-21T22:01:23+01:00
.pick_status.json: Update to b687cbe36c12081921e03c8633fedea334642105

- - - - -
b94aca6d by Mike Blumenkrantz at 2023-06-21T22:01:23+01:00
zink: fix ubo array sizing in ntv

there are only 2 ubos that can be emitted, except the emitted ubos
can start at an offset based on the first-used ubo, which means this
has to support the full range of ubo indices

fixes oob access in game Beyond All Reason

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23729>
(cherry picked from commit 98031749421ae328d5b38a3931b5b507ee0838b6)

- - - - -
a1acbaea by Mike Blumenkrantz at 2023-06-21T22:01:23+01:00
zink: acquire persistently bound swapchain descriptors before setting usage

if a swapchain image is bound as a sampler across batches then it needs
to be acquired again before it is used

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23729>
(cherry picked from commit 6b204c616223b2742e120218676f9d5575dd4cc0)

- - - - -
7f7ddcb0 by Mike Blumenkrantz at 2023-06-21T22:01:23+01:00
zink: always clamp NUM_QUERIES to 500

this avoids ooming on some weaker GPUs with big query energy

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23729>
(cherry picked from commit 1ca87a300dd0206bf802e30e9c3eebcbc8864361)

- - - - -
ecf45068 by Eric Engestrom at 2023-06-22T17:41:26+01:00
docs: add release notes for 23.1.3

- - - - -
b2d41b3f by Eric Engestrom at 2023-06-22T17:42:08+01:00
VERSION: bump for 23.1.3

- - - - -


0 changed files:



The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/compare/ffdc2d248dc278570b3fbaa6f7cc260aa7c94a64...b2d41b3fcc83c62250ae304ccf6757efd9ed86a3

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/compare/ffdc2d248dc278570b3fbaa6f7cc260aa7c94a64...b2d41b3fcc83c62250ae304ccf6757efd9ed86a3
You're receiving this email because of your account on salsa.debian.org.


Reply via email to