[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/mesa][debian-experimental] 63 commits: turnip: add tu_common.h as the common header



Title: GitLab

Timo Aaltonen pushed to branch debian-experimental at X Strike Force / lib / mesa

Commits:

  • e2ff6278
    by Chia-I Wu at 2022-08-10T13:30:15-07:00
    turnip: add tu_common.h as the common header
    
    Move most includes and defines in tu_private.h to the new tu_common.h.
    
    tu_common.h is a header that all other files include, mostly indirectly
    through tu_private.h.  The only exceptions are tu_perfetto.h and
    tu_tracepoints.h, because ir3 headers are not compatible with C++.
    
    (cherry picked from commit 0312157101f782dd2ac845cf0f05756b5342e794)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 1a1ded7d
    by Chia-I Wu at 2022-08-10T13:30:15-07:00
    turnip: remove includes that are already in tu_common.h
    
    (cherry picked from commit 120469efeae2b22a3e301137d53d43133d2c511c)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • fe4bc64b
    by Chia-I Wu at 2022-08-10T13:30:15-07:00
    turnip: add tu_drm.h
    
    Also define tu_syncobj_from_handle only when TU_USE_KGSL.
    
    (cherry picked from commit 4d9ac3d0df559f2e80f3b6c21e11b85365cbfa18)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • c10a10b3
    by Chia-I Wu at 2022-08-10T13:30:15-07:00
    turnip: add tu_suballoc.h
    
    (cherry picked from commit 2e337f05ab1e4dfb235bb1e48798b8d8cc5c0f61)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 853962d8
    by Chia-I Wu at 2022-08-10T13:30:15-07:00
    turnip: update tu_cs.h
    
    (cherry picked from commit 51d416a7e492e0e11a38803fc30af6c1e0aee4aa)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 9d3c4ea4
    by Chia-I Wu at 2022-08-10T13:30:15-07:00
    turnip: add tu_query.h
    
    (cherry picked from commit 65a5fbcb151aea52a02f2862d5eebd6ddfe2fd13)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 96df57ad
    by Chia-I Wu at 2022-08-10T13:30:15-07:00
    turnip: add tu_image.h
    
    (cherry picked from commit 095dfcae45d76c2f812b86b040abdd8136702871)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 9b266113
    by Chia-I Wu at 2022-08-10T13:30:15-07:00
    turnip: add tu_formats.h
    
    (cherry picked from commit 216f19e62fa071d78d9c1119cfce0222800744ca)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • d214aa38
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: update tu_descriptor_set.h
    
    Also drop unused tu_descriptor_range.
    
    (cherry picked from commit a7fe90434c1e2c4846ce178c6e31ea21e13179b9)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 3b82f4ea
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_shader.h
    
    (cherry picked from commit ec5bc3d8ff230a9b6d8f70db4b4551f52b3c1889)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • a77322c4
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_pipeline.h
    
    Also drop unused tu_pipeline_key.
    
    (cherry picked from commit 6430efcab71866efbb4d0fc0d16a05fc8afcefcd)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • a4a7aa5d
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_clear_blit.h
    
    Also drop unused tu_emit_load_gmem_attachment.
    
    (cherry picked from commit 4f759fddba25cb12af3a171920b64d496328864c)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 0d27e5fd
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_dynamic_rendering.h
    
    (cherry picked from commit 79dd12478f81801438ce5b0807da872d1dd9357b)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 42cd6b0f
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_lrz.h
    
    (cherry picked from commit 3c607309c91a6e3ce29fa7fd65f3da189f91097a)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • c69f749b
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_pass.h
    
    (cherry picked from commit 543fac108dcce5c6f360d50f4540954c6f64b9f4)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 7c6e24f3
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_wsi.h
    
    Also drop unused x11 and wayland type definitions.
    
    (cherry picked from commit 4fc31e4af32e628b6319554cf24701e7aef3334b)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • df69376e
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: update tu_autotune.h
    
    (cherry picked from commit 9d9bf785656ff2e7e82f98647e5875158432b2c9)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 6225807c
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_device.h
    
    Also drop unused
    
     - tu_instance_extension_supported
     - tu_physical_device_api_version
     - tu_physical_device_extension_supported
     - tu_device_submit_deferred_locked
     - tu_get_perftest_option_name
    
    (cherry picked from commit 6666ec39458de73f7796d4b873d868ea1379770d)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 6094318c
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_cmd_buffer.h
    
    (cherry picked from commit 8e61bee30c5b47fb9ea512b8fce318fbf4286c04)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 61790c60
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: add tu_android.h
    
    (cherry picked from commit e99703b515ccbc0e64de888b30245b02fde081a6)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 75af03a6
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: update tu_util.h
    
    (cherry picked from commit 46baf8641439987c7837fa9afd73fb817df23798)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 773964fb
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: move away from tu_private.h
    
    (cherry picked from commit 5f7538f241bcad55b785ce647926bb120b9dba6e)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 5433fb70
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: remove tu_private.h
    
    (cherry picked from commit 381f234ab88cc4a9fc7998d71838261a8d79132d)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • ffc5316a
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: remove headers from libtu_files
    
    meson can work out the dependencies.
    
    (cherry picked from commit 8977913a23fec1d33fd29f8cfd17393a07773d86)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • f88ce98e
    by Chia-I Wu at 2022-08-10T13:30:16-07:00
    turnip: use SPDX-License-Identifier
    
    (cherry picked from commit f0558c6f1cc47cf787a9b88357460f1ba307d4bc)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17877>
    
  • 87e006ca
    by Dylan Baker at 2022-08-11T10:33:20-07:00
    .pick_status.json: Update to a3bf0da1cbd4b10043c80bf44609a3024b5fcc36
    
  • 1c6c9442
    by Mike Blumenkrantz at 2022-08-11T10:33:23-07:00
    radv: fix return type for meta resolve shaders
    
    this should match the image type
    
    cc: mesa-stable
    
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17874>
    (cherry picked from commit 632e1b66f5cb4f0e20fcd1645ffc386c3214d591)
    
  • b0149870
    by Mike Blumenkrantz at 2022-08-11T10:33:24-07:00
    nir/validate: clamp unsized tex dests to 32bit
    
    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)
    
  • bac7da02
    by Jesse Natalie at 2022-08-11T10:33:25-07:00
    egl/wgl: Delete unused variables/code
    
    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)
    
  • 8b034360
    by Jesse Natalie at 2022-08-11T10:33:25-07:00
    egl/wgl: Fix some awkward sizeof formatting
    
    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)
    
  • 4e0637a1
    by Lionel Landwerlin at 2022-08-11T10:33:26-07:00
    anv: don't return incorrect error code for vkCreateDescriptorPool
    
    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)
    
  • 12f1cabe
    by Yonggang Luo at 2022-08-12T12:40:53+03:00
    microsoft/clc: Fixes compiling errors with clang/mingw64 in clc/clc_compiler_test.cpp
    
    clc_compiler_test.cpp:1322:67: error: non-constant-_expression_ cannot be narrowed from type 'double' to 'float' in initializer list
          log(0.0f) / log(2), log(1.0f) / log(2), log(2.0f) / log(2), log(3.0f) / log(2)
    clc_compiler_test.cpp:2306:25: error: non-constant-_expression_ cannot be narrowed from type 'std::vector<unsigned int>::size_type' (aka 'unsigned long long') to 'unsigned int' in initializer list
       CompileArgs args = { inout.size(), 1, 1 };
    
    Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
    Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
    (cherry picked from commit ecfda9a0fa02a12a8f5b22f5682d5db45a6f5a27)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18030>
    
  • 260b7902
    by Dylan Baker at 2022-08-12T09:41:29-07:00
    .pick_status.json: Update to 24b9ad7cd5ebc7cfa5d03cf0f243ea4841c971b9
    
  • 3490712a
    by Charmaine Lee at 2022-08-12T09:41:33-07:00
    mesa/st: fix reference to nir->info after nir_to_tgsi
    
    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)
    
  • fa4c9491
    by Marek Olšák at 2022-08-12T09:41:33-07:00
    glthread: unbind framebuffers in glDeleteFramebuffers
    
    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)
    
  • dbc95692
    by Marek Olšák at 2022-08-12T09:41:33-07:00
    glthread: call _mesa_glthread_DeleteBuffers unconditionally
    
    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)
    
  • 9f305dd4
    by sjfricke at 2022-08-12T09:41:33-07:00
    isl: fix bug where sb.MOCS is not being set
    
    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)
    
  • b3fc8cb4
    by Mike Blumenkrantz at 2022-08-12T10:42:23-07:00
    mesa: fix blending when using luminance/intensity emulation
    
    neither of these have a real alpha channel, so reuse the xrgb blend
    clamping here to ensure the "right" alpha value is used
    
    cc: mesa-stable
    
    fixes:
    spec@arb_texture_float@fbo-blending-formats
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17687>
    (cherry picked from commit 4f28e2827c9ccc26dc608a870209b4deab7b5882)
    
  • 9a43a1f1
    by Mike Blumenkrantz at 2022-08-12T10:42:23-07:00
    mesa: require render target bind for A/L/I in format selection
    
    these are required framebuffer formats in certain versions of GL,
    so don't create a texture that can't later be bound to a framebuffer
    
    see also spec@!opengl 3.0@required-texture-attachment-formats
    
    cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17687>
    (cherry picked from commit 28d033b34fe3c52f4720235449a0a1fd5fe683b0)
    
  • 26c1926a
    by Samuel Pitoiset at 2022-08-12T10:42:23-07:00
    radv: fix cleaning the meta query state if an error occured
    
    It's already correctly cleaned in radv_device_init_meta().
    
    This fixes a recent regression with
    dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail.
    
    Fixes: 1a95d43e550 ("radv: Simplify the meta init fail path")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17952>
    (cherry picked from commit 37dfa4e3f3c669af16a53aa6c0401989a26099a1)
    
    Conflicts:
    	src/amd/ci/radv-hawaii-aco-fails.txt
    	src/amd/ci/radv-oland-aco-fails.txt
    
    Stable:
        - remove CI files that don't exist in 22.2
    
  • 9998f8e1
    by Konstantin Seurer at 2022-08-12T10:42:23-07:00
    radv: Fix stack size calculation with stage ids
    
    In create_rt_shader, we were setting group_idx to the stage index before.
    
    Fixes the following tests:
    
    dEQP-VK.ray_query.builtin.instancecustomindex.miss.aabbs
    dEQP-VK.ray_query.builtin.objectrayorigin.miss.triangles
    
    Fixes: c39ccce ("radv/rt: use stage ID as handle for general and closestHit shaders")
    Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17936>
    (cherry picked from commit 2d39227a90440e5b911f5ac6c0fb5ac04c433565)
    
  • f1a407de
    by Dylan Baker at 2022-08-16T09:38:46-07:00
    .pick_status.json: Update to 74fc367127ccf945f4c649dd6ddff955c802e36e
    
  • ecc41f91
    by pal1000 at 2022-08-16T09:38:48-07:00
    meson: Microsoft / maybe Intel CLC need the all-targets workaround
    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)
    
  • b712253b
    by Yonggang Luo at 2022-08-16T09:39:11-07:00
    util: Fixes invalid assumption that return non null by function util_format_fetch_rgba_func
    
    Fixes: e342081c ("util/format: Assert that formats are valid")
    Closes #7020
    
    Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
    Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18024>
    (cherry picked from commit 075b72ea069863021c51235d46c4c89c859d698b)
    
  • bdcffd60
    by Axel Davy at 2022-08-16T09:39:13-07:00
    frontend/nine: Skip invalid swvp calls
    
    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)
    
  • 53cd211c
    by Axel Davy at 2022-08-16T09:39:13-07:00
    frontend/nine: Fix buffer tracking out of bounds
    
    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)
    
  • 5c4028ac
    by Axel Davy at 2022-08-16T09:39:14-07:00
    frontend/nine: Fix ATOC handling
    
    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)
    
  • 35025cbb
    by Axel Davy at 2022-08-16T09:39:14-07:00
    frontend/nine: Fix cso restore bug
    
    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)
    
  • 499a65e8
    by Axel Davy at 2022-08-16T09:39:15-07:00
    frontend/nine: Fix shader multi-use crash
    
    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)
    
  • 30ef443d
    by Axel Davy at 2022-08-16T09:39:16-07:00
    frontend/nine: Fix ff position_t fallback when w = 0
    
    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)
    
  • 40da2cee
    by Pavel Ondračka at 2022-08-16T09:39:18-07:00
    r300: fix variables detection for paired ALU and TEX instructions in 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)
    
  • 7b141213
    by Eric Engestrom at 2022-08-16T09:39:20-07:00
    vk/device-select-layer: fix .sType of VkPhysicalDeviceGroupProperties
    
    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)
    
  • 65612172
    by Qiang Yu at 2022-08-16T09:39:21-07:00
    nir/lower_gs_intrinsics: fix primitive count for points
    
    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)
    
  • cc504c98
    by Chia-I Wu at 2022-08-16T09:39:24-07:00
    turnip: fix a use-after-free in autotune
    
    When removing old histories, check against gpu fence.  Otherwise,
    pending_results could have dangling pointers to the removed histories.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7055
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18040>
    (cherry picked from commit b8a916fd0cd589c621c6d1ed1c4b4fd01fd7bf5d)
    
  • af289267
    by Dylan Baker at 2022-08-16T09:41:18-07:00
    .pick_status.json: Mark 11ab6087797f805cf158048915c67945613c9a72 as denominated
    
  • 9a80d2f7
    by Dylan Baker at 2022-08-18T10:49:06-07:00
    VERSION: bump to 22.2.0-rc3
    
  • 5e092c1a
    by Timo Aaltonen at 2022-08-22T12:33:19+03:00
    Merge branch 'upstream-unstable' into debian-unstable
    
  • a467efd1
    by Timo Aaltonen at 2022-08-22T12:33:46+03:00
    version bump
    
  • 78fe00e7
    by Timo Aaltonen at 2022-08-22T13:26:02+03:00
    rules: Enable video codecs. (Closes: #1016687)
    
  • 900e1a3c
    by Timo Aaltonen at 2022-08-22T13:26:41+03:00
    control: Add python3 to mesa-vulkan-drivers depends.
    
  • 8f729c0b
    by Timo Aaltonen at 2022-08-22T13:50:35+03:00
    release to sid
    
  • b70471cb
    by Timo Aaltonen at 2022-08-26T11:28:07+03:00
    control, rules: Migrate to llvm-15.
    
  • 21c8a138
    by Timo Aaltonen at 2022-09-01T15:22:30+03:00
    release to experimental
    

28 changed files:

The diff was not included because it is too large.

Reply to: