-
80164979
by Dylan Baker
at 2022-05-04T15:51:13-07:00
docs: Add sh256sum for mesa 20.0.3
-
eb7d783b
by Dylan Baker
at 2022-05-04T16:03:29-07:00
.pick_status.json: Update to 7f91e8fad94dd34f83c6a124dbbe5d210be7715f
-
9e99274f
by Marek Olšák
at 2022-05-04T16:03:32-07:00
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@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16215>
(cherry picked from commit 0cd59c7cb0e75c100e8540cc89f5fc80486190fe)
-
2981d3fa
by Alyssa Rosenzweig
at 2022-05-04T16:03:32-07:00
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@collabora.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16285>
(cherry picked from commit ca280b2283dacaeef0a43e5585c50ed4f0db6a83)
-
a9a5743c
by Rhys Perry
at 2022-05-04T16:03:33-07:00
aco/ra: fix vgpr_limit
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@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)
-
12d7bc9e
by Samuel Pitoiset
at 2022-05-10T20:06:05-07:00
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@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16295>
(cherry picked from commit f5cffbb8df7721efc1698ea2289f40b8e6372f9e)
-
835395f2
by Jason Ekstrand
at 2022-05-10T20:06:05-07:00
vulkan/wsi: Set the right stage flags for semaphore waits
This is currently technically broken for compute.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Cc: mesa-stable@lists.freedesktop.org
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16333>
(cherry picked from commit 233be8ee592a0119501d9459fdafdc94c70902a4)
-
74bffa6b
by Samuel Pitoiset
at 2022-05-10T20:06:05-07:00
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@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15877>
(cherry picked from commit 9348620946e667e9485d010980ac9ffdd0446a23)
-
8845994b
by Dylan Baker
at 2022-05-10T20:06:05-07:00
.pick_status.json: Update to 14b1ed1ce105d42652f70e2fd13c90fc4f2e7ffc
-
cdcaeb33
by Mike Blumenkrantz
at 2022-05-10T20:06:05-07:00
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@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16178>
(cherry picked from commit 38ab178c4addb1e45a61d7fc7aa00f0d5254f5f6)
-
bf759c06
by Dylan Baker
at 2022-05-10T20:06:05-07:00
.pick_status.json: Mark 69e6417e19793043e4bb3cd500cfcf377bce4c03 as denominated
-
c23af31e
by Chia-I Wu
at 2022-05-10T20:06:05-07:00
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@gmail.com>
Fixes: f6e7de41d7b ("anv: Implement VK_EXT_line_rasterization")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15432>
(cherry picked from commit b2b810ebff657b3d24d93a1fdbd6adc79bc38153)
-
b648c3f5
by Icecream95
at 2022-05-10T20:06:05-07:00
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@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15939>
(cherry picked from commit ad864a7c150a15221fb9c85d3214d4bcb6db7518)
-
f5fd6fe9
by Thomas Debesse
at 2022-05-10T20:06:05-07:00
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@illwieckz.net>
Reviewed-by: Francisco Jerez <currojerez@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)
-
6da33799
by Icecream95
at 2022-05-10T20:10:38-07:00
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)
-
0ad03b1d
by Icecream95
at 2022-05-10T20:10:38-07:00
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)
-
c827eaf1
by Icecream95
at 2022-05-10T20:10:38-07:00
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)
-
3a957eb9
by Icecream95
at 2022-05-10T20:10:38-07:00
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)
-
338674fd
by Icecream95
at 2022-05-10T20:10:38-07:00
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)
-
14530ee7
by Jason Ekstrand
at 2022-05-10T20:10:38-07:00
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@amd.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15988>
(cherry picked from commit 620c5e9dd05c57c253fa1e56218e88fe7bd23d86)
-
dce56ea2
by Georg Lehmann
at 2022-05-10T20:10:38-07:00
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@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15990>
(cherry picked from commit 66e917fff69497143ebf6593a40891ea3d1daf93)
-
94dbadc2
by Mike Blumenkrantz
at 2022-05-10T20:10:38-07:00
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@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
(cherry picked from commit a51e83b74e04ad47d7e61113aef3db2db53f2e8c)
-
832ab28f
by Mike Blumenkrantz
at 2022-05-10T21:10:29-07:00
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@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
(cherry picked from commit 6a219f318af7282ba26318364e1138f0d91a3908)
-
359ef453
by Mike Blumenkrantz
at 2022-05-10T21:10:29-07:00
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@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
(cherry picked from commit f5caaf2d750184deee2b991a7f2e2cded9980a94)
-
fb6b1a7c
by Lionel Landwerlin
at 2022-05-10T21:10:29-07:00
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@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit d65cf403f30e7b6d0d67f94c095687ae1724ff68)
-
73abaddc
by Jason Ekstrand
at 2022-05-10T21:10:29-07:00
nir/cf: Return a cursor from nir_cf_extract as well
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit 25661ea028b4d904693b165cd43bb42a6d2d99a2)
-
ac771576
by Lionel Landwerlin
at 2022-05-10T21:10:29-07:00
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@intel.com>
Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit 51dea59eb44f80a7a59d76c77798216a05f2b8e3)
-
513cb0fe
by Lionel Landwerlin
at 2022-05-10T21:10:29-07:00
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@intel.com>
Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit 9cf986dcff3c4364aacea5f36afdae7c3d3957f5)
-
3dfe76c8
by Lionel Landwerlin
at 2022-05-10T21:10:29-07:00
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@intel.com>
Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
(cherry picked from commit 35d82ecf1ee117bef575731100fa6ae532f225fc)
-
108336ba
by Dylan Baker
at 2022-05-10T21:10:30-07:00
.pick_status.json: Mark c025cb9ee9d79ebfb66a577556e04deecfe012ed as denominated
-
7ba3c374
by Dylan Baker
at 2022-05-10T21:10:30-07:00
.pick_status.json: Mark 6317f88b044501354a052064478d5b43dfe41809 as denominated
-
85503b62
by Dylan Baker
at 2022-05-10T21:10:30-07:00
.pick_status.json: Mark 5ff3fa5912778adb8117fa26bfe4786b583e741b as denominated
-
65872884
by Dylan Baker
at 2022-05-10T21:10:30-07:00
.pick_status.json: Mark 9a412c10b7a96adf71c9a2ca44a0abca75de1c49 as denominated
-
755eb461
by Dylan Baker
at 2022-05-10T21:10:30-07:00
.pick_status.json: Mark 0e49ef5c9f2ec34567613226ad498edca28bce88 as denominated
-
c37206c9
by Dylan Baker
at 2022-05-10T21:10:30-07:00
.pick_status.json: Mark ae369e9f6d4f2c826f1f2a748c32a14f9d5f1f54 as denominated
-
38e697f8
by Dylan Baker
at 2022-05-10T21:10:30-07:00
.pick_status.json: Update to 14b1ed1ce105d42652f70e2fd13c90fc4f2e7ffc
-
d41a60dc
by Dylan Baker
at 2022-05-10T21:10:30-07:00
.pick_status.json: Mark 8c1d9c7b744b2e5b40fd42cfd51256b16deea6a8 as denominated
-
4de455d6
by Dylan Baker
at 2022-05-10T21:16:23-07:00
.pick_status.json: Mark f1d1371e512e32d03f7f54d873020e589ee67d47 as denominated
-
9ecad9df
by Dylan Baker
at 2022-05-13T09:57:08-07:00
.pick_status.json: Update to 57293dee2b11ba7e52052edc4d0437f08db19144
-
c0777e3a
by Pierre-Eric Pelloux-Prayer
at 2022-05-13T09:57:39-07:00
radeonsi: don't use wave32 for GE on gfx10 if culling is used
This is a workaround for issue #6457: it fixes the rendering and
prevent the hang but I can't explain why.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6457
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16427>
(cherry picked from commit 1f3156460781d4ebd9dfb2ff6b9f176259cc5959)
-
7b9e180d
by Pierre-Eric Pelloux-Prayer
at 2022-05-13T09:57:39-07:00
amd: fix ac_build_mbcnt_add in wave32 mode
add_src was ignored and i32_0 was always used.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Fixes: 1e49018cedf ("amd: Add extra source to the mbcnt_amd NIR intrinsic.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16427>
(cherry picked from commit db2fd0ca83f4f2000eae87f4e7915d775833393a)
-
44ff27ac
by Samuel Pitoiset
at 2022-05-13T09:57:39-07:00
radv: disable DCC for Senra Kagura Shinovi Versus
To workaround an issue with feedback loops in D3D9 with DCC in GENERAL,
until we can fix it properly with a new extension.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6469
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16452>
(cherry picked from commit b5b2bcab543c62491d35fc838834625a136fea4c)
-
8ac7c858
by Danylo Piliaiev
at 2022-05-13T09:57:39-07:00
tu: Fix indices of drm_msm_gem_submit_cmd when filling them
For some reason CTS doesn't trigger the issue...
When submit entry is not filled - kernel says:
[drm:msm_ioctl_gem_submit] *ERROR* invalid type: 00000000
Fixes: dbae9fa7d8412252c96e53ef3d50f4349969928a
("tu: implement sysmem vs gmem autotuner")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16474>
(cherry picked from commit 9a11ad7efd56d28e1c83aaec5cecb7fa7720fc90)
-
4242ced0
by Marcin Ślusarz
at 2022-05-13T09:57:39-07:00
anv: update task/mesh distribution with the recommended values
Fixes: ef04caea9b8 ("anv: Implement Mesh Shading pipeline")
Acked-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16493>
(cherry picked from commit f083df87108231005889b7af92f0cad7c61e1f81)
-
9825f35a
by Marcin Ślusarz
at 2022-05-13T09:57:39-07:00
anv: disable streamout before emitting mesh shading state
Fixes tests which use secondary command buffers.
Fixes: ef04caea9b8 ("anv: Implement Mesh Shading pipeline")
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16493>
(cherry picked from commit aa1c128b54b31580367d97107660c11cb94e0b98)
-
5c4f1b25
by Danylo Piliaiev
at 2022-05-13T09:57:39-07:00
tu: Do not flush ccu in clear/blits during renderpass
For clear/blits ccu flush not only worse for perf, but also messes up
flush_bits when executed in a conditional set of commands.
We already don't flush for 3d blits.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6419
Fixes: 487aa807bd1b70602fcb6fbdabd101d4cff7c07b
("tu: Rewrite flushing to use barriers")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16352>
(cherry picked from commit 187d3df52c77b92bb8002f90818b0a9fce8a7e1a)
-
5011970f
by Danylo Piliaiev
at 2022-05-13T09:57:39-07:00
pps: Open writable renderer node in DrmDevice::create
DrmDevice::create_all correctly opened the node with O_RDWR, while
DrmDevice::create was not, causing failure to create writable buffer.
Fixes pps-config on Freedreno.
Fixes: 1cc72b2aef82373247466c2e7b81970c867ad0fa
("pps: Gfx-pps v0.3.0")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16406>
(cherry picked from commit 6bf4ae002aa252824ee3c80e485b16ae1ffd73a4)
-
33d015fb
by Dylan Baker
at 2022-05-16T10:05:29-07:00
.pick_status.json: Update to 5c90eb1c53f46e86717c6bf4d5253dd23c4dac1f
-
67e5c010
by Dylan Baker
at 2022-05-16T10:05:33-07:00
.pick_status.json: Mark 5a3aee78cbb70918b413cdd40dffcae7c9e97d8c as denominated
-
72d812f0
by Marek Olšák
at 2022-05-16T10:05:53-07:00
radeonsi: fix a crash when failing to create a context
When shader_query_buffers is NULL, the code treated as as non-empty.
Fixes: 792a638b032d "radeonsi/gfx10: implement streamout-related queries"
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16466>
(cherry picked from commit 6515b3b2dc0f4fed6faea8988137d09b0fd67f21)
-
090cccbc
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: fix up sparse texture sampling for shadow samplers
the problem here is that this returns a vec2 instead of a vec5, which
throws all the existing calculations off
given that the shader is (still) expecting a vec2 return from this,
and there's no way to sanely rewrite with nir to be valid for both
sampler types as well as spirv translation, just pad out to a vec2
here and be done with it
Fixes: 73ef54e3424 ("zink: handle residency return value from sparse texture instructions")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
(cherry picked from commit 88912b31119a14ffc99087781a17eeb4af202866)
-
9e86e9bf
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: clamp out min_lod operands for explicit lod ops
this is illegal (and nonsensical)
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
(cherry picked from commit 63dc39ac9047fce206ac11b6e556b6e9a0f8a07b)
-
6a758e22
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: fix sparse binding for arrayed textures
this needs to set the arrayLayer, not the z offset
big thanks to Piers Daniell for catching this
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
(cherry picked from commit 377f5e7af958101160907f125a0349df8cec934a)
-
cf34bbd9
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: fix sparse texture depth calcs for arrayed textures
use the array, not the depth
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
(cherry picked from commit 1126f42781d87162eb827794b7446b3619e067af)
-
a73d7b14
by Jason Ekstrand
at 2022-05-16T12:31:59-07:00
nir: Preserve metadata if remove_dead_derefs makes no progress
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16482>
(cherry picked from commit c23b20d43a03634bf528f9870cdd5b0159a69eb4)
-
722686d7
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: remove refs from shader images
these have implicit refs from the surface/bufferview that gets created,
so adding a ref here is redundant and less performant
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit d0df4889707e94a7bae6a9f6b4092b00f1b42b2a)
-
67a8137b
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: reuse local res pointer in set_shader_images
no functional changes
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit 22954b486067e08780ba5a1679edfbad7f23c45a)
-
507ace17
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: simplify dumb update flagging in set_shader_images
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit a3dff53487bceb42230d525daa9ac57694dc98a2)
-
56f80479
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: read shader image r/w usage from incoming data struct
no functional changes
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit 32a77b1e255c5213124200076160902928a07830)
-
a87a630e
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: copy incoming shader image struct after doing updates
no functional changes
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit 2df1c061688c14d51ad3eeaab886bb7ae4a6172a)
-
d40d80e3
by Mike Blumenkrantz
at 2022-05-16T12:31:59-07:00
zink: stop leaking shader image surfaces
the code here was fine for checking the base resource unbinds and whatever,
but it never actually destroyed the surfaces/bufferviews created,
which meant they were always being leaked
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit 1526df283c3659d510066f58b152597ea15913a0)
-
0844c6c6
by Pavel Ondračka
at 2022-05-19T16:25:05+00:00
r300: guard for unsigned underflow when unrolling loops
If we by some chance end with more instructions than the maximum
amount we can handle, for example from previous branch lowering,
we would underflow while calculating the number of unrolling
iterations and unroll till OOM.
Fixes OOM in gnome-shell 42
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14992>
-
bfe80575
by Dylan Baker
at 2022-05-19T10:06:56-07:00
ci: Some panfrost tests are unexpectedly passing.
That's good, I guess?
-
6e91e293
by Dylan Baker
at 2022-05-19T11:06:58-07:00
docs: add release notes for 22.0.4
-
a8194a93
by Dylan Baker
at 2022-05-19T11:08:07-07:00
VERSION: bump for 22.0.4
-
47deced7
by Timo Aaltonen
at 2022-05-20T20:25:26+03:00
Merge branch 'upstream-unstable' into debian-unstable
-
a9fe9026
by Timo Aaltonen
at 2022-05-20T20:25:48+03:00
version bump
-
111c5e03
by Timo Aaltonen
at 2022-05-23T14:48:55+03:00
release to sid