URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c97af690c9c7d3d7bc52636e02a0146c740e4a83 Author: Eric Engestrom <e...@engestrom.ch> Date: Wed Nov 1 17:27:10 2023 +0000
VERSION: bump for 23.3.0-rc2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b66b23045a48cf4f6370db06a60302632f6abac Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Mon Oct 30 14:04:38 2023 +0100 radv: emit COMPUTE_PIPELINESTAT_ENABLE for CS invocations on ACE This register seems needed to enable compute shader shader invocations on GFX7. On GFX8+ it's working fine without emitting this register but I think it doesn't hurt. This fixes dEQP-VK.query_pool.statistics_query.*_cq on GFX7. Fixes: a9945216ba2 ("radv: fix COMPUTE_SHADER_INVOCATIONS query on compute queue") Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25957> (cherry picked from commit 17daa08dff0cf9479b27ed7402de61336607ec10) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=18397e51adc40a814e945181196c4b5d94f5bb51 Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Mon Oct 30 12:50:56 2023 +0100 radv: fix compute shader invocations query on compute queue on GFX6 Looks like GFX6 always writes the number of compute shader invocations at offset 0 when used on compute queue. This fixes dEQP-VK.query_pool.statistics_query.*_cq on GFX6. Fixes: a9945216ba2 ("radv: fix COMPUTE_SHADER_INVOCATIONS query on compute queue") Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25957> (cherry picked from commit 9a0a77cb53d0d31c7a090d06ac905d69e9c1131c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ac0a8786802d10e5e7cd07955716cbea983bc0b Author: Eric Engestrom <e...@engestrom.ch> Date: Wed Nov 1 14:52:52 2023 +0000 .pick_status.json: Update to faed5d647f2416bb0ce3a9d33a3955169c70dc52 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cb8275141775d1eb3a2e7aee43a9755b9e86835 Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Mon Oct 30 15:26:15 2023 +0100 radv: bind the non-dynamic graphics state from the pipeline unconditionally The following sequence is valid (although weird) but many other drivers (including RADV) were broken: - bind pipeline with some static state - set state command for that static state (to a bad value) - bind the same pipeline again - draw Fixes new dEQP-VK.dynamic_state.*.double_static_bind. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25954> (cherry picked from commit e4a1bc70dd739ca8addddc940af08312b038e288) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14fac5200d4e5384c71d999318c9f891f6d3822c Author: Karol Herbst <kher...@redhat.com> Date: Fri Oct 27 23:27:15 2023 +0200 rusticl/mesa/screen: do not derefence the entire pipe_screen struct Apparently the dereferences made tsan report data races on the pipe_screen object. Cc: mesa-stable Signed-off-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25944> (cherry picked from commit f7830240acc43280154dacd0ab075dcaa0051da8) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e4cd7065b09c3289fb93b430ae07f36a27d048c Author: Eric Engestrom <e...@engestrom.ch> Date: Wed Nov 1 12:48:13 2023 +0000 .pick_status.json: Update to e4a1bc70dd739ca8addddc940af08312b038e288 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69e6b0307bf9a8a69168d1169ecdfcdb48c6bb84 Author: Juston Li <justo...@google.com> Date: Tue Sep 26 16:36:58 2023 -0700 venus: switch to unconditionally deferred query feedback All commands that make queries available have feedback cmds batched and stored during recording. At submission time, for each batch (SubmitInfo) these feedback cmds are recorded in a cmd buffer that is appended after the last original cmd buffer (but before semaphore/fence feedback). Query reset cmds are deferred as well and also remove any prior feedback cmds for queries its resetting within the batch. Cc: 23.3 <mesa-stable> Signed-off-by: Juston Li <justo...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413> (cherry picked from commit 5b24ab91e43a54b4f4081db52ebf6653b97e72bb) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a33f38d2bf161a7ddf817370264b8546653d22be Author: Juston Li <justo...@google.com> Date: Tue Sep 26 16:29:17 2023 -0700 venus: append query feedback at submission time Cc: 23.3 <mesa-stable> Signed-off-by: Juston Li <justo...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413> (cherry picked from commit 7fbf608f2dac486b23030d3b48dd10bb453d9eb8) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=62ea10c0e05ab08dccf05f3218045297c2d2b074 Author: Juston Li <justo...@google.com> Date: Tue Sep 26 16:04:18 2023 -0700 venus: track/recycle appended query feedback cmds Link the query feedback cmd lifecycle to a cmd in the batch so that when that last cmd gets reset/freed, we assert its safe to reset the query feedback cmd. The cmd is then placed on the free list for reuse. Some edge cases if the the last cmd is simultaneous or gets resubmitted. Cc: 23.3 <mesa-stable> Signed-off-by: Juston Li <justo...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413> (cherry picked from commit d2a626787e559dad9105243be9e5043c9230853c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49aa21e327fc0021d3d5aead175297c73c2da829 Author: Juston Li <justo...@google.com> Date: Tue Sep 26 15:09:54 2023 -0700 venus: support deferred query feedback recording Add function to alloc a cmd buffer and record all the deferred query feedback cmds into it at submission time. Cc: 23.3 <mesa-stable> Signed-off-by: Juston Li <justo...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413> (cherry picked from commit 6dcf033dc30e52c1557999bf7588cf0e1c5dcc8c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bf24452f38bde74c153faf8618428b6af80d2b4 Author: Juston Li <justo...@google.com> Date: Tue Sep 26 15:34:56 2023 -0700 venus: refactor out common cmd feedback functions defered query feedback cmds have similaries with timeline semaphore feedback so refactor out some common functions for reuse Cc: 23.3 <mesa-stable> Signed-off-by: Juston Li <justo...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413> (cherry picked from commit 99807b3db65e107fc35f9419979600fcec7b8230) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aab94295eae9896981d5b2871f165521723baa14 Author: Juston Li <justo...@google.com> Date: Tue Sep 26 15:24:17 2023 -0700 venus: add helper function to get cmd handle rename previous vn_get_cmd_handle as that was getting cmd handles from the temp storage cmd_handle buffer. Cc: 23.3 <mesa-stable> Signed-off-by: Juston Li <justo...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25413> (cherry picked from commit 2ea6f935ce554c5a1666648a284406db8edc3cc7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d282666f96abf36f81443ed170799f8890b96c63 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Mon Oct 30 17:57:32 2023 +0200 anv: fix corner case of mutable descriptor pool creation Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: 63e91148b7 ("anv: Enable VK_VALVE_mutable_descriptor_type") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10065 Reviewed-by: Yiwei Zhang <zzyi...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25958> (cherry picked from commit cdca0b2ce4d603d4f5914d7a1e37923a6a959541) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b81db9f37f6842436ce25045bbec9c858df353d Author: Eric Engestrom <e...@engestrom.ch> Date: Tue Oct 31 14:33:11 2023 +0000 .pick_status.json: Update to 4cdd094ae1e97d857a6b9dbc291d7bbe6ea266ac URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=21798650dea34426abef01697698166e37ab6ca4 Author: Danylo Piliaiev <dpilia...@igalia.com> Date: Thu Oct 26 17:11:30 2023 +0200 tu: Fix reading of stale (V)PC_PRIMITIVE_CNTL_0 PC_PRIMITIVE_CNTL_0 is not set in a draw state and may be changed by 3d blits, so we have to re-emit it a the start of a renderpass. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9941 Fixes: 7be8d0f7f490ea58c89798efca7e45b84dc395da ("tu: Use common dirty tracking for PC_PRIMITIVE_CNTL_0") Signed-off-by: Danylo Piliaiev <dpilia...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25918> (cherry picked from commit cdbb8b541266b1095c9565eef6d115adac73c1aa) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c03932b6e68958565d96a6117e2f1fc996fcbbff Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Tue Oct 3 17:34:06 2023 +0200 radv: fix a synchronization issue with primitives generated query on RDNA1-2 Only RDNA1-2 are affected because RADV needs to handle the legacy vs NGG path for this query, and the NGG results are stored with 2 extra 64-bit values. Fixes flakes with dEQP-VK.transform_feedback.primitives_generated_query.* since VKCTS 1.3.7.0. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25862> (cherry picked from commit 7d96fe853e1b007293054645caf54ade77a77c90) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a50c841cf1d05f2d954ae4cbee402ebfd690148 Author: Iago Toral Quiroga <ito...@igalia.com> Date: Mon Oct 16 16:38:31 2023 +0200 v3d,v3dv: fix MMU error from hardware prefetch after ldunifa ldunifa works exactly the same as ldunif: the hw will prefetch the next 4 bytes after a read, so if a buffer is exactly a multiple of a page size and a shader uses ldunifa to read exactly the last 4 bytes the prefetch will read out of bounds and spam the error on the kernel log. Avoid that by allocating extra bytes in this scenario. Reviewed-by: Alejandro Piñeiro <apinhe...@igalia.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25752> (cherry picked from commit 82bef62c17c79b298601fd565ce558c5282a88b7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8986b7f9aec39313016c5b8d876bb01b8f3315dc Author: Karol Herbst <kher...@redhat.com> Date: Fri Oct 27 15:53:19 2023 +0200 zink: deallocate global_bindings array Fixes: a6e9e0f0d77 ("zink: add set_global_binding") Signed-off-by: Karol Herbst <kher...@redhat.com> Acked-by: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25937> (cherry picked from commit 2f34a1db5883a2e5178371d8295f711bd754a1e1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e690f4097615667a8f67c8efe645bb14958f30b Author: Karol Herbst <kher...@redhat.com> Date: Wed Oct 25 23:17:22 2023 +0200 rusticl/mesa: pass PIPE_BIND_LINEAR in resource_create_texture_from_user Host pointer allocations are all linear laid out, so just tell the drivers in case they don't assume this implicitly. Fixes: 71a9af49107 ("rusticl/mem: support read/write/copy ops for images") Signed-off-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25937> (cherry picked from commit 7f08036abc5dd361b2161660f2f7efce8df86056) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=62c4a2273e41e5f857e962f6716637c08c6b8f8e Author: Marek Olšák <marek.ol...@amd.com> Date: Fri Oct 20 17:54:34 2023 -0400 radeonsi: initialize perfetto in the right place Compute contexts don't execute the second half of the function. Fixes: a164e147e91 - radeonsi: Add perfetto support in radeonsi Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10043 Tested-by: Mike Lothian <m...@fireburn.co.uk> Tested-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25873> (cherry picked from commit 276b9b13cf4d073c8a6faa18f41952d2f826679d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39f9dc50f5890eac5d3dbeed093f1f839f82ffc4 Author: Caio Oliveira <caio.olive...@intel.com> Date: Thu Oct 26 15:10:36 2023 -0700 anv: Fix leak when compiling internal kernels Cc: mesa-stable Reviewed-by: Paulo Zanoni <paulo.r.zan...@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Tested-by: Paulo Zanoni <paulo.r.zan...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25928> (cherry picked from commit 9d73bfc9cdd127a52d07bf8b60e66c5a9495890e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ede1cdbcaf42a4d26cdf0034b23ab35a0f41b60d Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 11:34:26 2023 -0400 zink: check for cbuf0 writes before setting A2C VUID-vkCmdDrawMultiIndexedEXT-alphaToCoverageEnable-08919 requires a cbuf0 write for A2C to be active cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25938> (cherry picked from commit 736577871b939573af400e4e64ebfe18863d49af) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ee4ef998a378d025267d820b1c4fe9d79b58daa Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 15:50:06 2023 -0400 radv: correctly return oom from the device when failing to create a cs cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25927> (cherry picked from commit c4283e32e3e8d96987358620aa43483a79eea08b) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8e6ad5692e1a1fa5194e8f45f7122f69caa650b Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 16:22:27 2023 -0400 zink: add more locking for compute pipelines if multiple contexts are accessing this all at once then this needs more locking to avoid unsynchronized cache access cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25929> (cherry picked from commit f8909e7d55e86c7db55f4b9482f94c993f5e2529) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=423202cae44eb2c12ad3a28bd4e9b9eb91447ccf Author: Karol Herbst <kher...@redhat.com> Date: Thu Oct 26 18:50:37 2023 +0200 rusticl/queue: Only take a weak ref to the last Event This resolves a memory leak when the application drops its last reference to the queue, but never waits explicitly. The problem was, that the queue was refed by QueueState::last and that ref only gets dropped on a blocking wait. This is problematic as non user Event objects also hold a ref on the Queue they are created on, therefore causing a cyclic ref relation. In order to resolve it, just use a weak reference. A failure of upgrading the Weak ref is not an issue as in this case we'd only wait on an already destroyed or processed event. The worker thread already makes sure everything stays in sync. Fixes: 5b3ff7e3f3d ("rusticl/queue: overhaul of the queue+event handling") Signed-off-by: Karol Herbst <kher...@redhat.com> Reviewed-by: @LingMan <18294-ling...@users.noreply.gitlab.freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25926> (cherry picked from commit 9a3af6e1d8a88ff5c919d33966e97168fe780a86) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77eb71a612b47ad55d8dde2b0dbc0f935ad5bea6 Author: Karol Herbst <kher...@redhat.com> Date: Sun Oct 22 21:50:35 2023 +0200 radv: fix buffers in vkGetDescriptorEXT with size not aligned to 4 The range alignment didn't happen through GetDescriptorEXT as it called write_buffer_descriptor directly. So simply move the align from write_buffer_descriptor_impl into write_buffer_descriptor. Fixes: 46e0c77582d ("radv: implement VK_EXT_descriptor_buffer") Signed-off-by: Karol Herbst <kher...@redhat.com> Reviewed-by: Georg Lehmann <dadschoo...@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837> (cherry picked from commit 1c619b668d69c66521d1da8edd97e518d6d61857) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9337e1c78af4967043ace2f1fdd8f1db9548250 Author: Karol Herbst <kher...@redhat.com> Date: Sun Oct 22 16:49:42 2023 +0200 zink: lower fisnormal as it requires the Kernel Cap I didn't check if it's a valid vulkan SPIR-V opcode and turns out it isn't Fixes: 82eed326f47 ("zink: support more nir opcodes") Signed-off-by: Karol Herbst <kher...@redhat.com> Acked-by: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837> (cherry picked from commit 01b6ccccc6af3111da4466d083335ed5f0646a5e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=65bd87bd35789e4062766097745f894e6b7c1984 Author: Karol Herbst <kher...@redhat.com> Date: Mon Oct 23 19:17:16 2023 +0200 rusticl/mem: properly set pipe_image_view::access Cc: mesa-stable Signed-off-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837> (cherry picked from commit abd8ef84ff4034a8f159f4743dc025dbfde8b837) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcfdd7476fad4cd0d3c7adffca7bb2646a2ae908 Author: Karol Herbst <kher...@redhat.com> Date: Tue Oct 24 21:28:02 2023 +0200 rusticl/device: restrict param_max_size further It's kinda pointless to have it too big, it also causes weird shaders to be generated and causes stack overflows in `nir_opt_gcm`. Nothing needs big values here anyway. Cc: mesa-stable Signed-off-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837> (cherry picked from commit 694001eef70e220c709523cd71aad4b7b7c6c8db) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=336e6df3ef959fe9a968c48b56e8bda7e96573c2 Author: Karol Herbst <kher...@redhat.com> Date: Sun Oct 22 16:53:54 2023 +0200 rusticl/device: restrict image_buffer_size It's pointless to advertise more than CL_DEVICE_MAX_MEM_ALLOC_SIZE and also the CTS tests against this. Cc: mesa-stable Signed-off-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837> (cherry picked from commit 9b6ac56d72d6d74cfe85ed9caff663f841dd6def) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b731ab6e81e4a6ae6ae61a02f99985e0bc2ed75 Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 12:36:14 2023 -0400 mesa/st/texture: match width+height for texture downloads of cube textures some drivers require this cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914> (cherry picked from commit ee1039877c14b9671e08342585bd0e2f4a6decb6) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=199f9783a043c590f47ac3a0b5ca102032d135c3 Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 12:05:16 2023 -0400 zink: unset explicit_xfb_buffer for non-xfb shaders this catches duplicated xfb when generated geometry shaders are used cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914> (cherry picked from commit df74ea771782966009def93339d0f4a1d94d12a1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=08ad7e3e0f829128fa3bef9b729ae6b072c3c247 Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 11:54:40 2023 -0400 aux/u_transfer_helper: set rendertarget bind for msaa staging resource this matches other resources created with staging blit-like mechanics cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914> (cherry picked from commit 87e3720b66aeef08351dc578863360c587514d53) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e7a25df6bd32521d54618c8ada15bebd33c310d Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 11:33:47 2023 -0400 zink: only emit xfb execution mode for last vertex stage this is otherwise illegal cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914> (cherry picked from commit 694ebe8c7228aa5a2c427cd33b0d6fdf3360174d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7822e2b6fd9e6280a02dcbb678728521c23d31f Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 11:32:11 2023 -0400 zink: clamp resolve extents to src/dst geometry exceeding src/dst extents is illegal cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914> (cherry picked from commit e8b2680045b68334f3c82fada27a4edfe83bad22) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dea50199a152a144c4da46b63dc3d3d18a5b9cfd Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 11:00:57 2023 -0400 zink: always set VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT for usermem required by spec backport-to: 23.3 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914> (cherry picked from commit 009d4a5fda58d5bb4c642fe711e19cb91c4bc1f4) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da8fcbaef533c52323ba2318e6088ab0b72cd7ab Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 11:00:41 2023 -0400 zink: emit SpvCapabilitySampleRateShading with SampleId required by spec cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25914> (cherry picked from commit 7035b5a8e858ca4c4773baefdd62bf19e7e3ffe6) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a7498e13f081c054ebe7f14994ccca89677557e Author: Faith Ekstrand <faith.ekstr...@collabora.com> Date: Thu Oct 26 08:01:15 2023 -0500 nir/lower_bit_size: Fix subgroup lowering for floats Using u2u is always correct for integers, including signed integers, because we're doing a down-cast. It's wrong for floats, though. Fixes: f95665cfebbd ("nir/lower_bit_size: Add support for lowering subgroup ops") Reviewed-by: Daniel Schürmann <dan...@schuermann.dev> Reviewed-by: Timur Kristóf <timur.kris...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25894> (cherry picked from commit 5979e74177eb3013ca7e78867295e9a015e6c8ed) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0144e4d0b3f069d883e4771847f1bb990a2ea675 Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Thu Oct 26 13:15:57 2023 -0400 zink: add copy box locking this can technically be accessed by multiple threads, so ensure access is serialized backport-to: 23.3 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25924> (cherry picked from commit 782481c429100ebc8df68ca54e4f34722eced1c8) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5bcd8b84ff5b25ec9825762a3355a8865dd519b Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Wed Oct 25 08:46:30 2023 -0400 meson: Add gallium-drivers=all option Again, useful to lint common code changes and for our macbook-wielding rel manager <3 Omits i915g due to dependency hell, everything else builds on fedora asahi. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Cc: mesa-stable Reviewed-by: Eric Engestrom <e...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882> (cherry picked from commit ef4aa24a15a7a84b6deda058f710e5f4c52e3984) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=048a358bf54f2cd7a19252dea9cef0d5ba3105bd Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Wed Oct 25 08:41:55 2023 -0400 meson: Add vulkan-drivers=all option To build-test everything, helpful to check common code changes before pounding CI. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Cc: mesa-stable Reviewed-by: Eric Engestrom <e...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882> (cherry picked from commit b70e948886976d2fb17b3191c9116c1babe25810) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b42d824822350bf5b1e7b169bdf2a470c9c5b831 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Wed Oct 25 08:38:10 2023 -0400 crocus: Support building on non-Intel Ditto. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Cc: mesa-stable Reviewed-by: Eric Engestrom <e...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882> (cherry picked from commit 2552ac360d25e6e5f52c0877228540aeb012c858) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb6e3a2a89ac4a209de8583e0ba9752fba960417 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Wed Oct 25 08:37:32 2023 -0400 hasvk: Support builiding on non-Intel Should help Eric build test releases on their MacBook :-) Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Cc: mesa-stable Reviewed-by: Eric Engestrom <e...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882> (cherry picked from commit c8192c1c93ec4a988c14c038f7efcf2343c1f62a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a30434a0cb8e0e071feddf6fba4dede31d5695f Author: Sil Vilerino <sivil...@microsoft.com> Date: Thu Oct 26 08:24:53 2023 -0400 d3d12: d3d12_video_buffer_create_impl - Fix resource importing Only align resource dimensions on creation, not when importing existing D3D resource object. Otherwise importing the resource fails since the resource descriptor does not match the aligned dimensions passed in the template. Fixes: 62fded5e4f8 ("d3d12: Allocate d3d12_video_buffer with higher alignment for compatibility") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25913> (cherry picked from commit dfb95160266e1be49edc08863c4c760c3f774f9a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c23ba4e83a2108e9cc7700b1fb710f9d598c7e58 Author: Ian Romanick <ian.d.roman...@intel.com> Date: Tue Oct 24 13:09:13 2023 -0700 nir/split_vars: Don't split arrays of cooperative matrix types glsl_type_is_vector_or_scalar would more accruately be called "can be an r-value that isn't an array, structure, or matrix. This optimization pass really shouldn't do anything to cooperative matrices. These matrices will eventually be lowered to something else (dependent on the backend), and that thing may (or may not) be handled by this or another pass. Fixes: 2d0f4f2c17b ("compiler/types: Add support for Cooperative Matrix types") Reviewed-by: Caio Oliveira <caio.olive...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25871> (cherry picked from commit 18d8a96a00a1666fcf202ae89aee6344d295687e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9040f482e5ce3f57c344b193f3279db05b7a8a4 Author: Corentin Noël <corentin.n...@collabora.com> Date: Thu Oct 26 12:11:16 2023 +0200 mesa/bufferobj: ensure that very large width+offset are always rejected In the case width+offset is triggering an integer overflow, the checks in place are not working as the comparison will fail. Cc: mesa-stable Reviewed-by: Marek Olšák <marek.ol...@amd.com> Signed-off-by: Corentin Noël <corentin.n...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25909> (cherry picked from commit e95c9b0515b85f65e00d47a152a881cc232a0d92) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3bef4dfa371dad053311687a13497df92451971 Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Wed Oct 25 10:22:46 2023 +0200 ac/gpu_info: remove bogus assertion about number of COMPUTE/SDMA queues For example, my polaris10 GPU now returns 3 compute queues. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25876> (cherry picked from commit 4f8a2253875fdb677beb85c91ecb033cbf231fc7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0b436252f4b74117008e6f0b491c09559a5b116 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Thu Oct 26 12:07:00 2023 +0300 anv/meson: add missing dependency on the interface header Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: db335d9b73 ("anv: factor out host/gpu internal shaders interfaces") Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25905> (cherry picked from commit ce5472137fb57348da59c32944e4b126a8ae795c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aac2d7f100a7e659a3b3ff6803c5607b73ef7109 Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Wed Oct 25 13:32:22 2023 -0400 zink: don't block large vram allocations I think this was masking some other problem that has long since been fixed cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25893> (cherry picked from commit ac6139ad73f55595cb089d848d080f8e84689c34) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e886ef760ca0764fd004a989d97f4cb0bbe6bedb Author: Neha Bhende <bhen...@vmware.com> Date: Tue Oct 17 15:58:23 2023 -0700 ntt: lower indirect tesslevels in ntt Tessellation shader which are using indirect addressing for tesslevels e.g gl_TessLevelOuter[gl_InvocationID] = tessLevelOuter; are crashing because gl_TessLevelOuter is now a compact array variable and nir expects a constant array index into the compact array variable. This patch handles such cases. This fixes MR 21940 Fixes: 84006587d7e5 ("glsl: Delete the lower_tess_level pass.") Tested with glretrace Reviewed-by: Charmaine Lee <charmai...@vmware.com> Reviewed-by: Emma Anholt <e...@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25773> (cherry picked from commit 8cfb46e27dfb12acdb1a00f7687a43899d770cca) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0690566bdf282accedc98b1af8ee2beaf5432d7 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Mon Oct 23 17:42:35 2023 +0300 intel/fs: fix dynamic interpolation mode selection We can end up in situation where we are dispatched with a multisample framebuffer but not at per-sample. In this case we would request the at_sample value with the wrong message configuration. Relying on the BRW_WM_MSAA_FLAG_MULTISAMPLE_FBO flag superseeds BRW_WM_MSAA_FLAG_PERSAMPLE_DISPATCH. Fixes piglit tests : spec@arb_gpu_shader5@arb_gpu_shader5-interpolateatsample* With Zink on Anv Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: 68027bd38e ("intel/fs: implement dynamic interpolation mode for dynamic persample shaders") Reviewed-by: Emma Anholt <e...@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25854> (cherry picked from commit 439b0e86884eba55a4c25add9fe2763af1782b9f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=30a1ebe0344ae776db9d9c155498951cd8851fba Author: Eric Engestrom <e...@engestrom.ch> Date: Mon Oct 30 15:46:58 2023 +0000 .pick_status.json: Update to e64a97694ac9dc97f65e1a8e91a5c9789109fd2c