summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* docs: add release notes for 22.1.7staging/22.1Eric Engestrom2022-09-221-0/+196
|
* docs: add release notes for 22.1.6Eric Engestrom2022-09-221-0/+61
|
* VERSION: update to 22.1.7mesa-22.1.722.1Dylan Baker2022-08-171-1/+1
|
* docs: add release notes for 22.1.7Dylan Baker2022-08-171-0/+0
|
* nir/lower_gs_intrinsics: fix primitive count for pointsQiang Yu2022-08-162-5/+28
| | | | | | | | | | | | | When primitive is points, EndPrimitive can't be used to count primitive. Need to use vertex count instead. And it's also not needed to do vertex per primitive count and overwrite incomplete primitive work for points. Fixes: 2be99012e95 ("nir: Add ability to count emitted GS primitives.") Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17805> (cherry picked from commit 84956286a8d30790dda7568043ec2b546904fdf2)
* vk/device-select-layer: fix .sType of VkPhysicalDeviceGroupPropertiesEric Engestrom2022-08-162-1/+4
| | | | | | | | | | | The validation layers complained: > Validation Error: [ VUID-VkPhysicalDeviceGroupProperties-sType-sType ] Object 0: VK_NULL_HANDLE, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xc9edee8b | vkEnumeratePhysicalDeviceGroups: parameter pPhysicalDeviceGroupProperties[0].sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES The Vulkan spec states: sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkPhysicalDeviceGroupProperties-sType-sType) Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Fixes: c196ffaca6d ("vk-device-select: add device group support") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18037> (cherry picked from commit 4588453815c58ec848b0ff6f18a08836e70f55df)
* r300: fix variables detection for paired ALU and TEX instructions in ↵Pavel Ondračka2022-08-162-6/+87
| | | | | | | | | | | | | | | | | | | | | | | | | different branches TEX instrutions can't write xyz and w to separate registers so we need to create variables from them first, otherwise we can create two variables from ALU writing the same register xyz and w in other branch (this usually works when TEX is not present as the xyz and w can read/write from different registers). This fixes regalloc because the variables are later used as a graph nodes. The variable order should not matter but it slightly does (leading to approx 0.3% shader-db temps increase as compared to previous state), so just sort the variables list afterwards to be as close to the previous behavior as possible and prevent the regression. CC: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6936 Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Reviewed-by: Filip Gawin <filip@gawin.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17987> (cherry picked from commit 88fd397c741c0e1fe0d851fbc566925078df6013)
* frontend/nine: Fix ff position_t fallback when w = 0Axel Davy2022-08-162-1/+4
| | | | | | | | | | | | | | | For post-transformed vertices, w = 0 is similar to w = 1. Replace the value to fix rcp(w). It is common for apps to pass w = 0 for position_t. cc: mesa-stable Signed-off-by: Axel Davy <davyaxel0@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18021> (cherry picked from commit b5df20568a6e60056211b634efa3bea4758f18e9)
* frontend/nine: Fix shader multi-use crashAxel Davy2022-08-163-5/+19
| | | | | | | | | | | | | | | | | Due to the driver live shader cache, it's possible two different d3d9 shaders get the same cso. As it's disallowed to destroy a shader cso being bound, nine checks for this scenario. However it was not taking into account the cso might be from a different shader. cc: mesa-stable Signed-off-by: Axel Davy <davyaxel0@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18021> (cherry picked from commit 93da6e9f34226549b4eb8726383fb54c584a9e15)
* frontend/nine: Fix cso restore bugAxel Davy2022-08-162-3/+3
| | | | | | | | | | | | | | | | Invalidating all state groups is not sufficient, as some states check for actual changes. The correct way is to invalidate the commit mask. Found with a wine test. cc: mesa-stable Signed-off-by: Axel Davy <davyaxel0@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18021> (cherry picked from commit 4c65ccab6d48abe7be650ee7b9f3b72a70609a9a)
* frontend/nine: Fix ATOC handlingAxel Davy2022-08-162-5/+2
| | | | | | | | | | | | | | | The previous code was incorrectly checking the previous value of alphatestenable. In addition, remove an optimization that cannot hit (as we filter out redundant state settings). cc: mesa-stable Fixes: 1272640d5 ("st/nine: Fix alpha to coverage states") Signed-off-by: Axel Davy <davyaxel0@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18021> (cherry picked from commit 4f953ad51299a744aa74b7667debd8a8245685f5)
* frontend/nine: Fix buffer tracking out of boundsAxel Davy2022-08-163-2/+5
| | | | | | | | | | | | | | Fixes a crash in a ffxi trace, which draws out of bounds. This was previously resulting in trying to fill a buffer resource not big enough. cc: mesa-stable Fixes: 380c2bf ("st/nine: Optimize dynamic systemmem buffers") Signed-off-by: Axel Davy <davyaxel0@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18021> (cherry picked from commit e5124e83ba1f9a7c86a3b1b8d38e7c71cd481f88)
* frontend/nine: Skip invalid swvp callsAxel Davy2022-08-162-1/+10
| | | | | | | | | | | | | | Without this it may crash running wine tests. According to the test themselves, the correct behaviour is a bit more complicated, but that's a first step. cc: mesa-stable Signed-off-by: Axel Davy <davyaxel0@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18021> (cherry picked from commit b74febffe6e97938130dfd405ae1678539eafcfe)
* .pick_status.json: Mark 11ab6087797f805cf158048915c67945613c9a72 as denominatedDylan Baker2022-08-161-1/+1
|
* meson: Microsoft / maybe Intel CLC need the all-targets workaroundpal10002022-08-162-1/+2
| | | | | | | | | | | just like clover Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5666 Fixes: 1506ea2ecb ("Move a bunch of the CLC stuff from src/microsoft to common code") Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17682> (cherry picked from commit b5b855149caad60042ad0bc2d4c131c7063ff088)
* .pick_status.json: Update to 74fc367127ccf945f4c649dd6ddff955c802e36eDylan Baker2022-08-161-0/+1062
|
* isl: fix bug where sb.MOCS is not being setsjfricke2022-08-122-2/+2
| | | | | | | | | | | Currently the sb.MOCS is being reset to zero after struct init. Signed-off-by: sjfricke <spencerfricke@gmail.com> Fixes: c27fcb1d3ba ("isl: Fill in MOCS for NULL depth, stencil, and HiZ buffers.") Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17985> (cherry picked from commit 861167f41d17e1c8d114cb511a817308491327c1)
* glthread: call _mesa_glthread_DeleteBuffers unconditionallyMarek Olšák2022-08-122-2/+2
| | | | | | | | | | Deleted buffers were not unbound in glthread. Fixes: 4fa24747b9089b - glthread: call _mesa_glthread_BindBuffer unconditionally Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17976> (cherry picked from commit 28e351673ef8c22c5ae0585f40e1cbd2b15eda5c)
* glthread: unbind framebuffers in glDeleteFramebuffersMarek Olšák2022-08-123-2/+17
| | | | | | | | | | | | Tests: dEQP-GLES2.functional.lifetime.delete_bound.framebuffer dEQP-GLES2.functional.state_query.integers.framebuffer_binding_getinteger Fixes: e48f676835d - glthread: don't sync for more glGetIntegerv enums for glretrace Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17976> (cherry picked from commit eb4036ea5b9a55c1d965e0917d21c502c8635b47)
* mesa/st: fix reference to nir->info after nir_to_tgsiCharmaine Lee2022-08-122-3/+4
| | | | | | | | | | | | | | The nir shader memory is freed in nir_to_tgsi(), but the already freed shader info is referenced later when create compute state. To avoid referencing the freed memory, copy the shader info first before calling nir_to_tgsi. Fixes vmx crash running aztec on SVGA driver. Fixes: 580f1ac4736 ("nir: Extract shader_info->cs.shared_size out of union") Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17999> (cherry picked from commit 4393be8291ff3f39ff37a61133b6e5b0fa3e9698)
* .pick_status.json: Update to 24b9ad7cd5ebc7cfa5d03cf0f243ea4841c971b9Dylan Baker2022-08-121-0/+441
|
* anv: don't return incorrect error code for vkCreateDescriptorPoolLionel Landwerlin2022-08-112-2/+2
| | | | | | | | | Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7013 Cc: mesa-stable Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17945> (cherry picked from commit 56bb29cb93accf9d78c29332db52314bcb4b7670)
* egl/wgl: Fix some awkward sizeof formattingJesse Natalie2022-08-112-4/+4
| | | | | | | | | | | Fixes: 3415bf02 ("egl: Add a basic Windows driver") Suggested-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Acked-by: Daniel Stone <daniels@collabora.com> Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Acked-by: Sidney Just <justsid@x-plane.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964> (cherry picked from commit 17eda68df3b88e5ed02cf180411491b28be1e6d5)
* egl/wgl: Delete unused variables/codeJesse Natalie2022-08-112-50/+1
| | | | | | | | | | | | Fixes: 3415bf02 ("egl: Add a basic Windows driver") Suggested-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Daniel Stone <daniels@collabora.com> Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Acked-by: Sidney Just <justsid@x-plane.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Tested-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964> (cherry picked from commit efd2ae6c0c87b8eca3bf0a476a008a16c00c51a2)
* nir/validate: clamp unsized tex dests to 32bitMike Blumenkrantz2022-08-112-2/+3
| | | | | | | | | | this is the "default" size that's expected cc: mesa-stable Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17874> (cherry picked from commit b7eda568a4acf8b3d551e22b6ef72689663f9550)
* .pick_status.json: Update to a3bf0da1cbd4b10043c80bf44609a3024b5fcc36Dylan Baker2022-08-111-0/+441
|
* zink: do not use VK_FORMAT_D32_SFLOAT_S8_UINT without checkingErik Faye-Lund2022-08-112-2/+3
| | | | | | | | | | 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 <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17953> (cherry picked from commit 3340dea1941885e85087bd35b6261dfee8148722)
* zink: add have_D32_SFLOAT_S8_UINT booleanErik Faye-Lund2022-08-113-3/+5
| | | | | | | | | This will be reused in the following commit. Cc: mesa-stable Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17953> (cherry picked from commit 71c1ca3c67bc64ba1d74841fa664b0ee0e045c11)
* zink: Make sure that we keep the existing ici pNext chain on inserts.Emma Anholt2022-08-112-5/+2
| | | | | | | | | | | | 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 <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17900> (cherry picked from commit 8dda0a01bb3ea5a618a73ea4e506cb61e68e6d0c)
* amdgpu/bo: update uses_secure_bos when importing buffersPierre-Eric Pelloux-Prayer2022-08-112-1/+2
| | | | | | | Fixes: 90b98c06493 ("amd/tmz: move uses_secure_bos to radeon_winsys") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11449> (cherry picked from commit a693fbf64b84ed6364984c45dc3255b71063c6dc)
* docs: fixup link to virgl docsErik Faye-Lund2022-08-112-2/+2
| | | | | | | Fixes: 6897266ce01 ("docs: import virgl docs") Acked-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17881> (cherry picked from commit 1a3b086b06c6c1ff63a4abe3752ca0a7a854dc77)
* tu: Fix sysmem depth attachment clear flushingConnor Abbott2022-08-112-1/+2
| | | | | | | | | | | | 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)
* aco: fix LdsBranchVmemWARHazard with 2+ branch chainsRhys Perry2022-08-112-1/+4
| | | | | | | | | | | | | | | | | | | | | 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 <pendingchaos02@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Fixes: c037ba1bb7a ("aco/gfx10: Mitigate LdsBranchVmemWARHazard.") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17697> (cherry picked from commit b17e59a03b2c31460145b691dc5b39b13e340003)
* agx: Fix packing of samplers in texture instrsAlyssa Rosenzweig2022-08-112-2/+2
| | | | | | | | | | | | | | 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 <alyssa@rosenzweig.io> Suggested-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17198> (cherry picked from commit 47a3f1226c84d2783358737c2d3ca0040f29ed43)
* virgl: Fix unmapping of blob resourcesDmitry Osipenko2022-08-112-1/+13
| | | | | | | | | | | | | | | | 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 <dmitry.osipenko@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17914> (cherry picked from commit 46396e97bea603a5cef8177b66a760a11a78af2a)
* freedreno/drm: Fix potential bo cache vs export crashRob Clark2022-08-112-2/+2
| | | | | | | | | | | | | | | | 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 <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17888> (cherry picked from commit 8b3f2a9e5d49098a921de643916dd693f569d1bc)
* radeonsi: don't assume that TC_ACTION_ENA invalidates L1 cache on gfx9Marek Olšák2022-08-112-3/+3
| | | | | | | | | | | | | 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 <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17902> (cherry picked from commit 279315fd73e981f0c8876811327bcee0f0ccf7a3)
* anv: fixup PIPE_CONTROL restriction on gfx8Lionel Landwerlin2022-08-112-1/+19
| | | | | | | | | | | | | 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 <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16905> (cherry picked from commit 5e21f474288e2159c80a80fa20e7b473056df939)
* draw: don't touch info values that aren't valid.Dave Airlie2022-08-112-6/+9
| | | | | | | | | | These shouldn't be accessed, and shows up as an uninit access in valgrind with piglit rasterpos Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10641> (cherry picked from commit 5449e6d14c872c21f1a8acb05252aef7b31a77f4)
* zink: add all format modifiers when adding for dmabuf exportMike Blumenkrantz2022-08-112-3/+4
| | | | | | | | | | | 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 <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775> (cherry picked from commit 247b8f2924b7832d8520e890cff6891217f5a860)
* zink: don't add modifiers if EXT_image_drm_format_modifier isn't presentMike Blumenkrantz2022-08-112-2/+2
| | | | | | | | cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775> (cherry picked from commit 5e8ec87b68035ceba742b245a25e83e4adaae270)
* zink: use modifier_aspect to check for modifier plane in zink_resource_get_paramMike Blumenkrantz2022-08-112-2/+2
| | | | | | | | cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775> (cherry picked from commit c824a53f352823786967260cfe387a839c28dc9d)
* zink: demote dmabuf tiling to linear if modifiers aren't supportedMike Blumenkrantz2022-08-112-2/+2
| | | | | | | | | | this is effectively the same as LINEAR, and it still allows dmabuf creation cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775> (cherry picked from commit b59eb9c8b791e59cadca161f952ae2ef4473ebe4)
* nine: check return on resource_get_handleMike Blumenkrantz2022-08-112-6/+9
| | | | | | | | | | | this has a return code, and if it return false, this is probably an exit condition cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775> (cherry picked from commit 188721d6d3d4cab9b0ca8fa419e4c33a33ae3910)
* zink: drop mode_changed check from linewidth/depthbias draw updatesMike Blumenkrantz2022-08-112-2/+2
| | | | | | | | | | | this doesn't need to be updated on primtype change since it's always set cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775> (cherry picked from commit a912952c3ea8f4191abc83e3638c6f09341ef15b)
* zink: init cache_put program fence on program creationMike Blumenkrantz2022-08-113-2/+3
| | | | | | | | | | re-initializing here might overwrite an existing cache_put job cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17225> (cherry picked from commit 3d58642984cb4df1fff6f4915f8d8fbc5d038d41)
* bin/gen_release_notes.py: bump advertised vulkan version to 1.3Eric Engestrom2022-08-112-2/+2
| | | | | | | | | Fixes: df8ac77af8093c87d5d5 ("anv: Advertise Vulkan 1.3") Fixes: 08c6f437cf63234f4a5d ("radv: advertise Vulkan 1.3") Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17759> (cherry picked from commit 446d2039cb718ca9cf6428f0685c8dfe462b65d1)
* zink: handle mutable swapchain images with dmabufMike Blumenkrantz2022-08-112-21/+65
| | | | | | | | | | | 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 <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17773> (cherry picked from commit 28ee911ad67192bc7a0683b6061b89e372482faf)
* iris: Make the D16 reg mode single-sampledNanley Chery2022-08-112-8/+10
| | | | | | | | | | | | | | | | Wa_14010455700 is dependent on the format and sample count, but our code to track whether or not it had been applied was only dependent on the format. As a result, we failed to enable the workaround when an app used a D16 2xMSAA buffer, then a D16 1xMSAA buffer right afterwards. Make the workaround tracking code sample-dependent to fix this. Cc: mesa-stable Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17859> (cherry picked from commit a75cd15b94d909417c70612a493bcde9964a1284)
* anv: Make the D16 reg mode single-sampledNanley Chery2022-08-113-8/+10
| | | | | | | | | | | | | | | | Wa_14010455700 is dependent on the format and sample count, but our code to track whether or not it had been applied was only dependent on the format. As a result, we failed to enable the workaround when an app used a D16 2xMSAA buffer, then a D16 1xMSAA buffer right afterwards. Make the workaround tracking code sample-dependent to fix this. Cc: mesa-stable Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17859> (cherry picked from commit e7419c11ae44ee90c076ab13142e56a6709aa39a)