summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* VERSION: bump for 22.3.7mesa-22.3.7Eric Engestrom2023-03-081-1/+1
|
* docs: add release notes for 22.3.7Eric Engestrom2023-03-082-0/+188
|
* radv: disable DCC with signedness reinterpretation on GFX11Samuel Pitoiset2023-03-082-6/+10
| | | | | | | | | | | | | | | | | All formats should be compatible on GFX11 but for some weird reasons DCC with signedness reinterpretation doesn't work as expected, like R8_UINT<->R8_SINT. Note that RadeonSI also has issues with this. This might be a hardware bug on RDNA3. This fixes DCC issues with Cyberpunk and A Plague Tale: Requiem. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8020 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8371 Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21755> (cherry picked from commit e6735409eefaec52ef78acecd3f3e7c310c63887)
* radv: fix defining RADV_USE_WSI_PLATFORMSamuel Pitoiset2023-03-083-6/+6
| | | | | | | | | RADV_USE_WSI_PLATFORM was unused in radv_CreateImage(). Fixes: 2a5d7f4926c ("radv: fix missing implementation of creating images from swapchains") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21763> (cherry picked from commit c87c34bbba3b0d0890c050d34f4b7165b29b7326)
* radv: fix border color swizzle for stencil-only format on GFX9+Samuel Pitoiset2023-03-082-1/+7
| | | | | | | | | | | | Swizzle of 8-bit stencil format is defined as _x__ but the hw expects BC_SWIZZLE_XYZW. Fixes dEQP-VK.pipeline.monolithic.sampler.border_swizzle.*s8_uint*. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21482> (cherry picked from commit 7b2086d741920ec302d0e8830242f4555948583b)
* ac/surface: only adjust pitch if surf_pitch was modifiedYogesh Mohan Marimuthu2023-03-082-3/+7
| | | | | | | | | | | | | | | | | | | Modifying pitch for all LINEAR surface isn't correct; the original change that modified surf_pitch was only intended for YUV textures. This fixes vkGetImageSubresourceLayout rowPitch return value for VK_FORMAT_BC3_UNORM_BLOCK + VK_IMAGE_TILING_LINEAR. Fixes: fcc499d5 (ac/surface: adjust gfx9.pitch[*] based on surf->blk_w) v2: add check for UYVY format (Pierre-Eric) v3: move blk_w division to above if check (Pierre-Eric) Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21595> (cherry picked from commit 347a5b79f974a99874e12ad1806850295995c823)
* radv: fix incorrect stride for primitives generated query with GDSSamuel Pitoiset2023-03-082-6/+13
| | | | | | | | | | When the query pool uses GDS (for NGG), the stride is 40. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8412 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21650> (cherry picked from commit c119b19f98dcaccb8802fb14f24b4f9b7574fceb)
* nir: fix nir_ishl_immLionel Landwerlin2023-03-082-3/+2
| | | | | | | | | | | | | | | | | | Both GLSL & SPIRV have undefined values for shift > bitsize. But SM5 says : "This instruction performs a component-wise shift of each 32-bit value in src0 left by an unsigned integer bit count provided by the LSB 5 bits (0-31 range) in src1, inserting 0." Better to not hard code the wrong behavior in NIR. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: e227bb9fd5 ("nir/builder: add ishl_imm helper") Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@colllabora.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21720> (cherry picked from commit a278eeb71974a89b6dd7c0fa3dbfe97183aeb657)
* rusticl/kernel: Images arg sizes also have to match the host pointer sizeKarol Herbst2023-03-082-2/+6
| | | | | | | | Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8267 Fixes: b0d698c5328 ("rusticl: correctly check global argument size") Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21604> (cherry picked from commit 4c24ff0a3417c47fad64b587625b88c9d1fc1fd3)
* zink: propagate valid_buffer_range when replacing buffer storageMike Blumenkrantz2023-03-082-1/+2
| | | | | | | | | this is otherwise unreliable cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739> (cherry picked from commit a4b1ae1f03c422957cb16a6c57cec5e9f90eab95)
* zink: fix descriptor update flagging on null ssbo setMike Blumenkrantz2023-03-082-2/+3
| | | | | | | | | | | | this could unset the update flag if the last ssbo was null, which would be a bug if it could ever be triggered found by inspection cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739> (cherry picked from commit 7145ccfa0596a2c4adb707f657161fe3ba5e09af)
* zink: only add deferred barrier on fb unbind when layout needs to changeMike Blumenkrantz2023-03-082-2/+3
| | | | | | | | | | | this otherwise may have been a surface that was never drawn to or already had its layout corrected, in which case a deferred barrier is not only unnecessary, it might be broken cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739> (cherry picked from commit e0dfe058c4c86e23569d82adc75369d5930d8a1a)
* nouveau: Fix null dereference in nouveau_pushbuf_destroySam Edwards2023-03-082-1/+3
| | | | | | | | | | | This may happen if the Nouveau device fails to initialize before the pushbuf is set up; the abort logic will call this either way. Signed-off-by: Sam Edwards <CFSworks@gmail.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21611> (cherry picked from commit 9de997bde67df43a9e10a05f9b48419ee4cfec25)
* zink: unbind fb on context destroyMike Blumenkrantz2023-03-082-1/+4
| | | | | | | | | | | | | | this ensures that batch refs are added for fb surfaces on unbind, which prevents stale batch tracking from persisting on resources after the context is destroyed fixes: *EGL.functional.render.multi_context* cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21727> (cherry picked from commit 62f1a8a3a62efb8370dc51a20244ab23bc60a3b8)
* raseonsi/vcn: fix a h264 decoding issueRuijing Dong2023-03-082-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reason: some h264 streams have some strange pictures, from vaapi input these pictures don't have a reference frame, however, they are not intra only pictures, in MB layer these pictures are looking for some references, if they cannot find it. It could cause PF. when reference pictures exist, it will need to set used_for reference_flags, therefore if that is set, however the number of reference frames is zero, which is odd, it should be avoided. solution: In the above case, to scan the ref list so that it will make at least one reference available to avoid crash, since this is not accurate enough, it could cause some artifacts. And in that case, it will need to be checked individually for another solution. closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1462 closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8401 Cc: mesa-stable Tested-by: llyyr <llyyr.public@gmail.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21732> (cherry picked from commit 0f3370eede23284c09abdaa46714d7c4c795ecd4)
* .pick_status.json: Mark bb796f70a144e9c88ab46e6fb08be5895ca7a689 as denominatedEric Engestrom2023-03-081-1/+1
|
* zink: fix zink_resource_access_is_write()Mike Blumenkrantz2023-03-082-2/+2
| | | | | | | | | | this was accurately returning whether the access had only write flags, but it was incorrectly returning false for READ|WRITE cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21583> (cherry picked from commit 5be506c16ece8c62b84e21a625db9d36bc489982)
* r600/sfn: Fix atomic loweringGert Wollny2023-03-082-15/+22
| | | | | | | | | Fixes: 56dedf052f4af1903a0d312eb9c7721c69f36c69 r600/sfn: add r600 specific lowering pass for atomics and use it Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21684> (cherry picked from commit 9b09f244f071c67bceca40695ca72518fb370581)
* anv: fix incorrect parameterLionel Landwerlin2023-03-082-2/+2
| | | | | | | | | | | | cmd_buffer_update_dirty_vbs_for_gfx8_vb_flush takes a value RANDOM/SEQUENTIAL. Not a boolean. Fortunately this worked okay because true == RANDOM Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20497> (cherry picked from commit 4246a519f3b900fa64b722f76d0808ca899d668e)
* anv: pull Wa_14016118574 out of some loop not changing stateLionel Landwerlin2023-03-082-7/+11
| | | | | | | | | | | | | | | | | | The WA is meant to be here to apply some state that is not propagated properly inside the HW. But if you have a loop like : for ( ... ) { emit(3DPRIMITIVE, some param); } You're not really changing any state, just push more draws into the pipeline. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: f2645229c2 ("anv: implement Wa_14016118574") Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21660> (cherry picked from commit 6ee7a2ecfa11ba77af79583b529696de643af165)
* radeonsi: don't merge SET_* packets that have a different index in si_pm4_stateMarek Olšák2023-03-083-2/+4
| | | | | | | | | | Oops. Fixes: c8e2c6faf64 ("radeonsi: use SET_SH_REG_INDEX with index=3 for registers containing CU_EN") Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21641> (cherry picked from commit 3a26d2b1a7f81ae719037cd734ac776a3c6ab65b)
* radv: fix DCC decompress on GFX11Samuel Pitoiset2023-03-082-2/+6
| | | | | | | | | | | | | The hardware requires one color output to be set by CB registers, otherwise the DCC decompression does nothing. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8127 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8175 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8370 Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21629> (cherry picked from commit 4ec6850210d1a8ff2549df7800f414bc9b604edb)
* zink: disable queries for clear_texture()Mike Blumenkrantz2023-03-082-1/+5
| | | | | | | | | this otherwise can do weird things cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21628> (cherry picked from commit f7d1fff23fc6c316f591a4e934079dd707b1a996)
* wsi/display: check alloc failure in wsi_display_alloc_connector()Yogesh Mohan Marimuthu2023-03-082-1/+3
| | | | | | | | | | | | | | | | vulkancts test dEQP-VK.wsi.direct_drm.surface.create_simulate_oom is failing because in wsi_display_alloc_connector() function memory allocation for connector is not checked for return NULL. create_simulate_oom test simulates out of memory, hence memory allocation fails for connector and later when tried to dereference connector program will segfault. This patch fixes the dEQP-VK.wsi.direct_drm.surface.create_simulate_oom test segfault issue by checking if connector is NULL afer memory allocation. Cc: mesa-stable Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21701> (cherry picked from commit af953616a10ad8b122b1d3906b855c0a5f9fbfa7)
* d3d12: VP9 Decode - Fix use_prev_in_find_mvs_refs calculationSil Vilerino2023-03-082-3/+9
| | | | | | | | Fixes: c8e8ce83 ("d3d12: Add VP9 Decode support") Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21694> (cherry picked from commit fb82371558a5f8c0293079e2de292e7723c90915)
* frontend/va: Keep track of some VP9 previous frame data for current frame ↵Sil Vilerino2023-03-083-1/+7
| | | | | | | | | | use_prev_in_find_mvs_refs Fixes: c8e8ce83 ("d3d12: Add VP9 Decode support") Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21694> (cherry picked from commit 6fea823dc0a3accfc6e0cdae26ac88a08b806c61)
* anv: remove pre hasvk split assertLionel Landwerlin2023-03-082-2/+1
| | | | | | | | | | | With softpin we should not always expect a BO in addresses. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20497> (cherry picked from commit f5dc88910f4345260ca3b491d66c3fc0cd0fb452)
* anv: fixup condition for Wa_14016118574Lionel Landwerlin2023-03-082-2/+2
| | | | | | | | | | We don't want the WA to kick-in if it's not point/line topology. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: f2645229c2 ("anv: implement Wa_14016118574") Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21660> (cherry picked from commit d82e8e01c8b570a4988bd6e46d9510f3b6872aa4)
* hasvk: Disable non-zero fast clears for 8xMSAA imagesVäinö Mäkelä2023-03-082-1/+8
| | | | | | | | | | | | | | | | Using texelFetch to read samples from an 8xMSAA fast cleared image on Haswell can read transparent black pixels around triangles from where there should be none. This issue isn't present when using sample shading, resolving the image using vkCmdResolveImage or in a copy the image. The easiest way to fix this is by just disabling non-zero fast clears for 8xMSAA images. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7587 Cc: mesa-stable Reviewed-by: Filip Gawin <filip@gawin.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21444> (cherry picked from commit e509afacf3fb277f944f6d4ebf9d88d4a27c6df6)
* radv: SDMA v4 size field is size - 1Tatsuyuki Ishi2023-03-082-2/+2
| | | | | | | | | | | | After cross-checking with kernel and the old buffer copy code, it seems that the size field should be size - 1 instead. Fixes: 7b5ab48c40b ("radv: partial sdma support") Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21585> (cherry picked from commit e9a55b332a3fb5acfc551f10f30f7d0961e85f27)
* radeonsi: SDMA v4 size field is size - 1Tatsuyuki Ishi2023-03-082-2/+2
| | | | | | | | | | | | After cross-checking with kernel and the old buffer copy code, it seems that the size field should be size - 1 instead. Fixes: 46c95047bd7 ("radeonsi: implement si_sdma_copy_image for gfx7+") Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21585> (cherry picked from commit 4f50497a96808e08243a38ff34e78a2186168425)
* .pick_status.json: Mark 646cff13bca8a92b846984d782ef00e57d34d7a1 as denominatedEric Engestrom2023-03-081-1/+1
|
* amd,ac/rgp: fix SQTT memory typesSamuel Pitoiset2023-03-083-7/+15
| | | | | | | | | | | | | This crashed on Steam Deck because the memory type is LPDDR5 and it wasn't not handled in the switch. It seems the kernel changed the memory type returned for VanGogh because it used to work. Fixes: aef7ea868fe ("ac/gpu_info: handle LPDDR4 and 5 in ac_memory_ops_per_clock") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21627> (cherry picked from commit f19fccd9f8c368336a60ecfe94d3ef9565bc26dc)
* venus: fix VK_EXT_image_view_min_lod feature queryYiwei Zhang2023-03-082-1/+2
| | | | | | | | Fixes: 8b810985196 ("venus: enable VK_EXT_image_view_min_lod") Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21617> (cherry picked from commit 054a83492df63ad8404590eae36e949b8df04852)
* genxml: fix border color offset field on Gfx12+Lionel Landwerlin2023-03-083-3/+3
| | | | | | | | | | | | | I wonder if the docs are correct for Gfx11 because this is the generation that gave us the Bindless Sampler Heap of 4Gb. So it would make sense that the border colors can also be placed anywhere in that 4Gb heap. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21600> (cherry picked from commit 42e8a2c1d6ba3cae31c9829e94b2d3c48c40ab7d)
* genxml: Fix STATE_BASE_ADDRESS::BindlessSurfaceStateSize field sizeLionel Landwerlin2023-03-082-2/+2
| | | | | | | | | | BSpec 44507 Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21600> (cherry picked from commit 58b687d77b2f28e1b1159bcefefb2717554c7e3d)
* llvmpipe: fix compute address bits to return native pointer size.Dave Airlie2023-03-082-2/+2
| | | | | | | | | On 32-bit systems llvm will only be dealing with 32-bit ptrs Reviewed-by: Karol Herbst <kherbst@redhat.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21601> (cherry picked from commit 53dda476a9e33503432b1f2d0b7da814377bb848)
* radv: fix draw calls with 0-sized index buffers and robustness on NAVI10Samuel Pitoiset2023-03-082-21/+36
| | | | | | | | | | | | The correct workaround is to bind an internal index buffer to handle robustness2 correctly. Fixes dEQP-VK.robustness.index_access.* in CTS 1.3.5.0 on NAVI10. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21471> (cherry picked from commit c356f1b4edc942f8c62125d01b7ddb886b72bbb7)
* radv: fix flushing non-coherent images in EndCommandBuffer()Samuel Pitoiset2023-03-082-2/+2
| | | | | | | | | | | The condition was inverted. This doesn't fix anything known. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21549> (cherry picked from commit 7c62f6fa01d7c0d9d7eabec1c545950af20d0c92)
* radv: fix flushing non-coherent images inside secondaries on GFX9+Samuel Pitoiset2023-03-082-1/+3
| | | | | | | | | | | Fixes dEQP-VK.draw.dynamic_rendering.complete_secondary_cmd_buff.multi_draw.mosaic.* on VEGA10 (related to the use of HTILE). Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21549> (cherry picked from commit 6750a9094f632567534a2cbdd71ff23944647667)
* glapi/meson: drop duplicate line in depsEric Engestrom2023-03-082-2/+1
| | | | | | | | Fixes: 0842bc879b34414de54b ("meson: wire the new generator for es1 and es2") Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21562> (cherry picked from commit c9f3ba987fee21819a891ba588ba2dd84dab580e)
* util: rzalloc and free hash_table_u64Dylan Baker2023-03-082-8/+5
| | | | | | | | | | | | | | Otherwise we're prone to leaking the table itself, since it's not freed in the destroy function CID: 1516552 fixes: 6649b840c34016b4753e69d4513a8d09da9febb2 ("mesa/util: add a hash table wrapper which support 64-bit keys") Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21499> (cherry picked from commit ff494361bee7506db701cb861073ab194ae3a6e9)
* zink: remove suspended queries from list before resumingMike Blumenkrantz2023-03-082-2/+2
| | | | | | | | | | this avoids double-starting primgen queries from recursion when needs_rast_discard_workaround is true cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21534> (cherry picked from commit 96f7fe71913707886cd779e9b35f6067a32b55e5)
* gallivm: Fix handling of nir_intrinsic_scoped_barrierCaio Oliveira2023-03-082-2/+5
| | | | | | | | | | A scoped barrier only has a control barrier behavior if there's an execution scope. Fixes: 13d900de0dcf ("llvmpipe: set nir_shader_compiler_options::use_scoped_barrier") Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3339> (cherry picked from commit 2178a8da51fee6dc266541c468de58e66b7b0e17)
* aco: always update orig_names in get_reg_phi()Rhys Perry2023-03-082-6/+3
| | | | | | | | | | | | | | No idea why this wasn't done if pc.first was a renamed temporary. Fixes navi10 RA validation error with dEQP-VK.binding_model.descriptor_buffer.multiple.graphics_geom_buffers1_sets3_imm_samplers Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8349 Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21501> (cherry picked from commit 75d9a4a6ce5957803963a1df2c18b34991c62506)
* radv: split linker script for android since it requires different symbolsEric Engestrom2023-03-084-8/+24
| | | | | | | | | | Fixes: 4956f6d0bf477568731f ("radv: Add Android module info to linker script.") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8338 Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21518> (cherry picked from commit 735df516e9ccbaea57f34942388e164ad04e6b02)
* zink: avoid adding ubo/ssbo bindings multiple times for different bitsizesMike Blumenkrantz2023-03-082-8/+14
| | | | | | | | | these are valid variables, but the descriptor binding needs to be unique cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21522> (cherry picked from commit a7b98dd4be8946856da8e6fe1a33758d864b5775)
* zink: fix shader read access removal for barrier generationMike Blumenkrantz2023-03-082-3/+4
| | | | | | | | | barrier access is based on total binds per gfx/compute, not per stage cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21522> (cherry picked from commit ddb116d75517070876155bb5e050b66eaa96fa8f)
* anv: stop tracking color blend state in the pipelineIván Briano2023-03-084-85/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that all color blend bits are dynamic, emit_cb_state() is doing almost nothing and half of that is wrong. In the case that color write enable is dynamic, at the time the pipeline state is emitted, it sees all the color attachments as having write disabled and stores the WriteDisabled bit for each channel. When all dynamic state is flushed, we have the right values already but the values recorded into the command buffer get ORed with the ones stored in the pipeline, and so WriteDisabled tag along when they shouldn't. Since all disabled color attachments are handled already when dynamic state is flushed, there's no point in doing so at pipeline creation time too. And since the only other thing done by emit_cb_state() is writing three hardcoded values, they might as well be taken care of in the same place as everything else. Fixes CTS from the future: dEQP-VK.pipeline.*.extended_dynamic_state.*.color_blend_equation_*dynamic* dEQP-VK.pipeline.*.extended_dynamic_state.*.color_blend_all_* Fixes: fc3fd7c69e8 (anv: dynamic color write mask) Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21509> (cherry picked from commit b71957635f1ef890cef954cf5b8493b7e62bf728)
* anv: fix testing for dynamic color blend bitsIván Briano2023-03-082-2/+3
| | | | | | | | | | Fixes: fc3fd7c69e8 (anv: dynamic color write mask) Fixes: 9dc6bed9a10 (anv: dynamic state for logic op enable) Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21509> (cherry picked from commit dd5c6446b4f7a4f8a969ec9d932242f7c6a703eb)