Mesa (main): 34 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 28 00:41:43 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce6d43548bdb87691b7dfa58a949865cf047ab2b
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Jul 27 19:28:46 2021 -0400

    pan/va: Allow floating-point swizzles on ATEST
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5649f24d16ee314074a4cc56355cb17ea75837b5
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 26 20:35:51 2021 -0400

    pan/bi: Align staging registers on Valhall
    
    This handles the following from the Valhall specification (that I wrote):
    
        If multiple subsequent staging registers are accessed, the base must
        be aligned to 2. However, even if 4 registers are accessed, it is
        not necessary to align to 4, only to 2. This restriction allows the
        hardware to use a 64-bit data path without handling unaligned
        access, which is more efficient. This restriction does not apply if
        only a single register is accessed.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6ccbf48e98f3cd85913b00fa191255ca307a600
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 26 18:22:03 2021 -0400

    pan/bi: Clarify the logic of bi_reconverge_branches
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=30f8fb82c99dfbb45542196ed60c37e47b3f5d73
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 26 18:13:32 2021 -0400

    pan/bi: Clean up and export bi_reconverge_branches
    
    Decides when we need "branch reconvergence" (canonical term), the
    logical opposite of "back-to-back execution" (non-canonical term, this
    is old code in Bifrost terms). So invert the return value, rename, and
    export so we can use it when packing Valhall instructions.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3554a9a3aa1e2c59a952375b326c3fdb3618cf8
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 26 18:05:00 2021 -0400

    pan/bi: Add branch_offset immediate
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f359cae437ff62d39a6231bc2fa2c529b0b7de5
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 26 17:44:57 2021 -0400

    pan/bi: Garbage collect stuff in bi_layout.c
    
    Predates clause scheduling.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73f8ef2961483f5d25bf383d9d28802a1ace854c
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Jul 27 16:45:17 2021 -0400

    pan/bi: Fix UBO push with nir_opt_shrink_vectors
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16579ca4b7569f9a62037823507b94c3e990b916
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 26 12:15:15 2021 -0400

    pan/bi: Add constant folding unit test
    
    I just played with the implementation, let's ensure I didn't break it.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87ebad74e5d1d7b8c77218caa3199706d01df731
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 26 12:15:41 2021 -0400

    pan/bi: Refactor constant folding for testability
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=972d517d41f72c68661b7478bd9a54963cc85da8
Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date:   Mon Jul 26 11:14:33 2021 -0400

    pan/bi: Use bi_apply_swizzle in constant folding
    
    Much more legible now.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce8e269e606375845c68e4ccf5bd031cced33ff9
Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date:   Mon Jul 26 11:14:05 2021 -0400

    pan/bi: Add helper to swizzle a constant
    
    Instead of open-coding special cases in multiple places, just keep a
    canonical version that handles every case.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b55fb073a46056fed5f41126e4bff8fba2735b00
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Fri Jul 23 14:34:22 2021 -0400

    pan/bi: Add strip_index helper
    
    Needed to correctly lower sources to moves, used in the FAU lowering.
    Technically, the issue is already present on Bifrost, but it's hidden
    because Bifrost packing doesn't validate the absense of unsupported
    modifiers. Valhall packing adds more safety, which caught this issue.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5727909e10fb671703d0a419ab4b57b3ad87d4e
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Fri Jul 23 12:52:57 2021 -0400

    pan/bi: Rename CLPER_V7 back to CLPER
    
    v6 is really the oddball here. CLPER on v9 supports a superset of v7.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9616b74636b2594e7ecab5a504f8d2cf988c973
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Fri Jul 23 12:41:52 2021 -0400

    pan/bi: Rename NOP.i32 to NOP
    
    Simpler and matches the syntax of Valhall I've picked out.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=245c0ec75563e6f060de18aa01000918f60e7fff
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Fri Jul 23 12:03:11 2021 -0400

    pan/bi: Fix typo in FAU enum
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fccbf4985d4554ac595e1cfa6543973a77d3ecd5
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Jul 22 18:45:21 2021 -0400

    pan/bi: Model Valhall special values as FAU
    
    Not sure if this is "really" FAU but it's convenient to treat it as
    such.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=932451017317358293ea69f0a0dc447a90a20130
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Jul 22 13:53:10 2021 -0400

    pan/bi: Model RSCALE for Valhall
    
    Faster than FMA_RSCALE. We'll want to optimize this (e.g. for exp2).
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62147d41264178ba7b392c932e3c7795402c053e
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jul 21 20:14:14 2021 -0400

    pan/bi: Model *ADD_IMM instructions in IR
    
    Needed for Valhall.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b0d6672f03241b4c4c850aaa77db21d171322fb
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jul 21 14:17:06 2021 -0400

    pan/bi: Remove unused BIR_FAU_HI
    
    Redundant with offset.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cde245f76416791faf96034d9d513019f2dcbe0
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jul 21 12:25:53 2021 -0400

    pan/bi: Add discard flag to bi_index
    
    Needed to model Valhall instructions. Should also be useful to RA if we
    ever get around to doing something SSA based.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be95198de58b87cffff20de1ecd73635c28ff95e
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jul 21 10:55:47 2021 -0400

    pan/bi: DCE after bifrost_nir_lower_algebraic_late
    
    Needed for sat_signed to fuse, since we run modifier prop before backend
    DCE.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6fdbb85bc9ff9c05f318d43c275c26051d132d8
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jul 21 11:52:05 2021 -0400

    pan/bi: Constify BIR manipulation
    
    For use in Valhall packing.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0149dee377d08f5edd0109efbd400b35c29cc9ac
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jul 21 10:54:53 2021 -0400

    pan/bi: Remove redundant check in clamp fusing
    
    Already checked above.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07b259defc051df2462ecd5bf5d97ba2961ec060
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Fri Jul 23 16:33:41 2021 -0400

    pan/bi: Add instruction unit test macro
    
    Checks for instruction equality.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60537416100356b4daaa10053293a5b93e0e5eaf
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Jul 22 11:58:32 2021 -0400

    pan/bi: Add instruction equality helper
    
    Useful for unit testing.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0394cc7c1db5774989c2db2c07075b6c4aa57a94
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jul 21 10:54:10 2021 -0400

    pan/bi: Add helpers for unit testing
    
    At some point I should stop reinventing GTest but, look, writing tests
    at all is big for me, one thing at a time, ok? 😋
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdc79d2a03007a0c066628468c1651922010cc4d
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 19 20:00:38 2021 -0400

    pan/bi: Output binaries from standalone compiler
    
    Useful for shader replacement.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cbabbd532b59c070fd6cf2a66de55c350a57bf7
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 19 14:20:48 2021 -0400

    pan/bi: Only call clause code on Bifrost
    
    Valhall will have its own simpler code path.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc569585a6a07ae3e9872834c06250cc00c1d07d
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 19 14:20:34 2021 -0400

    pan/bi: Add quirks for Mali G78
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18dedd80db99d2424f9c99ae7c1c20d2db62db06
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 19 13:41:49 2021 -0400

    pan/bi: Do more mesa/st stuff in standalone compiler
    
    From freedreno.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f01f5e71686170de64f668f23777d635d00f16c7
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 19 13:41:32 2021 -0400

    pan/bi: Zero initialize shader_info
    
    Fixes the following assert with the standalone compiler
    
    bifrost_compiler: ../src/panfrost/bifrost/bi_opt_push_ubo.c:134: bi_opt_push_ubo: Assertion `ctx->info->push.count == 0' failed.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=027a8bf82cfccd087e42a44a8bf92a941a6eb0ab
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 19 13:35:17 2021 -0400

    pan/bi: Parse file names in standalone compiler
    
    Would like to compile compute shaders too.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5b5132c6375a315d27772165b585e969d4cb2e9
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Jul 19 13:21:28 2021 -0400

    pan/bi: Remove unused option
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b85dfb6a565ad0a643fa8343c1e4ce771ea1952
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Fri Jul 16 20:10:18 2021 -0400

    pan/bi: Remove unused pointer from bi_instr
    
    Yikes.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>



More information about the mesa-commit mailing list