URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ddf455f13cacd26f19733211dadc2aa3776167e
Author: Erik Faye-Lund <[email protected]>
Date: Fri Jul 22 12:55:37 2022 +0200
zink: fix EXT_color_write_enable check
Checking for the extension isn't enough, we also need to check for the
feature-bit.
Fixes: 49a20e0981c ("zink: start a unified driver workarounds struct")
Reviewed-by: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17709>
(cherry picked from commit 747913377f22b8c55b456612cc586f9eabc14ee4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ee792cb9b303697468a207ebaddc39cc49569c2
Author: Dave Airlie <[email protected]>
Date: Mon Jul 25 10:49:30 2022 +1000
crocus: fix leak in query code.
Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17731>
(cherry picked from commit 878784dbec00d1d5cd4d3d080d72d740e3197df4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=256c0b91f282fc3d79d120e852ea5f0ba1e4dddc
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Jul 18 14:05:40 2022 -0400
zink: avoid crashing when bindless texture updates aren't used
some apps trigger the texture update path far in advance of when the
texture will be used, so don't crash and wait to do the update
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17665>
(cherry picked from commit a2f97bd88a0d050a56a36659f82a28f05a8ee40c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0df74bb3ec4ff7048ceb77aff3e55ae30e365523
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jul 20 15:26:15 2022 -0400
zink: only flag fbfetch as rp update if fbfetch wasn't already configured
otherwise this is probably just a swapchain acquire which needs to update
the descriptor during begin_renderpass
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17665>
(cherry picked from commit c24c5972a82825367ee444dd7cde22d1ed88b3dd)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=46beee7493c5bdbd69949a679765ff76d210381f
Author: Pierre-Eric Pelloux-Prayer <[email protected]>
Date: Thu Jul 7 11:07:03 2022 +0200
radeonsi: check last_dirty_buf_counter and dirty_tex_counter
Check both counters in draw and compute, otherwise compute dispatches may
miss buffers invalidation.
This fixes the test case from
https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/702
(both with and without GALLIUM_THREAD=0).
cc: mesa-stable
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17394>
(cherry picked from commit af7c2ff8425bda1660cf7dd9beffdf813b3bc990)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2560692681858fa9b1d73b53a29dcf403693f6bb
Author: Icecream95 <[email protected]>
Date: Tue Jul 12 21:55:50 2022 +1200
panfrost: Don't unbind recently bound streamout targets
When unbinding extra targets, start after the last new target.
Fixes: 5ff79735601 ("panfrost: Import streamout data structures")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17447>
(cherry picked from commit a0851f1cc4538b36087edb9bfcd0a6d449fb1cb6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=235dd6c04f0a8bdfee4aacdbb6e240ac1f56ad9f
Author: Icecream95 <[email protected]>
Date: Sun Jul 10 20:48:16 2022 +1200
panfrost: Only emit images when they are present
nr_images is the trigger for allocating double the number of buffers
for attributes. When there are no images, there is not always enough
space for ALIGN_POT(k, 2) to not move k out of bounds, so don't
execute the line in that case.
Fixes: dc85f65e059 ("panfrost: emit shader image attribute descriptors")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17447>
(cherry picked from commit fe613a8de95a95a3c44bd47c80316830ab10945e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=76ddaeb32afa627d771fb27182c82f100d979894
Author: Nanley Chery <[email protected]>
Date: Fri Jul 15 13:42:18 2022 -0400
iris: Don't leak compressed resources in iris_create_surface
Before this patch, we were leaking compressed resources in
iris_create_surface.
Specifically, when we failed to create an uncompressed ISL surface and view
for
a compressed resource, we didn't unreference the resource pointer we
referenced
into the pipe_surface.
Fix this by delaying the pipe_surface initialization code to after
attempting
to create the uncompressed surface and view.
Cc: 22.1 <mesa-stable>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17598>
(cherry picked from commit 6c65e990b6e2d640492c4db66adaa5ac48825571)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2760516821fe4761a7d9a98e8dbd4c5b1f3341e
Author: Nanley Chery <[email protected]>
Date: Fri Jul 15 11:51:55 2022 -0400
iris: Don't leak surface states for compressed resources
Before this patch, we were leaking surface states in iris_create_surface.
Specifically, when we failed to create an uncompressed ISL surface and view
for
a compressed resource, we didn't free surface states we allocated for it.
Fix this by attempting to create the uncompressed surface and view before we
allocate the surface states.
Cc: 22.1 <mesa-stable>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17598>
(cherry picked from commit bca601ffe92be0933bb706e4ad320676a0da8477)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8a04c8b6caf86bbbefe369fd7fc05a0119d4fae
Author: Daniel Schürmann <[email protected]>
Date: Tue Jul 5 11:49:29 2022 +0200
radv/rt: fix nir_builder cursor in lower_rt_instructions()
Fixes: 207ce6d658ac6d8f6421a02304b74645ff835e96 ('radv: Add helper to
inline shaders into the main shader.')
Reviewed-by: Konstantin Seurer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17301>
(cherry picked from commit f7c318901d277ff22c23bdc881ee5ca42151be50)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4ce0d7113fa3af4f24caa40b31e1a861f59923a
Author: Timur Kristóf <[email protected]>
Date: Thu May 19 23:13:28 2022 +0200
ac/llvm: Add LLVM bug workaround to ac_build_mbcnt_add.
LLVM always believes that this instruction's upper bound is the wave
size, regardless of ac_set_range_metadata and regardless of whether
the add source is used.
As a workaround, emit an extra add instruction.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17706>
(cherry picked from commit 1e2663b62c241d6389e3f97cb8e104ccdd8d567e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=624c6f94683ccdcc831b717eca98c983d0071f80
Author: Dave Airlie <[email protected]>
Date: Fri Jul 22 13:59:11 2022 +1000
llvmpipe: fix aniso cube map arrays.
There was a coordinate missing when you have cube map arrays,
and aniso sampling.
Reviewed-By: Mike Blumenkrantz <[email protected]>
Fixes: ce2b711c0a5d ("gallivm: add support for anisotropic sampling.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17704>
(cherry picked from commit 21dd30569450b05a98c71b116df03c46f29c4da5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a9ef84f103a0ace6eacb010547a781cefdc713a
Author: Jason Ekstrand <[email protected]>
Date: Wed Jul 20 13:45:45 2022 -0500
vulkan/nir: Don't remove dead XFB outputs
Fixes: 21b405fbbc53 ("vulkan: Add a vk_shader_module_to_nir() helper")
Reviewed-By: Mike Blumenkrantz <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17644>
(cherry picked from commit bd93d6f69373cbc9dc5d32fbde1dd4a119a307c9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b946850b1935b4637e4fdc4c0632bf6bbe4d8b7d
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jul 20 11:44:16 2022 -0400
zink: invoke descriptor_program_deinit for programs on context destroy
this should make multi-context shutdown more stable
affects:
glx@glx-visuals-depth -pixmap
glx@glx-visuals-stencil
cc: mesa-stable
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17658>
(cherry picked from commit 4123ee3c71461d7d045fec519130128a7fc4e643)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc5fcc2da0de7b2c7525c25e029bc0041d711439
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Jul 18 12:18:47 2022 -0400
zink: fix viewport count tracking
the number of viewports in use is based on the outputs of the last vertex
stage, not the viewports passed by the state tracker
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17639>
(cherry picked from commit 268011e8c6aae4a682a8bc39c77d3783b3fb25b1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ef9b9321c2a256a596a2cf901a755c96f8c796e
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Jul 18 12:32:04 2022 -0400
zink: call bind_last_vertex_stage() when binding vs
ensure all the necessary updates are flagged
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17639>
(cherry picked from commit eaf11d3cd919790c7ca702181e5067ec2cef72e7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=54a8bb32b7c783b27878b48a4d8fdf5534d66c0b
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Jul 11 13:06:06 2022 -0400
zink: handle null samplerview in get_imageview_for_binding()
this is legal
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17639>
(cherry picked from commit 19eddeb22631a9a861f2df9731701a8ba315639b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=955729649a88c6e2d5ac5aad186cd639bf359fa4
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Jul 11 12:04:22 2022 -0400
zink: handle max_vertices=0 in geometry shader
this is a weird corner case where glsl permits a zero value, so clamp to 1
and then don't emit any vertices to avoid driver hangs
affects:
dEQP-GL45-ES31.functional.geometry_shading.emit.points_emit_0_end_0
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17639>
(cherry picked from commit 5b58f8df538f9bb7489486d262a6e603ddfa1f65)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5ce737b89533ac48fd7d47e50bccf93148c42e6
Author: Dave Airlie <[email protected]>
Date: Wed Sep 29 09:45:07 2021 +1000
lavapipe: state latest conformance tests passed
Acked-by: Mike Blumenkrantz <[email protected]>
Cc: mesa-stable "22.1"
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17643>
(cherry picked from commit bfebf51571e3f958bf74e9d90cb095e4fced8c06)
Conflicts:
src/gallium/frontends/lavapipe/lvp_device.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0a8da08198e8b3e7b3760400ae2f4c82a9c0922
Author: Dave Airlie <[email protected]>
Date: Tue Jul 19 15:46:14 2022 +1000
crocus: fail query begin if upload allocation fails.
This is the only place I think I can see this crashing.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17615>
(cherry picked from commit e14022c05255edafbb4db7df71379ba2f6964bae)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa900881f6f75486791c99b9e3f05e6e110056d2
Author: SoroushIMG <[email protected]>
Date: Tue Jul 19 14:50:11 2022 +0100
Zink: Fix clear being missed when using emulated draws in zink_blit
zink_kopper_acquire_readback will flush any outstanding clears, this means
that
the current clears need to be applied first before calling
zink_kopper_acquire_readback.
This was already done for native_blit and native_resolve, also do this for
the emulated draw path.
Seen as intermittent failures in cts case
GTF-GL33.gtf21.GL2FixedTests.buffer_clear.buffer_clear.
Cc: mesa-stable
Reviewed-By: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17631>
(cherry picked from commit 2159a377c0f2b5db9af0f6e283b6bb7205eac715)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb9054a85a0ae1844613436e3968a2a89e57e019
Author: SoroushIMG <[email protected]>
Date: Wed Jul 13 11:59:05 2022 +0100
zink: Fix spirv stream 0 vertex emit for multistream shaders
Spirv spec does not allow the use of OpEmitVertex or OpEndPrimitive when
there are multiple streams.
Instead emit the multi-stream version of these with stream set to 0.
This issue was seen when testing cts case
KHR-GL46.transform_feedback.draw_xfb_stream_test
Fixes: 35e346f4280 ("zink: handle vertex streams")
Reviewed-By: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17513>
(cherry picked from commit 3dfd8e4d7dde2dfb749c4d115e7f37e5965d460c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca887b3175ac1da09b04e32c6ab539e271464b10
Author: Rhys Perry <[email protected]>
Date: Wed Jul 13 16:33:04 2022 +0100
radv: fix vbo_bound_mask indexing
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-By: Mike Blumenkrantz <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6812
Fixes: 1b8bdecf6e0 ("radv: add a mask of bound descriptor buffers for
dynamic vertex input")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17521>
(cherry picked from commit 1d019d2ab772ad72f4d3665e60f26de83f5cf29c)
Conflicts:
src/amd/vulkan/radv_cmd_buffer.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b86d21334d8f6db022d8808045e728625029691
Author: Daniel Schürmann <[email protected]>
Date: Thu Jul 7 19:05:43 2022 +0200
aco: fix assertion in insert_exec_mask
The exec mask might also be of type mask_type_loop.
Fixes: d068eb53e84ca1e44ad96c31dab63476880b3c72 ('aco/insert_exec_mask:
optimize top-level transition to exact before demote')
Reviewed-by: Timur Kristóf <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17402>
(cherry picked from commit ac39e7bf23710b4847d582352b20544a62370f25)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e481bb5b85de9c616e37ca0537f264df056612c
Author: Iago Toral Quiroga <[email protected]>
Date: Thu Jul 14 11:08:49 2022 +0200
v3dv: stop tracking push constant buffer references
Since we allocate this ourselves we can immediately add it to the
job at the time we allocate it.
This also fixes a bug we introduced when we implemented inline
uniforms because since that commit, if we had an inline uniform
buffer at index 1 which happend to have indirect access we would
track it in slot 0 instead of slot 1, potentially overwriting
the push constant buffer reference.
Fixes: ea3223e7a46 ('v3dv: implement VK_EXT_inline_uniform_block')
Reviewed-by: Alejandro Piñeiro <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17536>
(cherry picked from commit e451c612df87fc8033d9be64be0c449bd9a17191)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d42978b1ea2810de9a34f7d3b87c2d9e1a4f7a0c
Author: Lionel Landwerlin <[email protected]>
Date: Sat Jul 2 22:29:41 2022 +0300
anv: fix primitive topology dynamic state emission on gfx7
This dynamic state uses the pipeline information so it needs to be
reemitted whenever the pipeline changes.
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17601>
(cherry picked from commit a9abf1dd936eef6373b9e61537c89762ff5d21ee)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1be1029edfbbf0134dfa3b63304fc0ccdd465369
Author: Lionel Landwerlin <[email protected]>
Date: Thu Jul 7 12:24:38 2022 +0300
intel/fs: Set NonPerspectiveBarycentricEnable when the interpolator needs
it.
[anholt: changed to make all drivers do the right thing by moving the
payload barycentric check into the compiler]
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17381>
(cherry picked from commit 2d1f021e16204e28cec374258c1e3497e916ab6b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ab162bf59bc5857161d49d7854fb250747bdf31
Author: Dave Airlie <[email protected]>
Date: Thu Jul 14 10:34:04 2022 +1000
kms/dri: add mutex lock around map/unmap
this can get called from multiple threads with the recent llvmpipe
overlapping rendering changes, so make sure to lock around the
map/unmapping so they can't race.
This should fixes some crashes seen with kwin.
Reviewed-by: Mike Blumenkrantz <[email protected]>
Tested-by: Adam Williamson (Fedora)
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17531>
(cherry picked from commit 50e3303b3d0484ffdc1acbc03bae8655231b19de)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b4e99e9298c4462798f75a1f6cf838d0c3bff94
Author: Qiang Yu <[email protected]>
Date: Tue Jun 28 16:18:21 2022 +0800
ac/nir/ngg: add a barrier before prim id export
When culling enabled, it will use LDS space, which overlap with
the prim id export.
Fixes: e97f0463a8f ("ac/nir: Implement NGG deferred attribute culling in
NIR.")
Reviewed-by: Timur Kristóf <[email protected]>
Signed-off-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17593>
(cherry picked from commit eeaf0b1888810042d335f609695bceaa2368b42f)
Conflicts:
src/amd/common/ac_nir_lower_ngg.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9c354cd141ab52d6b08dda701797eeb7640ed3c
Author: Qiang Yu <[email protected]>
Date: Thu Jul 7 19:40:48 2022 +0800
ac/nir/ngg: fix nogs culling scratch size
Should be in bytes not dwords.
Fixes: e97f0463a8f ("ac/nir: Implement NGG deferred attribute culling in
NIR.")
Reviewed-by: Timur Kristóf <[email protected]>
Signed-off-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17593>
(cherry picked from commit 0b7ef846b3ddfe6e7964d95332cba79e69c8163a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a4b59e1d2d1a2bd9671b6e28854a35017ba20d8
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jul 13 21:52:48 2022 -0400
zink: use right glsl length getter for ntv partial stores
why does glsl_get_length exist if it returns 0 for the most common cases?
Fixes: 31ba19ff681 ("zink: fix ntv partial stores")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17404>
(cherry picked from commit c189b7f585ba42c12be9ab2dcb737db838219af4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1aa9acc68b32da033f672a506379d05a87107c76
Author: Bas Nieuwenhuizen <[email protected]>
Date: Sun Jan 30 01:54:12 2022 +0100
radv: Skip setting empty index buffers to avoid hang
In the direct path we already skipped draws, but in DGC I noticed
that just emitting these packets can cause issues ...
Cc: mesa-stable
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17269>
(cherry picked from commit 82c2e99102343f1538ae2ccdb15a0747d9510ca3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=df24a47e1add74751d0f2938b48865f7ba4c9606
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Jul 5 13:07:01 2022 -0400
zink: always use 32bit sample ops
while some (tg4) sample ops can use different bit sizes in spirv, most
cannot, and all the shader variables are always emitted as 32bit, so
ensure the 32bit type is always what's being used for sampling
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17427>
(cherry picked from commit 49d5fa12f21eda556eb8e7cb99748ef53e7cc492)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f7b5c52de07126e3763ed384da458e3f239023e
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Jul 5 13:05:43 2022 -0400
zink: allow multiple tex components for depth tg4
this returns a vec4, so don't break the return type by clamping 1 component
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17427>
(cherry picked from commit 35a4b8989fbd7314a5def5eecb634961cf016a29)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=595de716556c6f4f253226f03679cfba1d5d43a8
Author: Lionel Landwerlin <[email protected]>
Date: Wed Jul 13 03:35:06 2022 +0300
anv: ensure tile flush before streamout writes
Streamout is not L3 coherent so previous writes to the same address
might be pending and overwrite the SO writes later when they get
flushed from L3, even though the SO write happened later in the batch.
v2: Use the right flag (not COUNTER)
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6680
Reviewed-by: Tapani Pälli <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17503>
(cherry picked from commit 2cac3b38172980ea51ba0ea2bbb6350d057972b0)
Conflicts:
src/gallium/drivers/zink/ci/zink-anv-tgl-fails.txt
deleted ci file not present in 22.1
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=79ddf69224ca6c8978c173697efd7db048c5e6dc
Author: Lionel Landwerlin <[email protected]>
Date: Fri Jul 8 14:38:35 2022 +0300
spirv: switch to uint64 for rayquery internal type
Fixes dEQP-VK.ray_query.advanced.using_wrapper_function.comp.*
An empty struct is causing problems because when passing it as
argument the spirv parser will just drop the argument, considering it
does not hold any data.
v2: update radv CI
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 4c703686dba5 ("spirv: handle ray query intrinsics")
Reviewed-by: Konstantin Seurer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17420>
(cherry picked from commit a41e8dc58876c7bf33b73576019f966b908ac080)
Conflicts:
src/amd/ci/radv-navi21-aco-fails.txt
src/amd/ci/radv-navi22-aco-fails.txt
src/amd/ci/radv-vangogh-aco-fails.txt
navi tests are removed as they don't exist in 22.1
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=47315c07b97beb2c26284480d560e8195eb9247a
Author: Dylan Baker <[email protected]>
Date: Wed Jul 27 13:18:31 2022 -0700
.pick_status.json: Update to 9b844d7c42129925525d613c19622b11aee16298
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=94924e98daebf00e77f08695ce06386fffd959f5
Author: Lionel Landwerlin <[email protected]>
Date: Wed Jul 6 17:48:27 2022 +0300
anv: deal with isl format swizzles for buffer views
For some formats like VK_FORMAT_B5G6R5_UNORM_PACK16, we have no direct
matching HW format. We can support it by swizzling.
We already apply those swizzles for image views. We just forgot to
deal with buffer views.
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6235
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17385>
(cherry picked from commit 57a8efa22218cc9c2dec0473762de288e4fd239d)
Conflicts:
src/intel/vulkan/anv_image.c
stable:
- replace vk_buffer_range with anv_get_buffer_range, as the shared
vulkan buffer work isn't in 22.1
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a84f27ea3ef02a1c159d8b584cab1aab5b19b0c8
Author: Lionel Landwerlin <[email protected]>
Date: Fri Jul 1 10:44:48 2022 +0300
anv: track if images can be fast clear with non-zero color
Because clear colors are stored as 4 32bit component values, there is
an issue if you try to format instance :
- clearing in R16G16_UNORM
- draw in R32_UINT
Clear will use 2 components of the clear color in dword0 & dword1.
While draw will use only one component of dword0.
This change uses the mutable format information to track whether clear
colors can be non-zero for fast clears.
With :
- non mutable formats, we can fast clear with any color on Gfx > 8
- mutable formats with incompatible component sizes, we can only
fast clear with 0 color
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5930
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17329>
(cherry picked from commit 682383e5b3328d4a7418ce802d2226c87bbda966)
Conflicts:
src/intel/vulkan/anv_image.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c18efea5050b8d473abd696e6476a52ada9e193
Author: Brian Paul <[email protected]>
Date: Tue Jun 14 13:41:21 2022 -0600
llvmpipe: don't allow texture/resource swizzles on linear path
This fixes another VMware test (dx9-stretch-formats-copy-a8r8g8b8-x8r8g8b8).
Signed-off-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>
(cherry picked from commit dfb2ea35315f0d070d3307af8e2474049354a685)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb59b58ee0af80f6b68a1c91efd1150162e99258
Author: Brian Paul <[email protected]>
Date: Thu Jun 9 17:48:43 2022 -0600
lavapipe: fix logicop, independent blend enable/disable
The logicop_enable and independent_blend_enable vars need to always
be assigned, otherwise, once turned on, they could never be disabled.
This fixes a number of failures in VMware's test suite.
Signed-off-by: Brian Paul <[email protected]>
Reviewed-By: Mike Blumenkrantz <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>
(cherry picked from commit 2b14a7658a4c798564d5269541b833975ad9d950)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=afd5c7e27ca279141141603b03f57a86157eecd9
Author: Brian Paul <[email protected]>
Date: Wed Jun 8 13:10:57 2022 -0600
gallivm: increase LP_MAX_TGSI_SHADER_IMAGES from 16 to 32
This allows a VMware test to pass. The comments in lp_bld_limits.h
mention SM 3.0 requirements, but we're in the SM 5.0 era...
Signed-off-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>
(cherry picked from commit 98593360c455a1792ffbc95dac6a43a7bf91c7cc)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=efd1e177d903c033db55c253746083b77c7fffd8
Author: Brian Paul <[email protected]>
Date: Thu Jun 2 12:39:13 2022 -0600
llvmpipe: add missing tex_info->texture_unit assignment
The texture_unit field needs to be set like the sampler_unit field.
Also, add a swizzle initialization and some comments.
Signed-off-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>
(cherry picked from commit 3743f74d3061e2dd95306aa36c35b99367c3c059)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d7fe94c6a8a30e26d05dd06ca7b6e4e0a337374
Author: Brian Paul <[email protected]>
Date: Wed May 25 10:21:21 2022 -0600
util/bitset: add BITSET_SIZE()
To get the size (in bits) of a bitset.
And minor clean-up in __bitset_ffs().
Signed-off-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>
(cherry picked from commit 8bd6feaca5ac15e3375b5631f68013a5a9b336aa)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f601b6a54e957e136ada5348d468b5b513528b3
Author: Jesse Natalie <[email protected]>
Date: Fri Jul 8 12:29:41 2022 -0700
u_atomic: Fix MSVC p_atomic_add_return
InterlockedExchangeAdd returns the *old* value, not the new one
Cc: mesa-stable
Reviewed-by: Yonggang Luo <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17529>
(cherry picked from commit 81bbfab5dfa33bf251ed519dde30128f39e7a3f9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbe9489987773573b2fad0227609a4eca86dab6b
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Jul 5 13:45:37 2022 -0400
lavapipe: support inlined shader spirv for compute
no testing, full send
Fixes: d4d5a7abba7 ("lavapipe: implement EXT_graphics_pipeline_library")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17365>
(cherry picked from commit 05552b46889a8bc8838af7e08c47781135d30fc1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f78f52a4a2a16a5437dd6807fde605c5dc0c060
Author: Alyssa Rosenzweig <[email protected]>
Date: Fri Jun 10 15:28:35 2022 -0400
panfrost: Add decoupled early-ZS helpers
Bifrost (and Valhall) separate early-ZS configuration into two fields: when
does
the depth/stencil buffer update happen? and when are pixels killed by the
depth/stencil tests? The driver separately configures these to occur early
(before the shader executes) or late (after the ATEST instruction executes
at
the end of the shader). Early tests are generally more efficient, but
various
combinations of API state and fragment shader properties can require late
updates and/or late kills for correctness. Determining how to configure
these
fields is nontrivial.
Our current implementation (on Bifrost) configures these fields at fragment
shader compile time and bakes the settings into the RSD. This is both wrong
(using early testing when late testing is required) and suboptimal (using
late
testing when early testing would suffice). We need to defer this
configuration
until draw time, when we know rasterizer and Z/S state.
Reclassifying at draw time (as we currently do on Valhall) would be
expensive,
especially with the extra terms added in here. To cope, decouple the shader
classification from the draw-time configuration. Since there are only a few
bits
of draw state involved, this implementation just calculates all possible
states.
Then the draw time classification is just indexing into a lookup table.
The actual algorithm used to classify is written with correctness and
clarity in
mind. Unlike the current classification algorithm (which tries to match
what the
DDK does, poorly), this algorithm embeds its proofs of correctness.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17428>
(cherry picked from commit e96292bc072b61c4ab33e654437773909177ab6d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ead256891cec7a301d2fd415405a7f9106b1f46
Author: Alyssa Rosenzweig <[email protected]>
Date: Mon Jun 20 13:23:14 2022 -0400
pan/bi: Require ATEST coverage mask input in R60
In theory, ATEST can take any combination of registers for inputs.
Experimentally, however, ATEST requires the coverage mask in R60. This
avoids
regressing the following dEQP tests, which write their coverage mask with
pixel-frequency-shading but without writing to the depth/stencil buffer.
dEQP-GLES31.functional.shaders.sample_variables.sample_mask.discard_half_per_pixel.*
This issue is known to affect both Mali-G52 (v7) and Mali-G57 (v9). I am
unsure
if this is a silicon bug or just an obscure implementation detail.
No shader-db changes.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17428>
(cherry picked from commit db2bdc1dc37abc515a63ce174c6d201b23faa2e2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e7de0bfaa65bab0217bb2ebec4010508365f1e4
Author: newbluemoon <[email protected]>
Date: Mon Jul 11 21:21:35 2022 +0200
nine: replace ulimit with sysconf call
__UL_GETOPENMAX seems to be glibc specific and not portable.
In glibc’s sysdeps/posix/ulimit.c it is assigned the return
value of sysconf(_SC_OPEN_MAX). So use the latter in the first place.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5176
CC: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17471>
(cherry picked from commit 6a4fc6f6ca78ef0d2a546f9c1156ac14e9ac9691)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d8ef8b21bb293aa9a476b8ea3cfe3225fa13332
Author: Chuansheng Liu <[email protected]>
Date: Fri Jun 24 10:19:03 2022 +0800
iris,anv: correct the max thread number for DG2+
Correct the max thread number for DG2+ platforms according
to below bspec.
Ref: Bspec: 47202
Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Chuansheng Liu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17506>
(cherry picked from commit 39f8c61f32594c058acf0148b62fb444ea81a043)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a15b4f3bdaa24bedaec3f148552669ee9250b060
Author: Lionel Landwerlin <[email protected]>
Date: Tue Jul 12 11:20:10 2022 +0300
intel: protect against empty invalidate ranges
It's legal for an application to call vkInvalidateMappedMemoryRanges()
/ vkFlushMappedMemoryRanges() with zero sized ranges.
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: b91971c240d3 ("anv: use the right helper to invalidate memory")
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6852
Reviewed-by: Marcin Ślusarz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17481>
(cherry picked from commit 1aeb11cde1bc610cb23343ab507b1bf3b197b1b4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0c5c8fc6ea4a009a8a25b18dad8a52727637ab0
Author: Dylan Baker <[email protected]>
Date: Tue Jul 26 14:54:38 2022 -0700
.pick_status.json: Update to 4cfa777e393705b40cebd0a4cd76aa827ce8b194