URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc0179d1d906c3643493774f476969db4ca7cdd5
Author: Faith Ekstrand <[email protected]>
Date: Sat Jul 15 00:15:12 2023 -0500
nv50/ir: Support vector movs
nir_opt_mov and nir_op_vecN are only the same if the mov is only a
single component. Otherwise the vec loop will try to access src[c]
where c > 0 which breaks for nir_op_mov. It's uncommon but scalar
back-ends can see vector movs so we need to handle this correctly.
Fixes: 6513c675ad31 ("nv50/ir/nir: implement nir_alu_instr handling")
Reviewed-by: Karol Herbst <[email protected]>
Reviewed-by: M Henning <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24167>
(cherry picked from commit 259ba104f79f9f653130865b21bccfab62dd4829)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=747564ab091090a3eaf42186c7b284b940b70e13
Author: Semjon Kravtsenko <[email protected]>
Date: Wed Jun 21 10:50:44 2023 +0300
glx: Assign unique serial number to GLXBadFBConfig error
Fixes: e89e1f5049d ("glx: Fix error handling yet again in
CreateContextAttribs")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9171
Tested-by: yan12125
Co-authored-by: XRevan86
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23762>
(cherry picked from commit 39824457283bf194c2e2773c19708848027121e1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=506a84dc94bee57fe1a4c11f35ee57695aee063f
Author: Timur Kristóf <[email protected]>
Date: Tue Jul 4 14:28:45 2023 +0200
aco: Fix subgroup_id intrinsic on GFX10.3+.
Change this to match how it works in the LLVM backend.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24005>
(cherry picked from commit dc3bbd351a081a90b57a8772ade8d693048f6403)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=671deb11e4a4b937154d772a53ec61833c59cc91
Author: Frank Binns <[email protected]>
Date: Thu Jul 13 13:35:39 2023 +0100
pvr: skip setting up SPM consts buffer when no const shared regs are used
This is a temporary measure until the zeroed shaders are replaced with the
real
ones. This avoids a VK_ERROR_OUT_OF_DEVICE_MEMORY error due to a zero sized
allocation.
Signed-off-by: Frank Binns <[email protected]>
Reviewed-by: Karmjit Mahil <[email protected]>
Fixes: 1dfd5351249 ("pvr: Setup SPM background object")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24139>
(cherry picked from commit b470d931dc2da66a4d6d726891bf2e508025f99d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6cb8b413fa9cd67338aeb597618b8067e94d665
Author: Filip Gawin <[email protected]>
Date: Sun Jul 2 13:40:30 2023 +0200
crocus: Avoid fast-clear with incompatible view
Port of code from iris.
Original author: Nanley Chery
Helps with fast_color_clear@fcc-write-after-clear
Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24135>
(cherry picked from commit 6e87b277bde71e30c98ab9dda7bd2f2017b77ed5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=642308dc18a2a2c6b6a9b84907d87f4c96a0186a
Author: Karol Herbst <[email protected]>
Date: Thu Jun 22 16:43:40 2023 +0200
nvc0: backport fp helper invocation fix to 2nd gen Maxwell+
Ben prefers that we use the firmware method where possible.
Cc: mesa-stable
Signed-off-by: Karol Herbst <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Acked-by: M Henning <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23802>
(cherry picked from commit 2c3b62430024ab00d09e6d9ea448f18a73e129d7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=59a2836117f4e86609535b232c1a8b294f01ce6e
Author: Dave Airlie <[email protected]>
Date: Tue Jul 11 15:09:09 2023 +1000
llvmpipe/linear: don't allow linear path for shader output with location
frac
This has been broken for a while, but we weren't hitting the linear paths
in CI
This fixes:
tests/spec/arb_enhanced_layouts/execution/component-layout/fs-output.shader_test.
Reviewed-by: Mike Blumenkrantz <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24083>
(cherry picked from commit f9c1948a21dbb91594cd9a04ffe74f2d4babeebb)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7880ada0df2f1d670fbea3e2d464434184dc2340
Author: Lionel Landwerlin <[email protected]>
Date: Tue Jul 11 12:36:15 2023 +0300
anv: fix utrace signaling with Xe
utrace submits can either have a batch or not.
When there is a batch, the utrace vk_sync is signaled by the utrace
batch (because utrace does a timestamp buffer copy using its own
batch). When there is no batch, the utrace vk_sync should be signaled
by the application batch (no timestamp copy required, utrace can read
the timestamps when the application batch has completed).
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: fdea48df5e ("anv: Implement Xe version of anv_queue_exec_locked()
and queue_exec_trace()")
Reviewed-by: José Roberto de Souza <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24085>
(cherry picked from commit a85b84ba1e205f665787ea643aa20912bebaca09)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=70e19345a591f463772448d33d065e33d1703388
Author: Feng Jiang <[email protected]>
Date: Mon May 22 14:27:25 2023 +0800
virgl/video: Fix out-of-bounds access in fill_mpeg4_picture_desc()
An out-of-bounds access has occurred to array ref[2] and it needs
to be fixed.
Fixes: 6b5aecb19558 ("virgl: add support for hardware video acceleration")
Signed-off-by: Feng Jiang <[email protected]>
Reviewed-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23160>
(cherry picked from commit 5c2f6d3f8e8bdabf93ceb6e5c34e4fffa865bd41)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7286bc0d4b32f5d707221edd0fc9c660148a54bc
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Jul 6 08:57:29 2023 -0400
zink: fix batch disambiguation on first submit
submit_count is used to disambiguate a batch_id based on the generation
id of a given batch: this value is incremented once on submit and once on
reset such that the diff of the values is > 1 any time the batch does not
represent the fence it was last submitted with
in the case of a batch's first use, however, this value was being
incorrectly
incremented such that the first submit would cause disambiguation checks
to erroneously determine that the batch had already completed, breaking
synchronization
fixes #9313
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24016>
(cherry picked from commit 3c520892b10ca249723f11d3e4858cc41e072e0c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a58e2753f601e77ac925163d6afd3becf3609d13
Author: Feng Jiang <[email protected]>
Date: Wed May 24 15:33:07 2023 +0800
frontends/va: Fix memory leak of decrypt_key
pipe_picture_desc.decrypt_key was alloced in function
handleVAProtectedSliceDataBufferType(), but nowhere to
free it. Now, it will be freed as the vlVaContext is
destroyed.
Fixes: deb7dc82f62 ("frontends/va: handle protected slice data buffer")
Signed-off-by: Feng Jiang <[email protected]>
Reviewed-by: Boyuan Zhang <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23202>
(cherry picked from commit 9790350e9dd9450786c2449c445fff5177bf230b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b517255ec85f4a13d6834415e783ad4501d10132
Author: Friedrich Vock <[email protected]>
Date: Sun Jul 9 21:12:00 2023 +0200
radv/rt: Miss rays that hit the triangle's v edge
The hardware seems to do this as well. Avoids invoking hit shaders twice
at shared edges.
Fixes the fails in watertightness tests on emulated RT.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24063>
(cherry picked from commit e034ba1c44ac662699026bdadfa68af61bb6c1be)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef42db363127972e44295252770ec593613a51c2
Author: Friedrich Vock <[email protected]>
Date: Sun Jul 9 21:09:11 2023 +0200
radv/rt: Enable exact on software intersection functions
These functions need exact output, otherwise watertightness can't be
guaranteed in some cases.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24063>
(cherry picked from commit a096cf784fd18454250c6483574dd487ad5f87f1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca14c2d5bf2b360cecaf7fea4b5d61a0756de802
Author: Patrick Lerda <[email protected]>
Date: Thu Jul 6 13:43:27 2023 +0200
panfrost: fix refcnt imbalance related to blitter
This issue is mainly a consequence of a call to util_blitter_clear()
with unnecessary blitter states, these states are never freed.
This change is inspired from radeonsi and r600.
Note: PAN_SAVE_FRAGMENT_STATE is added and always enabled
at this stage.
For instance, this issue is triggered on Mali-T720 with
"piglit/bin/fcc-read-after-clear sample tex -auto -fbo",
"piglit/bin/cubemap -auto"
and "piglit/bin/fbo-srgb -auto" or on Mali-T820 with "piglit/bin/longprim
-auto -fbo"
and "piglit/bin/ext_render_snorm-render -auto -fbo"
while setting GALLIUM_REFCNT_LOG=refcnt.log.
cc: mesa-stable
Signed-off-by: Patrick Lerda <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22522>
(cherry picked from commit 689f38b2b452a8b8bad5ab9388c7f71ff9074cec)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=512e830f8b887d10d5581a8cab34a0fdc5189133
Author: Billy Laws <[email protected]>
Date: Thu Jun 29 22:59:29 2023 +0100
wgl: Fix depth/stencil image support when using zink kopper
Kopper requires that any depth/stencil images are created through winsys
which
was not taken into account by the WGL frontend causing it to hit an assert:
'Assertion failed: ctx->fb_state.zsbuf->texture->bind &
PIPE_BIND_DISPLAY_TARGET'
fixes #9256
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24055>
(cherry picked from commit d3662ba461e15bbefc5f8887bee58e016f69f281)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9409ec0332ab4553d8ff919ca0983844c06aabf9
Author: Jesse Natalie <[email protected]>
Date: Fri Jul 7 09:00:19 2023 -0700
d3d12: Fix indexing of local_reference_state
Instead of manually indexing a single-dimensional array as 2-dimensional
(and using the wrong stride for the outer array) just actually make it
a 2-dimensional array.
Fixes: 7edae456 ("d3d12: Track up to 16 contexts worth of batch references
locally in bos")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24041>
(cherry picked from commit a6740ee7a4de17ce05fa10c872d6a6f08b39b77c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=28f046d18975f368e533ae063f61e37c600362c5
Author: Gert Wollny <[email protected]>
Date: Sun Jun 25 12:13:23 2023 +0200
r600: Pre-EG - Set wrap texture modes to repeat when seemless cube is used
On Pre-Evergreen hardware we have a flag
"Force Clamp X,Y policy to wrap for CubeMaps"
but it doesn't seem to affect how border clamping is done. With
bf3027 this is set to PIPE_TEX_WRAP_CLAMP_TO_EDGE for cube maps,
and results in the regression reported in #9028.
Forcing repeat mode fixes the issue.
Fixes: bf3027c3916ad5be172c22851e7172671709a9bc
mesa/st: Normalize wrap modes for seamless cubes
Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9028
Signed-off-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23848>
(cherry picked from commit 91fa1970c9978edb6de4da1066f1b213e9bd2868)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f36154ea23ddd9b193356aac0dd399f561f41e0a
Author: Yiwei Zhang <[email protected]>
Date: Tue Jul 4 16:17:47 2023 -0700
venus: fix leaks from tracked present src images
The cmd can be reset and freed during render pass recording as well.
Cc: mesa-stable
Signed-off-by: Yiwei Zhang <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24009>
(cherry picked from commit fe4cf26687cc9a2abd737b0a3fb368a1832cc3b8)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=032ed1f999c052627e8cfd1910c436ed5afaf7b6
Author: Yiwei Zhang <[email protected]>
Date: Tue Jul 4 14:44:49 2023 -0700
venus: fix a cmd tmp storage leak
When the pool is destroyed, cmds are implicitly freed. Cmd level allocs
have to be cleaned up to avoid leak.
Cc: mesa-stable
Signed-off-by: Yiwei Zhang <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24009>
(cherry picked from commit ee3f17ca7909412fc9ce1288324edea3bc2e312a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e887283d70f1ee2b45e1d3ef14f131f67bc2c9ff
Author: Lionel Landwerlin <[email protected]>
Date: Sat Jul 1 23:36:19 2023 +0300
intel/fs: disable coarse pixel shader with interpolater messages at sample
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9292
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23962>
(cherry picked from commit c26c0a36d3468c438261801c87f53e96b93efc64)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=af763b3a58b0eca3e964d6bfd7cb8e65178a9963
Author: Alyssa Rosenzweig <[email protected]>
Date: Thu Jun 22 12:38:16 2023 -0400
nir: Add nir_foreach_function_impl helper
Most users of nir_foreach_function actually want the nir_function_impl, not
the
nir_function, and want to skip empty functions (though some
graphics-specific
passes sometimes fail to do that part). Add a nir_foreach_function_impl
macro
to make that case more ergonomic.
nir_foreach_function_impl(impl, shader) {
...
foo(impl)
}
is equivalent to:
nir_foreach_function(func, shader) {
if (func->impl) {
...
foo(func->impl);
}
}
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23807>
(cherry picked from commit 19daa9283c146a8c50fdc0250e73a0bc366c826b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=55c7e46e8e584b605d1a1abc6121b69bd8db9333
Author: Marek Olšák <[email protected]>
Date: Thu Jun 22 07:15:02 2023 -0400
vbo: correctly restore _VaryingInputs for display list fast path
Fixes: 3a294ff0 - mesa: move the _mesa_set_varying_vp_inputs call to where
the state changes
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9007
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23796>
(cherry picked from commit 7b10877078b1a68791ae807c76bf2de519208723)