URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c79e5de60ee9e8ec0c40e8af0f4ea402cad8d0d3
Author: Lionel Landwerlin <[email protected]>
Date: Tue Apr 19 15:05:04 2022 +0300
nir/cf: return cursor after insertion of cf_list
This will be useful to cut code from one location and paste it at
another place and later keep pasting after the previous insertions.
v2: update comment (Jason)
deal with stiching 2 empty blocks (Jason)
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit d65cf403f30e7b6d0d67f94c095687ae1724ff68)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0b3a8429e3471b74a2092003bd38500028513a7
Author: Jason Ekstrand <[email protected]>
Date: Tue Apr 26 08:53:31 2022 -0500
nir/cf: Return a cursor from nir_cf_extract as well
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit 25661ea028b4d904693b165cd43bb42a6d2d99a2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ed663664d7d0b467f4e921c81a05f7b43da309d
Author: Dylan Baker <[email protected]>
Date: Tue May 10 20:09:11 2022 -0700
.pick_status.json: Mark 8c1d9c7b744b2e5b40fd42cfd51256b16deea6a8 as
denominated
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0517007304127d9bbebc5841a8aaf81b38ea16d0
Author: Benjamin Cheng <[email protected]>
Date: Mon Apr 4 00:35:19 2022 -0400
radv: fix memory leak of descriptor set layout
We need to be able to track the descriptor sets explicity to unref the
descriptor sets, otherwise these descriptor sets will not unref the
descriptor set layout it holds.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6222
Fixes: 66f7289d568
("radv: add reference counting for descriptor set layouts")
Tested-by: Jakob Bornecrantz <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15741>
(cherry picked from commit 96a240e176701f9b305c4bd273da9a8aee78e280)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ca15086b2a3942dd4bde2cdf25e9137bf125e6c
Author: Iván Briano <[email protected]>
Date: Mon May 9 18:30:20 2022 -0700
anv: re-alloc push constants after secondary command buffers
If the secondary command buffer executed used push constants on a
different set of stages than the primary is using, we may end up not
reallocating them for the primary, getting misrender artifacts at best,
or a nice GPU hang at worst.
Fixes the tests from a CTS from the future:
dEQP-VK.dynamic_rendering.random.*
Cc: mesa-stable
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16439>
(cherry picked from commit 2e46f38902b9409f06f6b3fad6c0666031935794)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=699375588f247000a8cfd2879f6adcc0cbc2c98c
Author: Mike Blumenkrantz <[email protected]>
Date: Sat Apr 23 11:40:48 2022 -0400
gallivm: fix oob txf swizzling
this wasn't taking into account the format swizzle, returning broken
alpha values in most cases
Fixes: 0b6554ba6f2 ("gallivm,llvmpipe: handle TXF (texelFetch) instruction,
including offsets")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
(cherry picked from commit f5caaf2d750184deee2b991a7f2e2cded9980a94)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f7663a27f17339ac955967267472f470693c7ac
Author: Mike Blumenkrantz <[email protected]>
Date: Sat Apr 23 09:39:06 2022 -0400
llvmpipe: always set ssbo data pointers for draw
skipping these would lead to reading the previously-set data if
a null buffer was set after a valid buffer
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
(cherry picked from commit 6a219f318af7282ba26318364e1138f0d91a3908)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aafbfddf09f5ea1aa12d9b7b7c5793e30d72467
Author: Mike Blumenkrantz <[email protected]>
Date: Fri Apr 22 14:47:38 2022 -0400
gallivm/draw: fix oob ubo reads
the first case in gallivm did no checking, so this was always going to be
broken, so instead just copy the now-correct ssbo logic
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
(cherry picked from commit f1d1371e512e32d03f7f54d873020e589ee67d47)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fce704fb2a6bb093c27ab29873af0ee0eee548b0
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Apr 26 10:23:36 2022 -0400
st/draw_feedback: set constant buffer stride
these shaders all do float-based reads, so using vec4 for robustness
checks breaks gallivm
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
(cherry picked from commit a51e83b74e04ad47d7e61113aef3db2db53f2e8c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=969c013a79354561648a6e104bd3b6036eb8baec
Author: Mike Blumenkrantz <[email protected]>
Date: Fri Apr 22 14:16:42 2022 -0400
lavapipe: fix CmdPushDescriptorSetWithTemplateKHR with refcounting
this is a cmdbuf function, which means it gets enqueued, which means
the template can't be destroyed until the cmdbuf has finished using it
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
(cherry picked from commit 49df9eeb9d6a1a659786ef226f6ece0f9950e6ba)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0311ce1412f6c13007f2aaf4c4ab461e5f681d7b
Author: Mike Blumenkrantz <[email protected]>
Date: Fri Apr 22 13:52:22 2022 -0400
gallivm: fix ssbo oob reads
this was checking (offset < size) when really it needs to be
(offset < size && extent < size && offset >= 0)
Fixes: 591899eedd2 ("gallivm/nir: Add a short circuit uniform-offset mode
for load_ssbo/load_shared.")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
(cherry picked from commit aa98a90265ca9ec844f07b4b2a1d1e07fe33511a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf38bb8dc48af97de84c7533183d93c203b4d6de
Author: Georg Lehmann <[email protected]>
Date: Sat Apr 16 13:36:17 2022 +0200
nir/opt_algebraic: Fix mask in shift by constant combining.
The comment above is correct, but the code to calculate the mask was broken.
No Foz-db changes outside of noise.
Fixes: 0e6581b87dc ("nir/algebraic: Reassociate shift-by-constant of
shift-by-constant")
Signed-off-by: Georg Lehmann <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15990>
(cherry picked from commit 66e917fff69497143ebf6593a40891ea3d1daf93)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b95fb833f83518758a051c44773485da9ea23022
Author: Jason Ekstrand <[email protected]>
Date: Mon Apr 18 12:03:35 2022 -0500
gallium/u_threaded_context: Use PIPE_MAX_SHADER_SAMPLER_VIEWS for
sampler_buffers
Sampler views and samplers may not be the same limit; in fact one is 32
while the other is 128. The sampler_buffers field is tracking sampler
views (yes, naming is confusing) so we should use the right limit.
Fixes: e9c41b321488 ("gallium/u_threaded: add buffer lists - tracking of
buffers referenced by tc")
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15988>
(cherry picked from commit 620c5e9dd05c57c253fa1e56218e88fe7bd23d86)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c36f4c4b3f0b5cfeb949f3ded93029d2d0ca19ca
Author: Icecream95 <[email protected]>
Date: Fri Dec 10 23:51:06 2021 +1300
pan/mdg: Fix multiple spilt writes in the same bundle
If two instructions in a single bundle both write to a spilt
destination, then we need to reuse the fill and spill instructions,
otherwise the value will be overwritten.
This and the rest of this set of Midgard bug fixes were found from a
vertex shader in Firefox WebRender that is used when a video is
clipped, for example by setting the border-radius CSS property.
CC: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
(cherry picked from commit c65afe541b764a75da68b6bf83aca60d72f88916)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=63ab86d48a1f26b063eff78e57c1a6e949b01e77
Author: Icecream95 <[email protected]>
Date: Fri Dec 10 23:50:00 2021 +1300
pan/mdg: Return the instruction from mir_insert_instruction_*_scheduled
We can't return a pointer to the bundle itself because it might move
about in memory.
CC: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
(cherry picked from commit 7b9c976c2dabf07050efb1c9d0deb82d57efa944)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d05b99e114246cc698d027080178c70ed78eab1f
Author: Icecream95 <[email protected]>
Date: Fri Dec 10 23:40:01 2021 +1300
pan/mdg: Fix mask usage when filling before a spill
Check the bytemask against 0xFFFF rather than 0xF so that the fill is
skipped for a .xyzw write rather than a .x write.
Set the mask on the store to 0xF when doing a read so that all
components are written back.
Fixes: 31d26ebf1b9 ("pan/mdg: Fill from TLS before spilling non-SSA nodes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
(cherry picked from commit c750ab8a389b82795bb1509250711671c19f583d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2763ab799899feeaf0624045517a5cfb58f5c544
Author: Icecream95 <[email protected]>
Date: Fri Dec 10 23:44:25 2021 +1300
pan/mdg: Use MAX2 to set min_alignment
If a value is written in a vector CSEL but then written again by other
instructions, it still needs full alignment, so set min_alignment
using MAX2 to avoid ever reducing it.
Fixes: 1798f6bfc33 ("pan/midgard: Fix masks/alignment for 64-bit loads")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
(cherry picked from commit b281843974aa86594288ca3c096eedf9965739f5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0a965bf08c1bd86f5c81b5436c1ba6351af4d1d
Author: Icecream95 <[email protected]>
Date: Tue May 10 10:40:49 2022 +1200
pan/mdg: Keep min_bound at 16 when alignment requires it
Otherwise LCRA will try to divide by zero when calculating m_max.
Fixes: 553c2cf16b7 ("pan/mdg: Set RA bounds for fp16")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
(cherry picked from commit b1ecb90941c9b3d9a9780b9dbb264e7b3b097fdb)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c310a51687e595e05e6cb81118a78ea0f48f3524
Author: Emma Anholt <[email protected]>
Date: Mon Apr 25 21:11:38 2022 -0700
Revert "ci: remove nouveau from shader-db runs"
This reverts commit 0464117ad9bd47f079175058771220e8dad4f00b. Now that
the shim back-channel communicates with nouveau that the "GPU" is always
idle, we can get the nouveau compiler back into the CI path.
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16150>
(cherry picked from commit 5a3aee78cbb70918b413cdd40dffcae7c9e97d8c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b1daabe9b0ba699f6be2caa1d9dd21ad72af1a5
Author: Lionel Landwerlin <[email protected]>
Date: Wed Apr 20 10:51:48 2022 +0300
nir/lower_shader_calls: put inserted instructions into a dummy block
When moving code into the main block or loop blocks, put the code into
its own :
if(true) { ... }
block so that we avoid break/continue/return issues.
v2: Also take care of the main block with return instructions
v3: Make deletion more obvious with dummy if blocks (Jason)
v4: Fixup assert for loops (Lionel)
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit 35d82ecf1ee117bef575731100fa6ae532f225fc)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eadab9865b62a151a84743e3caa5538d657a9a9a
Author: Lionel Landwerlin <[email protected]>
Date: Wed Apr 20 10:54:36 2022 +0300
nir/lower_shader_calls: don't insert code after break/continue
When moving code from below to the insertion cursor point, if the
cursor points to a jump instruction, don't bother inserting the code.
It would break the break/continue assumptions of NIR and would not be
executed anyway.
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit 9cf986dcff3c4364aacea5f36afdae7c3d3957f5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7707dda525dc4cf80a2aa6bf37187627137326a6
Author: Lionel Landwerlin <[email protected]>
Date: Tue Apr 19 15:11:17 2022 +0300
nir/lower_shader_calls: don't use nop instructions as cursors
Stop using nop instructions which are causing issues with
break/continue, instead use a nir_cursor (which brings its share of
pain).
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit 51dea59eb44f80a7a59d76c77798216a05f2b8e3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b8c243ae5ee63a14d4569fbf4fb4ab272b5c7b7
Author: Thomas Debesse <[email protected]>
Date: Mon Apr 25 09:01:01 2022 +0200
gallium/clover: pass -no-opaque-pointers to Clang
Clang opaque pointers have been enabled by default
but the Clover code currently expects them to be disabled.
Signed-off-by: Thomas Debesse <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6342
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16129>
(cherry picked from commit 06e9607478b780c9bcc6e08d69cfbe9020b4602c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=287a776bedd70f17865c4d544ae3e1260b877d36
Author: Bas Nieuwenhuizen <[email protected]>
Date: Wed Feb 23 02:27:46 2022 +0100
vulkan/wsi/x11: Ensure we have the required number of images for acquire.
For games that needs >1 at the same time the existing check wasn't enough.
Cc: mesa-stable
Reviewed-by: Hans-Kristian Arntzen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15132>
(cherry picked from commit a7f44b626943642e0cc0d132dd80aa820a45749f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5707aae3cf33e8e64ebf52d149c2ac22860c3ed
Author: Icecream95 <[email protected]>
Date: Thu Apr 14 13:30:39 2022 +1200
nir/lower_tex: Copy more fields in lower_tex_to_txd and friends
Fixes NIR validation errors for OpenMW on Panfrost.
Fixes: 1f97819fbe5 ("panfrost: Emulate GL_CLAMP on Bifrost")
Reviewed-by: Mike Blumenkrantz <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15939>
(cherry picked from commit ad864a7c150a15221fb9c85d3214d4bcb6db7518)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a068671262ca783bcb613a15ddfde9b11bf2cab9
Author: Chia-I Wu <[email protected]>
Date: Thu Mar 17 11:03:18 2022 -0700
anv: advertise rectangularLines only for Gen10+
We use the non-strict algorithm (with parallelograms) prior to Gen10 for
wide lines. We can not advertise rectangularLines.
Signed-off-by: Chia-I Wu <[email protected]>
Fixes: f6e7de41d7b ("anv: Implement VK_EXT_line_rasterization")
Reviewed-by: Ivan Briano <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15432>
(cherry picked from commit b2b810ebff657b3d24d93a1fdbd6adc79bc38153)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=07a7306d816c353f8209129dcc5561f13903254d
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Apr 26 08:32:54 2022 -0400
util/blitter: fix sampler restore with 0 saved samplers
in a sequence where a driver saves 0 sampler/views before calling
u_blitter, the previous state of having 0 sampler/views bound would
not be restored as expected, resulting in stale sampler/views which
could affect behavior before new sampler/views were bound
cc: mesa-stable
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16178>
(cherry picked from commit 38ab178c4addb1e45a61d7fc7aa00f0d5254f5f6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d05943813c031e97d09ac14221fdd6066f4db1f
Author: Dylan Baker <[email protected]>
Date: Tue May 10 20:08:36 2022 -0700
.pick_status.json: Mark 8daf8ff730b777bb512a237a36783d781cbf9de9 as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=32c596ef9090930292cbe4731348286d591f3b2c
Author: Dylan Baker <[email protected]>
Date: Tue May 10 20:08:35 2022 -0700
.pick_status.json: Mark 8b28d1751c76b0ba72dae1f6b916cb7f2bbc1c0c as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=215b28f5df93a2e781d92f40a361dd19a2eeaf6f
Author: Dylan Baker <[email protected]>
Date: Tue May 10 20:08:33 2022 -0700
.pick_status.json: Mark ae369e9f6d4f2c826f1f2a748c32a14f9d5f1f54 as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aef2c5cb70ccf1aac013fea8aae46ae23f50741b
Author: Dylan Baker <[email protected]>
Date: Tue May 10 20:08:31 2022 -0700
.pick_status.json: Mark 0e49ef5c9f2ec34567613226ad498edca28bce88 as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=da84a8ffe7609eb599e016b05a845e524dfbd1c8
Author: Dylan Baker <[email protected]>
Date: Tue May 10 20:08:29 2022 -0700
.pick_status.json: Mark 9a412c10b7a96adf71c9a2ca44a0abca75de1c49 as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b6b9e1889143d2acb4fa18876a4a03a420b4c4a
Author: Dylan Baker <[email protected]>
Date: Tue May 10 20:08:26 2022 -0700
.pick_status.json: Mark 5ff3fa5912778adb8117fa26bfe4786b583e741b as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7533fc00df2415fc410b082c663f042899eb8f3e
Author: Dylan Baker <[email protected]>
Date: Tue May 10 20:08:26 2022 -0700
.pick_status.json: Mark 6317f88b044501354a052064478d5b43dfe41809 as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=00e217bf2e7ac42a263742481fdb9fe9d4bdeefa
Author: Dylan Baker <[email protected]>
Date: Tue May 10 20:07:24 2022 -0700
.pick_status.json: Update to 14b1ed1ce105d42652f70e2fd13c90fc4f2e7ffc