URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dacab91f27ad98eb0cc73bb23525833a0e67b906
Author: Yonggang Luo <[email protected]>
Date: Fri Aug 5 01:24:05 2022 +0800
d3d12: Fixes compile error with mingw/gcc-x64 when static linkage to
runtime library
Closes #6968
Signed-off-by: Yonggang Luo <[email protected]>
Suggested-by: Jesse Natalie <[email protected]>
Reviewed-by: Jesse Natalie <[email protected]>
Tested-by: Prodea Alexandru-Liviu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17889>
(cherry picked from commit b6fb2da6f27fb364379786f6f784af52661bdce9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=32ac1133d0e617458aa0bf6e19baff6e253496fa
Author: Pierre-Eric Pelloux-Prayer <[email protected]>
Date: Mon Aug 8 17:12:14 2022 +0200
nir: add a nir_opt_if_options enum
And don't enable nir_opt_if_optimize_phi_true_false on radeonsi with
LLVM 14 because it crashes Blender.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6976
Cc: mesa-stable
Reviewed-by: Marek Olšák <[email protected]>
Acked-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17949>
(cherry picked from commit 70891edd9728e7dd73115171fdb03622ce6450ba)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e99965a0733c83765a299e0a530929e5ae8d9f3a
Author: Rhys Perry <[email protected]>
Date: Tue Aug 9 11:42:10 2022 +0100
aco: fix hash statistic
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Fixes: 897561b7b98 ("aco: add aco_postprocess_shader() helper")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17954>
(cherry picked from commit bd40e1b0127ffdb337667c9f524ab42999b875c9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f330229d98db7a8089fa1daa9e2760f600084120
Author: Erik Faye-Lund <[email protected]>
Date: Mon Aug 8 16:10:54 2022 +0200
zink: do not use VK_FORMAT_D32_SFLOAT_S8_UINT without checking
Without this, we might end up trying to use VK_FORMAT_D32_SFLOAT_S8_UINT
even when it's not supported...
Cc: mesa-stable
Reviewed-by: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17953>
(cherry picked from commit 3340dea1941885e85087bd35b6261dfee8148722)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=266fc5f6cc399c582eb31c4b3f5885872e8cc205
Author: Erik Faye-Lund <[email protected]>
Date: Tue Aug 9 12:23:26 2022 +0200
zink: add have_D32_SFLOAT_S8_UINT boolean
This will be reused in the following commit.
Cc: mesa-stable
Reviewed-by: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17953>
(cherry picked from commit 71c1ca3c67bc64ba1d74841fa664b0ee0e045c11)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec9691dbf12f1a04c2bbbf13b4ecf2760dc46121
Author: Charmaine Lee <[email protected]>
Date: Wed Aug 3 11:40:32 2022 -0700
svga: fix mksstats build
Trivial.
Fixes: ed77ac1eef7 ("svga: add a helper function for common shader
creation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17971>
(cherry picked from commit aa5d4062e8b359fb11f35816d87fd2f4fd4b778a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6973234ad6d7be74f84ada834492b520e056d86
Author: Iván Briano <[email protected]>
Date: Tue Aug 9 11:41:31 2022 -0700
anv: emit scissors when the pipeline changes
With the switch to common dynamic state tracking, something got lost
that made the scissors not always be emitted when they are not dynamic
and the pipeline is marked dirty.
Since both viewport and scissors make use of each other to calculate
their values, just stick the scissor emit in the same if block as
viewport for now.
I'd rather have them decoupled, and at least the Vulkan CTS didn't
complain when I tried it, but I don't know what other effects that
may have, especially when it comes to the guardband.
Fixes a bunch of tests under
dEQP-VK.pipeline.*.multisample.misc.*
Fixes: 7d25c04236b ("anv: Switch to using common dynamic state tracking")
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17964>
(cherry picked from commit fbd41337354326354739042368989535d79f1640)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b70516a37aefd25cc72882566b49dea87c16a2df
Author: Emma Anholt <[email protected]>
Date: Sun Aug 7 17:10:40 2022 -0700
zink: Make sure that we keep the existing ici pNext chain on inserts.
For external image imports, we'd lose the mutable image format list,
causing turnip to get angry that we try to do UBWC despite not having a
UBWC-compatible format list.
Cc: mesa-stable
Fixes: 28ee911ad671 ("zink: handle mutable swapchain images with dmabuf")
Reviewed-by: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17900>
(cherry picked from commit 8dda0a01bb3ea5a618a73ea4e506cb61e68e6d0c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f18f014e49d100204769208062899243828551d
Author: Dylan Baker <[email protected]>
Date: Wed Aug 10 09:47:17 2022 -0700
.pick_status.json: Update to 70891edd9728e7dd73115171fdb03622ce6450ba
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=17faf33ab7764079fe018c8389abbef1e70e7a62
Author: pal1000 <[email protected]>
Date: Tue Aug 2 16:50:29 2022 +0300
Microsoft clc: strip lib prefix
Otherwise OpenCLon12 ICD can't load it
Ref: https://github.com/microsoft/OpenCLOn12/search?q=clon12compiler
Reviewed-by: Jesse Natalie <[email protected]>
Reviewed-by: Yonggang Luo <[email protected]>
(cherry picked from commit 25e2c4d7841648c80ba973d1ed89d2150aca8f71)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17886>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e35dd22c6d086dac1decf5c21d18bb3b5a9d3ff7
Author: Samuel Pitoiset <[email protected]>
Date: Mon Aug 8 15:18:18 2022 +0200
radv: fix gathering XFB info if there is dead outputs
The driver should still gather XFB info even if all XFB outputs are
dead, otherwise the pipeline can't find the streamout shader.
RADV should use vk_spirv_to_nir() at some point to reduce code
duplication during SPIRV->NIR compilation.
This fixes new dEQP-VK.transform_feedback.simple.*.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17939>
(cherry picked from commit e95531e101f0ba61d28195fe38414e411bf418b3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=797a781ffe0889fc00deb2cfebb9dde846a9c437
Author: Pierre-Eric Pelloux-Prayer <[email protected]>
Date: Fri Jun 25 17:35:12 2021 +0200
amdgpu/bo: update uses_secure_bos when importing buffers
Fixes: 90b98c06493 ("amd/tmz: move uses_secure_bos to radeon_winsys")
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11449>
(cherry picked from commit a693fbf64b84ed6364984c45dc3255b71063c6dc)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=517d22b3f7537866054b7f14d8f7ecfd9a539356
Author: Dylan Baker <[email protected]>
Date: Tue Aug 9 09:51:53 2022 -0700
.pick_status.json: Update to c67e60ae8fefaeadbe06bf0cbd8ad2ee267a6c0e
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f02522adcece7b3327158102a0405933d283546a
Author: Erik Faye-Lund <[email protected]>
Date: Thu Aug 4 11:04:57 2022 +0200
docs: fixup link to virgl docs
Fixes: 6897266ce01 ("docs: import virgl docs")
Acked-by: Chia-I Wu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17881>
(cherry picked from commit 1a3b086b06c6c1ff63a4abe3752ca0a7a854dc77)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=679049bf4c282e8d16f13e852329c336bde99b54
Author: Connor Abbott <[email protected]>
Date: Mon Aug 8 15:52:49 2022 +0200
tu: Fix sysmem depth attachment clear flushing
We can't invalidate CCU if there is any dirty data that hasn't been
flushed yet. In the case where we clear depth, we know that the depth
attachment itself isn't dirty but there may be dirty data from other
renderpasses. Therefore we need to flush before invalidating depth.
Fixes: 487aa80 ("tu: Rewrite flushing to use barriers")
Closes: #6987
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17940>
(cherry picked from commit a7e64ab63c5aa0b5c2079badc3ae0d5668c234f8)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9d2f45bf23f964126dd6d41efdce92221593d87
Author: Rhys Perry <[email protected]>
Date: Thu Jul 21 19:23:38 2022 +0100
aco: fix LdsBranchVmemWARHazard with 2+ branch chains
For example, "DS -> branch -> VMEM -> branch -> DS".
fossil-db (navi10):
Totals from 639 (0.40% of 161220) affected shaders:
Instrs: 629090 -> 628254 (-0.13%); split: -0.19%, +0.06%
CodeSize: 3410164 -> 3406748 (-0.10%); split: -0.14%, +0.04%
Latency: 7834755 -> 7821011 (-0.18%); split: -0.70%, +0.52%
InvThroughput: 1369698 -> 1374495 (+0.35%); split: -0.12%, +0.47%
A lot of the fossil-db changes are noise.
threekingdoms.8db138826c386a62.1.foz/0b222ed175eebad0 is an example of a
shader that actually has this issue.
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Fixes: c037ba1bb7a ("aco/gfx10: Mitigate LdsBranchVmemWARHazard.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17697>
(cherry picked from commit b17e59a03b2c31460145b691dc5b39b13e340003)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c7c5cc016235a3873f62f2c5c55026dc407cde8
Author: Samuel Pitoiset <[email protected]>
Date: Thu Jul 21 10:13:57 2022 +0200
radv: ignore out-of-order rasterization if stencil write mask is dynamic
This might break out-of-order rasterization on GFX8-GFX9 because it
relies on the stencil write mask which can be dynamic.
Found by inspection.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17673>
(cherry picked from commit 2012246075abd33751d344a7777f80439e65e7fc)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe2f7c06aeb37fafd427b8b236a040b67ae13fd2
Author: Timothy Arceri <[email protected]>
Date: Thu Aug 4 12:41:35 2022 +1000
Revert "nir: Preserve offsets in lower_io_to_scalar_early"
This reverts commit 96fa23bca5ac88e0cd2dd0c45fdef71b2afe888d.
The correct fix to the problem was a1bc1523408a3, making this
change obsolete as the pass skips any vars marked with
always_active_io. There was no real advantage to allowing these
vars to be split because they can't be removed anyway. Also there
is no way to split varying arrays gracefully here due to the xfb
layout rules, and this change didn't handle arrays at all.
Removing this obsolete code also fixes an assert in the new CTS
test KHR-Single-GL45.enhanced_layouts.xfb_all_stages. The test
was legally adding xfb offsets to all vertex stages but since
we only mark the varyings in the final vertex stage with the
always_active_io flag the other stages were correctly lowering
to scalars but when an array with an offset hit this code it
asserted since it couldn't handle it.
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Fixes: a1bc1523408a3 ("spirv: mark variables decorated with XfbBuffer as
always active")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6928
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17878>
(cherry picked from commit 8bffd601ede40f259b3f9239e3d67393e47138e9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=515faea62b3a4309bee06b6ae17870fec3ed0ea5
Author: Alyssa Rosenzweig <[email protected]>
Date: Wed Aug 3 15:35:24 2022 -0400
agx: Fix packing of samplers in texture instrs
Typo in the handwritten packing code, oof!
Fixes incorrectly repeated shadows in Neverball (among many other bugs,
I assume). Huge thanks to Lina for the idea that this was the
bug -- fixing it was a breeze from there :-)
Fixes: 9f555388342 ("agx: Pack texture ops")
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Suggested-by: Asahi Lina <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17198>
(cherry picked from commit 47a3f1226c84d2783358737c2d3ca0040f29ed43)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=25f9046ccd4c62522d301f9469cef5e20c20b196
Author: Tatsuyuki Ishi <[email protected]>
Date: Tue May 10 14:03:03 2022 +0900
radv: Implement radv_flush_before_query_copy to workaround UE Vulkan bugs.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5740
Reviewed-by: Timur Kristóf <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14208>
(cherry picked from commit abc4eda84689408613ac7d92e77934afc66a13d7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=661d8de303247dec8c273dc1fbc215e3a0e138fd
Author: Dmitry Osipenko <[email protected]>
Date: Fri Aug 5 16:30:22 2022 +0300
virgl: Fix unmapping of blob resources
OpenGL API calls like glClearBufferData() result in mapping/unmapping
of a given buffer by Mesa and unmapping of a host blob fails in
virglrenderer because VirGL driver uses command that is intended for
unmapping of a guest buffer. In particular this causes problem for the
"Total War: Warhammer" game that gets GL_OUT_OF_MEMORY error due to the
failed unmapping command. Fix this by setting the mapping usage flag in
accordance to the resource flags, allowing virgl_buffer_transfer_unmap()
to differentiate host buffer from guest.
Fixes: 3b54e5837a152364 ("virgl: support
PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT")
Signed-off-by: Dmitry Osipenko <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17914>
(cherry picked from commit 46396e97bea603a5cef8177b66a760a11a78af2a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=de6ee5b7821a58b5181cab0e7329dd1928913c2b
Author: Rob Clark <[email protected]>
Date: Fri Aug 5 08:40:38 2022 -0700
freedreno/gmem: Fix col0 calc
Fix typo in calculation of position of start of a row of tiles. This
could otherwise cause an out-of-bounds access in the next patch.
Fixes: 81d85be9a5c freedreno/gmem: Reverse order of alternative tile rows
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17888>
(cherry picked from commit 2497741a1b142b0e19f3946d3f49f064c0c8f119)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b943044ac4dfe0565f504e970b27c74f6f97056
Author: Rob Clark <[email protected]>
Date: Thu Aug 4 09:25:07 2022 -0700
freedreno/drm: Fix potential bo cache vs export crash
Keep the list head valid (empty) after allocation from bo cache. Avoids
a potential later crash in lookup_bo in the following sequence:
1. alloc, bo cache hit
2. export
3. re-import
Cc: mesa-stable
Fixes: f3cc0d27475 ("freedreno: import libdrm_freedreno + redesign submit")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6988
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17888>
(cherry picked from commit 8b3f2a9e5d49098a921de643916dd693f569d1bc)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1dbdecb270f7e63c2b27d98a2018b114715ff4d
Author: Dylan Baker <[email protected]>
Date: Mon Aug 8 14:38:48 2022 -0700
.pick_status.json: Update to 1a3b086b06c6c1ff63a4abe3752ca0a7a854dc77
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8bdbbdd9014c4bc620c26baf004c85a471e016e
Author: Samuel Pitoiset <[email protected]>
Date: Thu Mar 11 13:58:35 2021 +0100
radv: implement VK_EXT_attachment_feedback_loop_layout
This extension introduces a new layout which allows applications
to both render and sample from the same image inside the same draw
(aka. feedback loops).
Previously, the GENERAL layout was used and this introduced some
rendering artifacts because the hw can't read&write DCC/HTILE for
the same image, and we try to keep it compressed on GFX10+.
This helps fixing corruption with D3D9 and RPCS3 games which
are candidate for feedback loops.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4411
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17883>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=38d6ae933dd0eb5dbd17390952b73774a86e26e5
Author: Samuel Pitoiset <[email protected]>
Date: Mon Feb 28 19:56:07 2022 +0100
vulkan: add support for VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17883>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ce1c1247784764b4b788236abf16a43089d8fa6
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Aug 4 07:40:48 2022 -0400
vulkan: Update the XML and headers to 1.3.224
Reviewed-by: Timur Kristóf <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17883>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f18e16512f7ed08ec68f0969f4fe884ef67c4dc
Author: Marek Olšák <[email protected]>
Date: Thu Aug 4 02:09:23 2022 -0400
radeonsi: don't assume that TC_ACTION_ENA invalidates L1 cache on gfx9
Just got into a midnight discussion with a hw guy.
TC_ACTION_ENA apparently doesn't invalidate L1, so don't clear
the INV_VCACHE flag.
Fixes: 4056e953fe43bd667 - radeonsi: move emit_cache_flush functions into
si_gfx_cs.c
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17902>
(cherry picked from commit 279315fd73e981f0c8876811327bcee0f0ccf7a3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eadc134dd85477a3d038cb77adfeccffe88df295
Author: Lionel Landwerlin <[email protected]>
Date: Tue Jun 7 18:39:28 2022 +0300
anv: fixup PIPE_CONTROL restriction on gfx8
We're missing a condition that is currently papered over by having
ANV_PIPE_HDC_PIPELINE_FLUSH_BIT in the invalidate bits.
v2: rework with simplication (Caio)
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Reviewed-by: Caio Oliveira <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16905>
(cherry picked from commit 5e21f474288e2159c80a80fa20e7b473056df939)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e16a613de060632f0f54a9e8701bb32dadf1881e
Author: Juan A. Suarez Romero <[email protected]>
Date: Thu Aug 4 13:28:03 2022 +0200
vc4: properly restore vc4 debug option
Otherwise VC4_DEBUG does not work.
Fixes: c3f5d276317 ("vc4/v3d: restore calling
debug_get_option_vc4/v3d_debug")
Signed-off-by: Juan A. Suarez Romero <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17882>
(cherry picked from commit 644daa974300696364b816e67cb2a618e523d0d9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cd9d2fcc07a9f7a1ce06f76938fd29a22c3b58b
Author: Dave Airlie <[email protected]>
Date: Thu Aug 4 13:24:25 2022 +1000
draw: don't touch info values that aren't valid.
These shouldn't be accessed, and shows up as an uninit access in
valgrind with piglit rasterpos
Reviewed-by: Mike Blumenkrantz <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10641>
(cherry picked from commit 5449e6d14c872c21f1a8acb05252aef7b31a77f4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=167af40dae2ccf032b8348a5c6646b79324512ce
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Aug 3 15:57:00 2022 -0400
zink: don't fixup sparse texops
this is broken, and these will never need to be fixed
Fixes: 3a475766876 ("zink: add a compiler pass to match up tex op dest
types")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit 32446f51a83f74cd63a589e86f30da59dc53f97c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b525edfce688699e01805b744103b1d3c24e20b0
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Aug 3 13:22:37 2022 -0400
zink: add all format modifiers when adding for dmabuf export
adding LINEAR before was a good starter step, but LINEAR
might not actually be supported (e.g., nvidia)
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit 247b8f2924b7832d8520e890cff6891217f5a860)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa90b5cd125e709b09dcd6d3de661779d9a3bc31
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Aug 2 12:31:54 2022 -0400
zink: don't add modifiers if EXT_image_drm_format_modifier isn't present
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit 5e8ec87b68035ceba742b245a25e83e4adaae270)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9234bdebed708839f759e4ddda8c25486a76b570
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Aug 2 12:27:59 2022 -0400
zink: use modifier_aspect to check for modifier plane in
zink_resource_get_param
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit c824a53f352823786967260cfe387a839c28dc9d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fda5f3f6300c0df952e3f465fa6e3242e54706c0
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Aug 2 12:26:55 2022 -0400
zink: demote dmabuf tiling to linear if modifiers aren't supported
this is effectively the same as LINEAR, and it still allows dmabuf creation
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit b59eb9c8b791e59cadca161f952ae2ef4473ebe4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=349576d92f7fa3572700a6de301057b1e7d17e59
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Aug 1 15:59:48 2022 -0400
nine: check return on resource_get_handle
this has a return code, and if it return false, this is probably an
exit condition
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit 188721d6d3d4cab9b0ca8fa419e4c33a33ae3910)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d7d35c84a98e0ed3f3bec2c349205e35f13e292
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Jul 28 13:15:33 2022 -0400
zink: fix return for PIPE_CAP_DEPTH_CLIP_DISABLE
this uses the extension now
Fixes: 21ea19d504b ("zink: Always enable depth clamping, make depth
clipping independent.")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit 721f33cd0fc9756c4db5cc88bccc46c977ad05f3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1889d87783a5b2c6b05e813187e46651a2f5fb0d
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Jul 28 12:20:54 2022 -0400
zink: handle !half_pixel_center
the shader is already getting a -0.5,-0.5 bias, but the viewport also
needs to be shifted by 0.5 to match
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit 55a4a6b8dcc8b068d24cc1b1c2e1500369c14485)
Conflicts:
src/gallium/drivers/zink/zink_state.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=50e133465c3872fbdd33bcb20f7eae7f71a99895
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Jul 28 11:12:42 2022 -0400
zink: handle unscaled depth bias from nine
nine uses this to pass unscaled units for depth bias, which means
the units must be scaled based on the format of the depth buffer
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit 8a8edb310d84f1400d8b8b7e096a9dfc33e198b2)
Conflicts:
src/gallium/drivers/zink/zink_screen.h
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdbabb07cfac6327d0c9824fa2eb52b9c9a11a15
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Jul 28 11:09:19 2022 -0400
zink: drop mode_changed check from linewidth/depthbias draw updates
this doesn't need to be updated on primtype change since it's always
set
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit a912952c3ea8f4191abc83e3638c6f09341ef15b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=71b113251dfb1078b8af4cff7c770b50465e75e5
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jul 27 16:04:54 2022 -0400
zink: force a new framebuffer for clear_depth_stencil if the clear region
is big
can't clear outside the framebuffer, so set a new one if necessary
Fixes: f1f08e3529d ("zink: massively simplify zink_clear_depth_stencil")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit ff1fb9101fd1ca383c3e2a88f61911c0c2eecd62)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ee8821b83c52f21e2d0be1331a2422bd8a62f37
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jul 27 16:03:42 2022 -0400
zink: force flush clears on fb change if fb geometry changes
Fixes: 66ceea7ed9a ("zink: lift clearing on fb state change up a level")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
(cherry picked from commit 80364c4d19eb2ee841a5d6cffb9fbc94afeb07ac)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3eda2a96a818bc18d98aa0f3233f595e5cda678f
Author: Dylan Baker <[email protected]>
Date: Fri Aug 5 10:04:52 2022 -0700
.pick_status.json: Update to 0a0205f04552ab21971c431a5f8bb7486d664422
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c8aaa70e8a73cd4a57c0188c94e88b086d4e445
Author: pal1000 <[email protected]>
Date: Mon Aug 1 19:14:19 2022 +0300
d3d12/dzn/spirv2dxil: Require version library
Fixes: b8328c9 ("microsoft/compiler: Blacklist DXIL validator 1.6 from
20348 SDK")
Closes: #6952
Closes: #6959
v2: Always lookup version library on Windows
Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17837>
(cherry picked from commit ec46a85c4f92e25e7994881679d6a1531a59b58e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=081fd3a4f4506106fb37449a94732e7ccd552db0
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jun 22 17:32:42 2022 -0400
zink: init cache_put program fence on program creation
re-initializing here might overwrite an existing cache_put job
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17225>
(cherry picked from commit 3d58642984cb4df1fff6f4915f8d8fbc5d038d41)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=08adb7bb9da342e835449b3f3be444281e2ccdcc
Author: Dave Airlie <[email protected]>
Date: Wed Aug 3 14:50:19 2022 +1000
gallivm: fix printf hook for cached shaders.
I've noticed this before but never tracked it down, but it's annoying.
The printf hooks would crash with debug shaders when they were loaded
from the cache. This was because nothing was initing the printf hook
in the cached path so the global was never set.
No problems just always creating this afaics.
Fixes: 333ee94285ac ("gallivm: rework debug printf hook to use global
mapping.")
Reviewed-by: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17867>
(cherry picked from commit 4c0a7a169dd3b929352d8c61f3e47abc2b5628ea)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c702465d56b3734928ad1790d8a2057d3c9a6f9f
Author: Eric Engestrom <[email protected]>
Date: Tue Jul 26 22:16:42 2022 +0100
bin/gen_release_notes.py: bump advertised vulkan version to 1.3
Fixes: df8ac77af8093c87d5d5 ("anv: Advertise Vulkan 1.3")
Fixes: 08c6f437cf63234f4a5d ("radv: advertise Vulkan 1.3")
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17759>
(cherry picked from commit 446d2039cb718ca9cf6428f0685c8dfe462b65d1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e00b2d8a7ed4706c7e4dec59d517a2a2401f525
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jul 27 15:13:06 2022 -0400
zink: use modifier feature flags during surface creation when necessary
cc: mesa-stable
Acked-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17773>
(cherry picked from commit 22eff86eafd5766e7b1de4c24f1b110d652e718b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=46fc1b37b5b833046101eb351e745c5d01404f50
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jul 27 15:08:44 2022 -0400
zink: store VkFormatFeatureFlags on creation
Acked-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17773>
(cherry picked from commit fffd57ef6105d78c0cc0fb2acf379f69195a8643)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5814485a103866821c0a0617a50665674c945c90
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jul 27 14:57:06 2022 -0400
zink: handle mutable swapchain images with dmabuf
if a non-kopper swapchain image supports srgb, add a
VkImageFormatListCreateInfo
to permit srgb mutability and avoid violating spec
cc: mesa-stable
Acked-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17773>
(cherry picked from commit 28ee911ad67192bc7a0683b6061b89e372482faf)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=16d299e40b85f3eb5d92e8537be58d747fdb5e59
Author: Dylan Baker <[email protected]>
Date: Thu Aug 4 10:38:10 2022 -0700
.pick_status.json: Update to 8e6bdb2ed31f27c28d258859ec48e8e67f51ff41