URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ff1f429c32fd023542566fcc0d32dd2e3845b3b
Author: Roman Stratiienko <[email protected]>
Date:   Mon Nov 28 12:21:06 2022 +0200

    meson: Enable system_has_kms_drm for android
    
    This allows to build libgbm when  system = 'android'  is set in
    the cross_file.
    
    Cc: "22.3" "22.2" mesa-stable
    Signed-off-by: Roman Stratiienko <[email protected]>
    Acked-by: Mauro Rossi <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20033>
    (cherry picked from commit 09ac29cca9bf7978911f81bcfce12ce71c260a97)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab71151624c8d8bb68c06dc2862cf40411f85099
Author: Karol Herbst <[email protected]>
Date:   Fri Nov 25 01:56:07 2022 +0100

    nir/lower_int64: fix shift lowering
    
    Starting with !19748 lowered 64 bit shifts were showing wrong results for
    shifts with insignificant bits set.
    
    nir shifts are defined to only look at the least significant bits. The
    lowering has take this into account.
    
    So there are two things going on:
    1. the `ieq` and `uge` further down depend on `y` being masked.
    2. the calculation of `reverse_count` actually depends on a masked `y` as
       well, due to the `(iabs (iadd y -32))` giving a different result for
       shifts > 31;
    
    Fixes: 41f3e9e5f5d ("nir: Implement lowering of 64-bit shift operations")
    Signed-off-by: Karol Herbst <[email protected]>
    Reviewed-by: Rhys Perry <[email protected]>
    Reviewed-by: Ian Romanick <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19995>
    (cherry picked from commit 5398dd04bf62db100639d96c84a8c41041f4ad01)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f73fc14febefc29b5aa3b3d70bbd8c2184405159
Author: Sajeesh Sidharthan <[email protected]>
Date:   Thu Nov 24 13:59:46 2022 -0800

    radeonsi/vcn: set current pic index correctly
    
    video corruption observed while running decode test for av1
    content in chromeos.
    
    solution is when target buffer is found in render pic list and when
    target codec is null, set curr_pic_indx as index to the
    pic in render pic list.
    
    Cc: mesa-stable
    Signed-off-by: Sajeesh Sidharthan <[email protected]>
    Reviewed-by: Boyuan Zhang <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20000>
    (cherry picked from commit 8b99e96dc8b44a747824b9d227a72e68012ec520)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c837ae50278d0550e306080fad2655bca4544558
Author: Jessica Clarke <[email protected]>
Date:   Wed Nov 30 00:11:45 2022 +0000

    panfrost/blend: Fix invalid const values leading to NIR validation errors
    
    Using a designated initializer like this leaves padding bits, which form
    part of the aliasing u64/f64 member of the union, uninitialised, but a
    nir_const_value must always have the unused bits zeroed out. Thus, use
    the nir_const_value_for_float helper instead like everywhere else which
    will do a memset 0 for us first.
    
    Without this, using the pan_blend shader in a build with validation
    enabled fails with:
    
      NIR validation failed after nir_lower_vars_to_ssa
      ...
                vec4 32 ssa_58 = load_const (0x3f7cfcfd /* 0.988235 */, 
0x3f7cfcfd /* 0.988235 */, 0x3f7cfcfd /* 0.988235 */, 0x3f800000 /* 1.000000 */)
      error: memcmp(val, &cmp_val, sizeof(cmp_val)) == 0 
(../src/compiler/nir/nir_validate.c:976)
    
    Fixes: 1378c67bcf9e ("panfrost/blend: Inline blend constants")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20071>
    (cherry picked from commit 750325730bb84981f68d78b205fb0cec1e165100)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=17914b178552e5f53d69db99baa6dd1da1279d09
Author: Connor Abbott <[email protected]>
Date:   Tue Nov 29 14:30:00 2022 +0100

    ir3: Don't save/restore disasm string pointer
    
    It's not in the key, so it randomly may or may not be present, and if it
    is present then we don't actually save/restore the contents, so we will
    save/restore random pointer values from the last run. Turnip already
    disables searching the shader cache when assembly is requested, but
    still wrote the final ir3_shader_variant which resulted in trying to
    save random stale pointers when saving off the executable if a
    subsequent compile hit that cache entry.
    
    This fixes flakes in
    
dEQP-VK.pipeline.pipeline_library.shader_module_identifier.pipeline_from_id.*
    for me.
    
    Fixes: 56909868cd1 ("turnip: implement 
VK_KHR_pipeline_executable_properties")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20056>
    (cherry picked from commit 8ba2d612d51497b274ff9c4213e1c373b9bb1ca5)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c982c7f97e6ec0deeada2916e9739939d5d8726
Author: Dylan Baker <[email protected]>
Date:   Wed Nov 30 09:16:04 2022 -0800

    .pick_status.json: Update to cf841cdd0bcf0784fb6a4301e624e12f3502ba5a

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1716fe20e45e8e46526fab6cd53537caf38d403
Author: Christopher Egert <[email protected]>
Date:   Tue Nov 29 19:13:11 2022 +0100

    virgl: add missing members in virgl_caps_v2 in 22.2
    
    The cherry pick 3ae1f012 adds max_uniform_block_size to the virgl_caps_v2 
struct
    without the video_caps, so max_uniform_block_size contains the wrong
    data which regresses OpenGL 4.3 down to 3.0.
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20065>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cfea392a70f82a570862fcaefb3005f9a0e7662
Author: Lucas Stach <[email protected]>
Date:   Thu Nov 17 15:56:40 2022 +0100

    etnaviv: fix wrong surface TS clear size
    
    Clearing ts_size - ts_offset bytes in a level means we are clearing the
    TS region of all layers in the level starting from the surface layer, so
    clearing one surface might corrupt all other layers of a resource level.
    Use the correct size to clear only the requested TS region.
    
    Cc: mesa-stable
    Signed-off-by: Lucas Stach <[email protected]>
    Reviewed-by: Christian Gmeiner <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19814>
    (cherry picked from commit b6fa3cdb0e693f49cdc278ed5923bb9dc048ccbb)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f0859c9b818e7b236bdb10e63305dd9f99aa2b2
Author: Lucas Stach <[email protected]>
Date:   Thu Nov 17 15:50:59 2022 +0100

    etnaviv: blt: use correct TS offset in clear operations
    
    Using the ts_offset from the level means we are always clearing the
    TS region of layer 0 of the level. Use the correct offset which takes
    into account the layer offset.
    
    Cc: mesa-stable
    Signed-off-by: Lucas Stach <[email protected]>
    Reviewed-by: Christian Gmeiner <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19814>
    (cherry picked from commit d9e2a7d6adace0a794c7147f0a5bab43277e5fa6)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=52fcbca2569b86b479df326cf2d28e101b81dae6
Author: Sviatoslav Peleshko <[email protected]>
Date:   Thu Nov 17 22:59:20 2022 +0200

    driconf/intel: Use fake vendor to WA bad detection in Source engine games
    
    Source engine uses flawed device detection in Linux native OpenGL backend,
    which causes it to use bad configurations for Intel devices and thus
    not always render correctly. Workaround this by using vendor string that
    does not include "Intel" in it.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7725
    Signed-off-by: Sviatoslav Peleshko <[email protected]>
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19828>
    (cherry picked from commit 478ffe712765b5746482d37df32fff36e12192ef)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=78ad580508fa4e79fbd4cbd70ee5703f2fcc2db3
Author: Bas Nieuwenhuizen <[email protected]>
Date:   Tue Nov 22 00:07:43 2022 +0100

    vulkan: Remove asserts that weren't valid for RADV ETC2 emulation.
    
    Wasn't caught when radv was modified to use these helpers ...
    
    Tried to move the aspects assert so it still checks application inputs.
    
    Fixes: d9048e31a0d ("radv: Use vk_image_view as the base for 
radv_image_view")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19914>
    (cherry picked from commit 13d755441c7b648e4f6671d833a6d58ada9ae32d)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d358aa936b7af02f09c3309df182650ba66f7ce
Author: Bas Nieuwenhuizen <[email protected]>
Date:   Mon Nov 21 23:38:53 2022 +0100

    radv: Fix sampler types in ETC2 decode.
    
    Otherwise we'd have a type mismatch vs texture fetches, which
    is asserted upon these days.
    
    Fixes: 1153db23f58 ("radv: Add ETC2 decode shader.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19914>
    (cherry picked from commit eab61863c0bd6b08bfc7c28d96cd99f49856e449)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=db92251976d98452ae05f83c44e800f16a075a7f
Author: Bas Nieuwenhuizen <[email protected]>
Date:   Mon Nov 21 23:33:31 2022 +0100

    radv: Use correct init order for ETC2 image views
    
    Fixes: d9048e31a0d ("radv: Use vk_image_view as the base for 
radv_image_view")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19914>
    (cherry picked from commit c6ec4925c0688cef557beb65c280b28ef3185132)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fe5aa95cb5572a28c4794e45164abd0fa29706c
Author: Rhys Perry <[email protected]>
Date:   Wed Nov 23 20:41:29 2022 +0000

    ac/nir: mask shift operands
    
    NIR shifts are defined to truncate the shift amount to the number of bits
    needed to represent the bit-size of the value shifted. LLVM treats large
    shifts as poison. This fix achieves NIR semantics for shifts.
    
    As an example, a|(b << 32), where "a" is 32bits, should produce a|b
    according to NIR (because 32&31 == 0).
    
    This caused LLVM to incorrectly optimize "(a >> c) | (b << (32 - c))" to a
    u2u32(pack_64_2x32(a, b) >> c) (v_alignbit_b32), when the original NIR
    should have returned "a | b" if c==0.
    
    Signed-off-by: Rhys Perry <[email protected]>
    Reviewed-by: Mihai Preda <[email protected]>
    Reviewed-by: Qiang Yu <[email protected]>
    Reviewed-by: Marek Olšák <[email protected]>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19966>
    (cherry picked from commit 064336d35977abd0d5b6ed37784c6cc42cf4f66f)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=19e4daa0d1a1cda17907cd19201c6fe7f7463fc4
Author: Erik Faye-Lund <[email protected]>
Date:   Tue Nov 15 15:41:22 2022 +0100

    mesa: treat unsupported queries as dummies
    
    It's legal in OpenGL to start a query even if the result will have zero
    valid bits. It's not enough to just report zero bits, We need to also
    prevent calling down into the driver with these invalid queries.
    
    Because ARB_ES3_compatibility adds ANY_SAMPLES_PASSED and
    ANY_SAMPLES_PASSED_CONSERVATIVE to the set of queries that support zero
    bits, we also need to check for the corresponding indices.
    
    Fixes: 0186e9e1c51 ("mesa: always support occlusion queries")
    Reviewed-by: Soroush Kashani <[email protected]>
    Reviewed-by: Christian Gmeiner <[email protected]>
    Reviewed-by: Marek Olšák <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19750>
    (cherry picked from commit 1b1e8873fe90e878f014140b3b6bd1e5dbfb5a4c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=22325e5f7cd59583647fde1f697a17a034444a53
Author: Erik Faye-Lund <[email protected]>
Date:   Wed Nov 16 12:49:27 2022 +0100

    docs/zink: add missing required device-feature
    
    Seems I forgot to add this to the list of required features.
    
    Fixes: eb0195358c4 ("zink: only inspect dual-src limit if feature enabled")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779>
    (cherry picked from commit a2a0ac21e4f5a7c873e1bab05dee02a61171e378)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=161bb574c9fd8eb072a71b04e94fa82301a7c285
Author: Erik Faye-Lund <[email protected]>
Date:   Wed Nov 16 12:53:57 2022 +0100

    zink: fix incorrect requirements
    
    These were in the wrong list all along.
    
    Fixes: a466c2a7839 ("zink: check for stores and atomics features")
    Fixes: 2644835f039 ("zink: add missing required feature")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779>
    (cherry picked from commit 754353c4170918f592e499a370dc90c60c271cff)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=074803832bfbb0f59d9653877526968d2b91bd36
Author: Alyssa Rosenzweig <[email protected]>
Date:   Sat Oct 29 15:45:03 2022 -0400

    pan/mdg: Fix out-of-order execution
    
    We can go up to 15 instructions out of order (performance fix) but we
    can't go past a branch (bug fix).
    
    Fixes: 30a393f4581 ("pan/mdg: Enable out-of-order execution after texture 
ops")
    Signed-off-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19762>
    (cherry picked from commit 044428211c99be2ce362cc28e4596929958a5de6)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9154a88b11734ebd19c14e9193f5a048667ccb86
Author: Hans-Kristian Arntzen <[email protected]>
Date:   Wed Nov 23 12:40:00 2022 +0100

    vk/runtime: Fix narrowing of timeline signal and wait value to u32.
    
    They are u64. Fixes deadlock in
    dEQP-VK.wsi.xcb.present_id_wait.wait.past_no_timeout.
    
    Signed-off-by: Hans-Kristian Arntzen <[email protected]>
    Fixes: 9bffd81f1cb7 ("vulkan: Add common implementations of vkQueueSubmit
    and vkQueueWaitIdle")
    
    Reviewed-by: Marcin Ślusarz <[email protected]>
    Reviewed-by: Jason Ekstrand <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19951>
    (cherry picked from commit f2e535e4fed5bdc13e11a443316a4b77cd5eb81a)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a77b08ceaba816ea17e249d9e640c5b04ac3353
Author: Lionel Landwerlin <[email protected]>
Date:   Wed Nov 23 09:26:42 2022 +0200

    blorp: support negative offsets in addresses
    
    Similar to anv_address
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Fixes: 9c1c1888d989 ("intel/fs: put scratch surface in the surface state 
heap")
    Reviewed-by: Ivan Briano <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19946>
    (cherry picked from commit 20e8e1eb0658e68f44316e9ab27ddfa06096d66f)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=406624f017f4714a40e34586867038ab938d2f39
Author: Lionel Landwerlin <[email protected]>
Date:   Tue Aug 16 08:08:43 2022 +0000

    intel/fs: improve Wa_22013689345 workaround
    
    The initial implementation is a pretty big hammer. Implement the HW
    recommendation to minimize cases in which we need a fence.
    
    This improves by 10FPS on some of the Sascha Willems RT demos.
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Fixes: 6031ad4bf690 ("intel/fs: Add Wa_22013689345")
    Reviewed-by: Francisco Jerez <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19322>
    (cherry picked from commit 945637514e6e970fcc37745f509eec11ff3b5129)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=136f5893d6959e45eae93bc71e0b3d9e81ccb583
Author: Dylan Baker <[email protected]>
Date:   Mon Nov 28 12:59:14 2022 -0800

    .pick_status.json: Mark e74d989a6935ce11d06970a3c98b474b7773c905 as 
backported

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c8e184b0a8c61fe92971d8657123a82503532fe
Author: Marek Olšák <[email protected]>
Date:   Thu Nov 17 08:31:33 2022 -0500

    st/mesa: suppress async glthread flushing for GLX_EXT_texture_from_pixmap
    
    This might fix some window system issues.
    
    Fixes: 3da170faaec - glthread: change when glFlush flushes asynchronously
    
    Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19809>
    (cherry picked from commit d871958702ebcd46213cd09b91b9b05685f9be62)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e6fd24b7c50e68d679319f19d7a70a218fe2a5c
Author: Lucas Stach <[email protected]>
Date:   Fri Nov 18 12:24:58 2022 +0100

    etnaviv: fix tile status interaction with write mappings
    
    This fixes a longstanding bug in the interaction between TS and a write
    mapping. The write does not update TS regardless of the way the update
    is done. Update via etna_copy_resource would just set the target ts_valid
    to false without actually writing back any dirty TS to the resource.
    Writes via the CPU would update the resource, but keep ts_valid at true
    even if the tile status may now not match the actually written tiles of
    the resource anymore.
    
    Fix this by writing back a dirty TS to the target resource if needed
    before updating the level with the write data. Always invalidate TS,
    even when the update is done by the CPU.
    
    Cc: mesa-stable
    Signed-off-by: Lucas Stach <[email protected]>
    Reviewed-by: Christian Gmeiner <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19846>
    (cherry picked from commit 0fb813526e3b3be6cf8a866b084db044ccd0e103)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=39e9ea1419beb22ab7f4913b6d55f845f94d689a
Author: Gert Wollny <[email protected]>
Date:   Thu Nov 10 18:48:29 2022 +0100

    virgl: don't a use staging when a resources created with the shared flag
    
    There seems to be a problem with running firefox by using Xwayland that
    results in a shared resources being not always tagged as using staging.
    
    As a result one process tries to map the resource that was allocated as
    one that uses staging without actually using the staging resource, and
    hence the mapped range only accounts for the small region that we have
    to allocated because a zero-allocation doesn't work, but the application
    mapping the resource assumes that a properly sized range is mapped, and
    consequently this results in invalid memory access.
    
    To work around this issue disable creating staging for resources that
    are created by using shared binding. It is not clear to me whether this
    is the best fix, but it seems to quell the issue.
    
    Fixes: c9d99b7eec7ec14d6d71d381a424b6280d75a882
        virgl: Fix texture transfers by using a staging resource
    
    Related: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/291
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19655>
    (cherry picked from commit e496d24cb2d5339566c08c79a8aa7809c240613c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a18a8c04c6023f102c6864ebde8d6acbe1c2315d
Author: Alyssa Rosenzweig <[email protected]>
Date:   Thu Nov 24 18:18:42 2022 -0500

    panfrost: Revert "Require 64-byte alignment on imports"
    
    This reverts commit 811f8a19469722bea32f3c539b8cf0939fe3b057. As Alpine put 
it
    -- this is causing more problems than it's fixing. Hotfix to revert the
    offending commit until a more measured fix can be implemented.
    
    Closes: #7731
    Cc: mesa-stable
    Signed-off-by: Alyssa Rosenzweig <[email protected]>
    Reported-by: Jan Palus
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19993>
    (cherry picked from commit 4b19725ee525f6f0b5785436680cea63a21445a1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=47f16c734a71c8bb2f181eed250a866346372068
Author: Dylan Baker <[email protected]>
Date:   Mon Nov 28 11:47:59 2022 -0800

    .pick_status.json: Mark 81b4af28494c065c5646e3f61a72afd829d978c6 as 
backported

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=274c2006c30df712bf222ea7f009b1059d7b00cd
Author: Dylan Baker <[email protected]>
Date:   Mon Nov 28 11:47:16 2022 -0800

    .pick_status.json: Update to 7aa94efe827fa2b99490e04ce2f5c1a4d737871c

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=802d79c28045ecc55e26729ef7db70b6e42afb4d
Author: Yonggang Luo <[email protected]>
Date:   Wed Nov 9 11:24:32 2022 +0800

    meson: Fixes name_prefix for clover on mingw
    
    Cc: mesa-stable
    
    Signed-off-by: Yonggang Luo <[email protected]>
    Reviewed-by: Jesse Natalie <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19825>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2accd760fe655e0301385da22b737f3ed7addcd9
Author: Yonggang Luo <[email protected]>
Date:   Fri Nov 11 09:58:33 2022 +0800

    ci: Rename ci.yml to macos.yml for consistence with main branch
    
    Otherwise github actions would show a bit confusing
    
    Signed-off-by: Yonggang Luo <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19667>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8756ab0a145e4f4fcf5e7f4de540a9699fe40606
Author: Mauro Rossi <[email protected]>
Date:   Mon Nov 7 01:57:02 2022 +0100

    r600/sfn: allow building with clang 6 (Android 9)
    
    This is backport of mesa 23.0 commit 
e74d989a6935ce11d06970a3c98b474b7773c905
    with resolution of conflicts for mesa 22.2 branch
    
    static constexpr const 'value' is replaced by static function
    in all type_char template specializations
    to avoid the following building errors happening with clang 6
    
    
/home/utente/pie-x86_kernel/prebuilts/clang/host/linux-x86/clang-4691093/bin/ld.lld:
 error: undefined symbol: r600::type_char<r600::ExportInstr>::value
    >>> referenced by sfn_scheduler.cpp
    >>>               sfn_sfn_scheduler.cpp.o:(bool 
r600::BlockSheduler::collect_ready_type<r600::ExportInstr>(std::__1::list<r600::ExportInstr*,
 std::__1::allocator<r600::ExportInstr*> >&, std::__1::list<r600::ExportInstr*, 
std::__1::allocator<r600::ExportInstr*> >&)) in archive 
src/gallium/drivers/r600/libr600.a
    ...
    
/home/utente/pie-x86_kernel/prebuilts/clang/host/linux-x86/clang-4691093/bin/ld.lld:
 error: undefined symbol: r600::type_char<r600::RatInstr>::value
    >>> referenced by sfn_scheduler.cpp
    >>>               sfn_sfn_scheduler.cpp.o:(bool 
r600::BlockSheduler::collect_ready_type<r600::RatInstr>(std::__1::list<r600::RatInstr*,
 std::__1::allocator<r600::RatInstr*> >&, std::__1::list<r600::RatInstr*, 
std::__1::allocator<r600::RatInstr*> >&)) in archive 
src/gallium/drivers/r600/libr600.a
    clang-6.0: error: linker command failed with exit code 1 (use -v to see 
invocation)
    
    Cc: "22.2" "22.3" mesa-stable
    Reviewed-by: Gert Wollny <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19940>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=54848f18c0d7dc144112f877dd6bb7950f3146e2
Author: Bas Nieuwenhuizen <[email protected]>
Date:   Sat Nov 19 03:28:56 2022 +0100

    radv: Fix custom build id with C90 compilation.
    
    Seems some build configurations have problems with VLAs still.
    
    Fixes: 97641e5c942 ("radv: Add ability to override the build id for the 
cache.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19869>
    (cherry picked from commit 8d37ab6bfa0321674fe74cc4c76c21aa94d36840)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fdfe7751cec5f0f69238d39d56c1f8c2acf3f5b
Author: Qiang Yu <[email protected]>
Date:   Fri Nov 18 16:37:19 2022 +0800

    ac/llvm: fix 16bit varying llvm compile error
    
    Found when 16bit vec3 varying with llvm14 (not found
    when llvm15), one 32bit vec4 slot is filled like this:
      vec3[0] | undef
      vec3[1] | undef
      vec3[2] | undef
      undef   | undef
    
    LLVM error is for the elements with undef:
      %287 = insertelement float %280, half %279, i64 0
    
    After this change, we get:
      %287 = insertelement <2 x half> %280, half %279, i64 0
    
    Fixes: 279eea5bda2 ("amd/llvm: Transition to LLVM "opaque pointers"")
    Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
    Signed-off-by: Qiang Yu <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19848>
    (cherry picked from commit e3b1f26a2b83538eb175be28b2e785bbe626bf5f)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cba4b07aa0febbf9033d5156952d9a4e211d1773
Author: Lionel Landwerlin <[email protected]>
Date:   Wed Nov 16 17:34:08 2022 +0200

    nir/lower_shader_calls: wrap only jumps rather than entire code blocks
    
    Moving entire chunks of code into a dummy if block is causing issues
    in some situations. To work around the issue that we tried to fix in
    35d82ecf1e ("nir/lower_shader_calls: put inserted instructions into a
    dummy block") which is that we cannot cut and past a block of
    instruction that ends with a jump if there are more instruction behind
    where we're going to past. We can instead just wraps the jumps into
    dummy if blocks.
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Cc: mesa-stable
    Reviewed-by: Konstantin Seurer <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19820>
    (cherry picked from commit 3686d5a31291354eb836ce6ea757bf6fbf41ad5b)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f39b0c57c05d5038881d46e859691d0dd7be429
Author: Lionel Landwerlin <[email protected]>
Date:   Wed Nov 16 17:36:19 2022 +0200

    nir/lower_shader_calls: update metadata before validation
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Cc: mesa-stable
    Reviewed-by: Konstantin Seurer <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19820>
    (cherry picked from commit 96d84e2a77568e27af6fac90bd0ab81d932eecbd)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=094dffac9cb997baeaddef2ab66fdc1814c7d1a7
Author: Ian Romanick <[email protected]>
Date:   Thu Nov 17 12:47:59 2022 -0800

    nir/range_analysis: Set higher default maximum for max_workgroup_count
    
    Fixes: c2a81ebe19f ("nir: Add default unsigned upper bound configuration.")
    Closes: #7676
    Reviewed-by: Karol Herbst <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19835>
    (cherry picked from commit 2ba55ec504f8391775622c3753ddb03bdcd85aff)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=205767d5efa4e5cc82f565ec0c8a3124f3a15f24
Author: Lionel Landwerlin <[email protected]>
Date:   Wed Nov 16 15:53:26 2022 +0200

    nir/lower_explicit_io: fix metadata preserve
    
    This pass can insert if blocks, therefore no dominance/block_index for
    you.
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Cc: mesa-stable
    Reviewed-by: Konstantin Seurer <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19818>
    (cherry picked from commit 723b15fb75aac03b95d452ba173383666edcfc67)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c061e1b46de24e45b3557accc200b0fe9d79a34d
Author: Rhys Perry <[email protected]>
Date:   Wed Nov 2 16:45:27 2022 +0000

    radv: lower 8/16-bit uadd_carry/usub_borrow
    
    Signed-off-by: Rhys Perry <[email protected]>
    Reviewed-by: Georg Lehmann <[email protected]>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7615
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19473>
    (cherry picked from commit 6fc4a760571443fae71a45076255090518daa900)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=32c51fbfa09a6100c081701eb6e71be478d61c1f
Author: Rhys Perry <[email protected]>
Date:   Wed Nov 2 16:45:08 2022 +0000

    nir/lower_bit_size: lower uadd_carry
    
    8/16-bit uadd_carry can exist in SPIR-V.
    
    Signed-off-by: Rhys Perry <[email protected]>
    Reviewed-by: Georg Lehmann <[email protected]>
    Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7615
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19473>
    (cherry picked from commit da30fb5df705d38e6d3aefadf769ec4517b9b20e)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbd39e87c8e6afcd5f755cddda6089b3855536ca
Author: Dylan Baker <[email protected]>
Date:   Mon Nov 21 09:46:21 2022 -0800

    .pick_status.json: Update to 8133d5551de13a2c1912f61ab9f87938b33aa5ea

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=05f98731b7fa134d8ebb29c43ac6803e78d3aa8c
Author: Lionel Landwerlin <[email protected]>
Date:   Thu Jul 21 07:46:50 2022 +0000

    intel/perf: allocate cleared counter infos
    
    This array of structure needs to be initialized to 0 as it contains a
    bitset we don't explicitly clear.
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Fixes: 3144bc1d3369 ("intel/perf: move query_mask and location out of 
gen_perf_query_counter")
    Reviewed-by: Ivan Briano <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18893>
    (cherry picked from commit e754bf6be49788e5f6604a15cd36a3324fd94a39)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=522f0639868a3968a450201b9f622e3a7f87b572
Author: José Roberto de Souza <[email protected]>
Date:   Fri Nov 11 11:01:25 2022 -0800

    iris: Set priority for replaced engine context
    
    The replace_kernel_ctx() code path was not setting back the context
    priority.
    
    Fixes: 5c4c8bdc4c54 ("iris/batch: Add support for engines contexts")
    Signed-off-by: José Roberto de Souza <[email protected]>
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19687>
    (cherry picked from commit cd159c7d6c18d1bbde019fda68cc17922389a767)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f55467cce48cb79c55635a5b837b5447bd772ef
Author: Alyssa Rosenzweig <[email protected]>
Date:   Sun Oct 30 21:24:34 2022 -0400

    panfrost: Use PIPE_CAP_VERTEX_ATTRIB_ELEMENT_ALIGNED_ONLY
    
    ..instead of 4BYTE_ALIGNED_ONLY. This is more correct and avoids
    needless repacking. Noticed in Firefox, which was hitting the vbuf
    translate path.
    
    Fixes: e03622e50fc ("panfrost: Set STRIDE_4BYTE_ALIGNED_ONLY")
    Signed-off-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19761>
    (cherry picked from commit c567e5528fd11db461f076fccd63ec1b01b96b36)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=083f3382b0eac43bef183820bda6a220509714b7
Author: Alyssa Rosenzweig <[email protected]>
Date:   Tue Nov 15 11:16:15 2022 -0500

    panfrost: Fix reference counting with batch->resources
    
    Refactor accesses to batch->resources to happen through safe helpers
    that update the appropriate bookkeeping. This makes it obvious that (in
    particular) reference counts are updated when they should be.
    
    The functional change is that we are now correctly unreferencing
    resources during shadowing, fixing a leak of shadowed resources.
    
    Closes: #7362
    Fixes: 2d8f28df731 ("panfrost: Replace resource shadowing flush")
    Signed-off-by: Alyssa Rosenzweig <[email protected]>
    Reported-by: Mastodon, apparently
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19753>
    (cherry picked from commit 42212a9bfdab8381beb9206b5d2551344c71d584)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9b741b1c71a17b51f7c6a1fe4f974ff2987963c
Author: Dylan Baker <[email protected]>
Date:   Fri Nov 18 09:46:56 2022 -0800

    .pick_status.json: Update to 5a5bc3dd52964a2d865c5b0c45c4eb3a6a4cd013

Reply via email to