Mesa (22.1): 92 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed May 11 05:04:51 UTC 2022
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fade22da95b28a98ac0c468a07157192b325a18
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Tue May 10 22:03:46 2022 -0700
VERSION: bump for 22.1.0-rc5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d25f3888531e69bf19f022f549a6c0fbe9243b9f
Author: Dylan Baker <dylan.c.baker at intel.com>
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=b7366e6acb4ea5ec32341753600230211cf9590d
Author: Benjamin Cheng <ben at bcheng.me>
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 <jakob at collabora.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
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=03d5e496d9a4773156daaa5d522883e06f24be46
Author: Iván Briano <ivan.briano at intel.com>
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 <jason.ekstrand at collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
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=0b90d3dc580c5c74cd0c318f8111c1703dadb862
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
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 <airlied at redhat.com>
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=8e84d6fdeda0f14f074cf45a6862d8d1c5926e4f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
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 <airlied at redhat.com>
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=c6e7e2977f13b03e9cc35736e515b2aa5654d8b3
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
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 <airlied at redhat.com>
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=0c50ee124a07d944156eb644ac5519331c8aad51
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
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 <airlied at redhat.com>
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=f9cc403ebed850cd627e622b850f37e4b99ea408
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
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 <airlied at redhat.com>
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=659e41fe794026634d65717a27585e9bbcb4eb91
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
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 <airlied at redhat.com>
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=e2c69cd976b2b4eef250c9e11bc8a994d71ddd25
Author: Georg Lehmann <dadschoorse at gmail.com>
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 <dadschoorse at gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
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=3830fb9769b4c767b6cfffe9da8240377f483d55
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
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 <marek.olsak at amd.com>
Reviewed-by: Karol Herbst <kherbst at redhat.com>
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=5b82328bbdb2ac179a7507f6ea1332da7c5139c6
Author: Icecream95 <ixn at disroot.org>
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=7c24f4fbc9148a3810d48cadcd99d3c69992408f
Author: Icecream95 <ixn at disroot.org>
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=7feaf6c548f5c3bd619b910466773b5e9099fd83
Author: Icecream95 <ixn at disroot.org>
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=cf289ff969c538eec521406057f3e261879ca7fd
Author: Icecream95 <ixn at disroot.org>
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=38ac16dbff2728eb5c59653edac2650e5f552284
Author: Icecream95 <ixn at disroot.org>
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=9adf6d9d7e7ed6e27ad62e178ffd5ccb2fcefd27
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
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 <lionel.g.landwerlin at intel.com>
Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
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=34261b108438a6d9d568f0cf81158fdc84d95fdb
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
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 <lionel.g.landwerlin at intel.com>
Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
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=a4189af1686c3772163d220659ab3a8fa4fa865e
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
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 <lionel.g.landwerlin at intel.com>
Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
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=29b1c19e6c6ad4c71c4c21f779e36d7e5a984bf9
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date: Tue Apr 26 08:53:31 2022 -0500
nir/cf: Return a cursor from nir_cf_extract as well
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
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=540fa4ecd7a460528cc0a5fc9338db4e3943ef3b
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
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 <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
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=7b8c243ae5ee63a14d4569fbf4fb4ab272b5c7b7
Author: Thomas Debesse <dev at illwieckz.net>
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 <dev at illwieckz.net>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
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 <bas at basnieuwenhuizen.nl>
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 <post at arntzen-software.no>
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 <ixn at disroot.org>
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 <michael.blumenkrantz at gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
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 <olvaffe at gmail.com>
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 <olvaffe at gmail.com>
Fixes: f6e7de41d7b ("anv: Implement VK_EXT_line_rasterization")
Reviewed-by: Ivan Briano <ivan.briano at intel.com>
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 <michael.blumenkrantz at gmail.com>
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 <marek.olsak at amd.com>
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 <dylan.c.baker at intel.com>
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 <dylan.c.baker at intel.com>
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 <dylan.c.baker at intel.com>
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 <dylan.c.baker at intel.com>
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 <dylan.c.baker at intel.com>
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 <dylan.c.baker at intel.com>
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 <dylan.c.baker at intel.com>
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 <dylan.c.baker at intel.com>
Date: Tue May 10 20:07:24 2022 -0700
.pick_status.json: Update to 14b1ed1ce105d42652f70e2fd13c90fc4f2e7ffc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=be08a23dc0deb3af1533334a1dd635130db7132f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue May 10 20:02:46 2022 -0400
zink: ci regressions
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0be76e7ec1fc1c771876f27073cd314bb49cd394
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Apr 21 12:24:01 2022 -0400
zink: semi-handle 1D sparse texture rewrites for drivers that don't support them
nvidia can't do this, but also nothing uses it, so I've gone ahead and
done the bare minimum here to make cts pass
I think the work to do the shader rewrites should be easy, but without a test
case, I see no point in spending the time for it
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16100>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2493985aae058c62cf5a00dffe30c493da53d05b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Apr 21 21:34:20 2022 -0400
zink: bump number of image binds that can be batched to 50
this is big enough to batch all the cts binds into a single submit
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16100>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e0055e4a0caf15fe073038575ad1dd6541a6eaa
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Apr 21 11:47:01 2022 -0400
zink: fix multisample conditional in sparse image query
you stare at the code for so long without truly seeing it
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16100>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d26843de8b81e6efa98eecbe3f51190c73ca224b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Apr 21 11:45:46 2022 -0400
zink: set all usage flags when querying sparse features
they're allocated through TexStorage, so they can do everything
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16100>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e40dd33d1a4eea9df5ba9c6ae0f3e4fb5bd27a8e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Apr 21 11:45:15 2022 -0400
zink: pass sparse bind bo offset through for texture binds
should fix partial binding with textures
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16100>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0771d809e51aed0e50fb3121201dd66572f7828
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Apr 21 10:36:56 2022 -0400
zink: pass sparse backing page offset to binding function
this is the offset of the memory block being bound
cc: mesa-stable
fixes:
KHR-GL46.sparse_buffer_tests.BufferStorageTest
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16100>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b0d36773581d25ed940b834c6a87a17c3c5be5f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 11:52:52 2022 -0400
zink: create images with modifiers any time there is an import handle
there's no way to pass in a plane offset otherwise, so this is necessary
in order to handle yuv imports
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ed9c24fb94fe9c54170585f075aa92630fff172
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 11:02:55 2022 -0400
zink: rebind resources for export as needed
exporting all resources breaks suballocation, so instead just use the
existing heuristics and then forcibly rebind resources as needed
for this functionality
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77127ce4ae908552a8e05b9145a3f38274d7a58e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 11:01:49 2022 -0400
zink: add a LINEAR drm modifier if rebinding to add dmabuf export
this needs to have some kind of modifier, so be conservative here
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c9f8d3d0568fc18dca049ed74e09533cf833b97
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 11:01:06 2022 -0400
zink: force memory exports if dmabuf bind is specified
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93d28694ce81586681bb1fb620fb51174e828c77
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 11:00:12 2022 -0400
zink: fix conditional for modifier usage
the shared check here was inaccurate; if the resource has dmabuf
export, then use modifiers
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c425166bc92cf85726e7b64d64ec9599e10ea327
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 10:59:31 2022 -0400
zink: add a bind flag to indicate a resource is exported as a dmabuf
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d82b7151603e6cf98096a459565cedb1214c0a5
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 10:57:53 2022 -0400
zink: unset pipe_resource::next pointers when creating resource copies
this otherwise walks the chain and destroys all the resources
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e2b6e131e270f966b2aece1002f9827578a627b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 10:52:27 2022 -0400
zink: always check for fb rebinds when starting renderpass
ensure the right image is being used
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3095f5cf0097547c7b4df5c9ed3fc45c18f8758
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 07:42:05 2022 -0400
Revert "zink: export fd info for all 2d images"
This reverts commit fda7371b4cfc5a15f2207f5165f3a8e14442a522.
this breaks suballocation
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c529a9ab93e3038f1002c8d51f2a944e9beaa68
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 07:41:52 2022 -0400
zink: create a copy context for the screen on init
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=89d94335e4496d6b3c69963bed33808246c70209
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 07:41:32 2022 -0400
zink: introduce copy contexts
this is for creating a context which is only used for copying images
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=907c1bab60e387afddc7a76a261105e82dd2c92f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 07:41:02 2022 -0400
zink: break out resource bind-adding into separate function for reuse
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2920e0d8438969ddcfebce972c0af048849b8e72
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 07:40:44 2022 -0400
zink: add a flag to indicate whether a resource is exportable
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d39eafe93dbbcaffab1e906298ad5c7241845b13
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 07:34:33 2022 -0400
zink: outdent some code
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5068d98157c55d8261b6f83a8f665a70bc1e0576
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Apr 29 07:26:09 2022 -0400
zink: remove unused headers/struct members/linkage
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f0a7ae37b3fb4d103b2200a256d45408159d685
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue May 10 15:32:20 2022 -0400
kopper: remove unused zink include
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16441>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca9c3ece5396464c99b33331dde05fa4ee5adae6
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Apr 26 11:36:23 2022 -0400
zink: use descriptor surfaces for notemplates ref updating
basically the same codepath as samplerviews now, and fixes
some issues with invalid mem access
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16167>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=efc5ecee9cb210149b215a042e9ce24f272dbddb
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Apr 26 11:09:06 2022 -0400
zink: add more image usage for null surfaces
without null descriptor features, these can be used for all sorts of things
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16167>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8fc9d4c09336e76adcf84236deeb40f2cedc815
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Apr 26 11:07:23 2022 -0400
zink: fix null buffer/surface formats
4-component formats are needed here in order to return the correct
alpha value in invalid load scenarios
cc: mesa-stable
fixes:
spec at arb_shader_image_load_store@invalid
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16167>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ffaf1002d29f1253b4a143aea3db27de6f6a499
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed May 4 09:01:56 2022 -0400
lavapipe: enqueue pipeline destruction
this avoids races in llvmpipe related to modification of per-context shader
variant lists, which causes massive amounts of flakiness in ci
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16331>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=331bc00d777857d2a7d00cc39adaf9cd00ba0d41
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu May 5 09:55:28 2022 -0400
llvmpipe: never infer early zs tests when fbfetch is active
this breaks zs fbfetch
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16346>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76ca02ff7b6aec26a38f4ce8f20cfe3ca700f946
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu May 5 09:54:18 2022 -0400
nir/gather_info: flag fbfetch on subpass image loads
might not be able to determine which output is being read, but these
are definitely fbfetch uses (from lavapipe)
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16346>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b806828ad1f75a623eb38002e85d612bfea4c3e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu May 5 13:19:51 2022 -0400
kopper: pass the current context to dri_flush
passing the drawable's context leads to desync and crashing if the app
is using multiple threads and multiple contexts
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16351>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef86acd25cabeae4a768e29dbd65e8de92452b62
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu May 5 12:06:14 2022 -0400
kopper: invalidate drawables when resizing textures in place
this guarantees that swapchains shared between contexts will stay
in sync
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16351>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b78272daa59a47f052c31e123b256843cfde29e4
Author: Georg Lehmann <dadschoorse at gmail.com>
Date: Sun May 8 01:30:42 2022 +0200
wsi/x11: Don't leak xcb_get_geometry_reply_t.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6443
Fixes: 44a20baeb8b ("wsi/x11: Avoid using xcb_wait_for_special_event in FIFO modes")
Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16384>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=45cbab0442c607b001d5c27b7ae9ee4bfcfd03a1
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Tue Apr 19 13:46:12 2022 +0200
radv: disable instance packing to fix pipeline query stats
RDNA2 is affected by a hardware bug when instance packing is enabled
for adjacent primitive topologies and instance_count > 1, pipeline
stats generated by GE are incorrect. It needs to be applied for
indexed and non-indexed draws.
This is based on PAL waDisableInstancePacking.
This fixes KHR-GL46.pipeline_statistics_query_tests_ARB.* with Zink.
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6257
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15877>
(cherry picked from commit 9348620946e667e9485d010980ac9ffdd0446a23)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=718a8223ff4f2a6099e9f5596da628e020c702df
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Thu May 5 11:13:08 2022 -0700
.pick_status.json: Update to 17c98393f9f3cb0801b73b2d4c62442859417368
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b929e21fbea4c0483bcddb9dfd02caf779a83d41
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue May 3 11:01:05 2022 -0400
lavapipe: lower quad_broadcast intrinsics
not supported by gallivm
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16301>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b312721d87163e863f6aeefdcb0892f0cb0af3b4
Author: Adam Jackson <ajax at redhat.com>
Date: Thu Apr 28 17:38:17 2022 -0400
egl/kopper: Hook up eglSwapInterval
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15800>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbc697d2d6b594eb2611096d9ccd8ef7809e46ea
Author: Adam Jackson <ajax at redhat.com>
Date: Thu Apr 28 17:19:13 2022 -0400
glx/kopper: Enable GLX_EXT_swap_control etc.
This requires newly tracking the max swap interval since kopper can't do
abs(interval) > 1 yet.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15800>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=533117777f96915e75644f198622e3ff3bde5786
Author: Adam Jackson <ajax at redhat.com>
Date: Thu Apr 28 17:03:23 2022 -0400
kopper: Grow a swap interval API
We take a slight liberty here by allowing 0 to mean either MAILBOX or
IMMEDIATE, since Wayland (at least) doesn't have a true IMMEDIATE mode
at least MAILBOX won't throttle to vblank.
This only correctly handles intervals of 0 or 1 at the moment.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15800>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f96b0d640b138b389a6c4abff6bccac3e9de2e9b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Apr 27 09:33:32 2022 -0400
zink: add supported present modes to kopper displaytarget
for use later
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16193>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f857eed827e83c4bdba595da4ac61770f2f8a9a9
Author: Adam Jackson <ajax at redhat.com>
Date: Mon Apr 25 15:24:08 2022 -0400
wsi/x11: Avoid using xcb_wait_for_special_event in FIFO modes
If the window is destroyed from underneath us while we happen to be in
xcb_wait_for_special_event, there's no recovery. The special event will
never match because the XID is no longer valid, and Present doesn't have
an in-band DestroyNotify. We're going to work around this by using the
poll API instead. If we get an event we short-circuit back to the top of
the "wait for available image" loop, so we drain the whole special event
queue before any other logic. Which means if we run out of special
events (and the connection and swapchain are still valid) that we
_don't_ have enough images available, so to hurry along any events that
the X server hasn't flushed out yet we call GetGeometry on the
swapchain's window. As a side effect this verifies that the window is
still alive.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15800>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aab9d6df50edf822777305468619a9ba8ef9cd4e
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Fri May 21 15:31:06 2021 -0500
vulkan/wsi: Set the right stage flags for semaphore waits
This is currently technically broken for compute.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Cc: mesa-stable at lists.freedesktop.org
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16333>
(cherry picked from commit 233be8ee592a0119501d9459fdafdc94c70902a4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca8af9c529b0be4b654bda4fbe7d44c3291b5e8b
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Apr 28 10:54:27 2022 +0300
anv: remove static_state_mask
This is now unnecessary. Either an instruction is never dynamic and
it's emitted in genX_pipeline.c or it can be and it's emitted in
genX_cmd_buffer.c/gfx8_cmd_buffer/gfx7_cmd_buffer.c
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 797a8850b94132361bfa586ec459705169a20c99)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5346b6aac41f755e9eb9099f6291c4c4354956f4
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Apr 28 11:35:35 2022 +0300
anv: don't emit 3DSTATE_VF_TOPOLOGY in pipeline batch
v2: drop primitive_topology = 0xffffffff (Tapani)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 74a27a6ccb32b4c81eff4bcc808401bdb0adba0b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cd83f03117727c5cc7d37146b5bd0e146bef188
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Apr 28 10:42:44 2022 +0300
anv: don't emit 3DSTATE_DEPTH_BOUNDS in pipeline batch
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 48229d11bab48569250e8ef43d6476f2ef3b9281)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0dcd1ac226d5eaf5c489ce5f864c801b467539c9
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Apr 28 00:12:52 2022 +0300
anv: don't emit 3DSTATE_BLEND_STATE_POINTERS in pipeline batch
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 76e735d09cb8ff2902d20f7c8b02b6c0e9a05358)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=265351f03fe5f403d6a68cfe7fda2ac3080c551e
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Apr 28 09:26:39 2022 +0300
anv: don't emit 3DSTATE_WM in pipeline batch
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit e9d000a831c767f93c9e22087eb92ce4db044935)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5eadf0d634e208be90a06e408e2bbbc1032ee900
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Apr 28 09:23:23 2022 +0300
anv: don't emit 3DSTATE_STREAMOUT in pipeline batch
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 065242d623d89e84ef3ed9dd5558b40aa6f46ec2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=579a90e3c4327944b64b5808b518f75a3b8e1fa0
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Apr 28 09:15:02 2022 +0300
anv: never emit 3DSTATE_CPS in the pipeline batch
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit ce8bb293429142aeb89e424ba7879934def74637)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4fac8fbbe9aaf2c2013e7b6dd66fba0517892f7
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Wed Apr 27 23:44:40 2022 +0300
anv: rework sample location
On Gfx7 we can only give the sample location for a given multisample
number. This means everytime the multisampling value changes, we have
to re-emit the locations. It's fine because it's also where
(3DSTATE_MULTISAMPLE) the number of samples is stored.
On Gfx8+ though, 3DSTATE_MULTISAMPLE only holds the number of samples
and all the sample locations for all number of samples are located in
3DSTATE_SAMPLE_PATTERN. So to be more effecient there, we need to
track the locations for all sample numbers and compare new values with
the relevant sample count when touching the dynamic state.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 168b13364f052be00d2015b6851d6c84e61064e9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=218b619ab2541f0271f38d8af923f1be8a94fd6d
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Wed Apr 27 22:38:28 2022 +0300
Revert "anv: fix dynamic state emission"
This reverts commit f348103fce4484b891a58bf3147b71e3a3558135. The
change was causing performance regressions.
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 810518fda7628811adb2dc274ed11d125fbd3cd9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebb13496c401706e9d5c013866495e362952e627
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Apr 29 23:08:42 2022 +0300
anv: add missing logic op set in pipeline dyn state
v2: add ANV_CMD_DIRTY_DYNAMIC_LOGIC_OP check (Tapani)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: 75ad0e4b0874 ("anv: support blending logic op dynamic state")
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 69e6417e19793043e4bb3cd500cfcf377bce4c03)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=96202a0fab5991cee3b5a166e94a8cedc6b45022
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Apr 28 13:15:53 2022 +0300
anv: reset all dynamic state after secondary execution
We don't know in what state the secondary buffer will leave the HW
when it ends. It's easier to consider everything needs to be reemitted
for now.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 5048f15737806d2b6795e736e547e4e4de7a37d1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5225e485d8f48435c62b4698d4d0321dc8390a2
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Tue May 3 12:14:38 2022 +0200
radv: re-emit dynamic line stipple state if the primitive topology changed
The dynamic primitive topology could change from LINE_LIST to
LINE_STRIP for example and the stipple state depends on this.
Found by inspection.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16295>
(cherry picked from commit f5cffbb8df7721efc1698ea2289f40b8e6372f9e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaba210881ff7295ff24e20ac2ac2fdb01758eab
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Tue May 3 12:13:55 2022 +0100
aco/ra: fix vgpr_limit
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Fixes: b98a4d4dd7e ("aco: refactor GPR limit calculation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16297>
(cherry picked from commit 1b639a0ce5b239ff06f1dfc8256f6512cb260144)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b465069b747744897a4a2cf57f36bf8d26f5b463
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Mon May 2 13:59:55 2022 -0400
nir: Don't set writes_memory for reading XFB
That's a read, not a write. Fixes optimizations getting disabled for fragment
shaders when linked with a shader producing transform feedback varyings.
Fixes: 85a723975bb ("nir: add and gather shader_info::writes_memory")
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16285>
(cherry picked from commit ca280b2283dacaeef0a43e5585c50ed4f0db6a83)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae44b3365ff9882b21660829ddb274a858c82290
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Apr 26 23:21:08 2022 -0400
ac/llvm: set the correct cache policy for sparse buffer loads
The DLC bit was missing on gfx10.
Fixes: 6d5e26752c664c "ac/nir: implement sparse image/texture loads"
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16215>
(cherry picked from commit 0cd59c7cb0e75c100e8540cc89f5fc80486190fe)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f936ff863185c2be59393d824313be6fd185c0f5
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Wed May 4 15:05:04 2022 -0700
.pick_status.json: Update to 7f91e8fad94dd34f83c6a124dbbe5d210be7715f
More information about the mesa-commit
mailing list