Mesa (master): 28 new commits

Dave Airlie airlied at kemper.freedesktop.org
Fri Mar 31 21:18:43 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c011fe7452f5a0c90e1839e3549efc4c2ac665c1
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:48:49 2017 +0100

    radv: enable tessellation shaders.
    
    This enables tessellation shaders and sets some values for
    the maximums.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb1518e96be44714c3925066379d8394adcc161e
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 20:15:23 2017 +0100

    radv/ac: setup lds for tessellation
    
    This seems to get lost in the rebases, should fix
    the tessellation demos, crash in llvm.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f0d69af20e881846742d6f25454a17bf332a241
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:10:06 2017 +0100

    radv: add ia_multi_vgt_param tessellation support.
    
    This just ports the relevant radeonsi pieces.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4495b71c66700475888142cafcacab626ea7ca4
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:47:38 2017 +0100

    radv/cmd: emit tessellation state.
    
    This emits the tessellation shaders and state to the command stream.
    
    It contains the logic to emit the LS/HS shaders.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60fc0544e085bae1d19fa75f9d7806de50c38cef
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:45:42 2017 +0100

    radv/pipeline: handle tessellation shader compilation
    
    So tess shaders have some circular dependencies,
    
    TCS needs the TES primitive mode
    TES needs the TCS vertices out
    
    This builds the nir for each shader first to get the
    info, executes a tes specific nir pass, then builds
    the LLVM shaders.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaabdd6bc6ac6e7edf218c473cf2a7a9a02c116e
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:44:26 2017 +0100

    radv/ac: handle writing out tess factors.
    
    This ports the code from radeonsi to build the if/endif,
    and ports the tess factor emission code. This code has
    an optimisation TODO that we can deal with later.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94f9591995f3e682a570400c7b6e6237b89ad113
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:28:46 2017 +0100

    radv/ac: add support for TCS/TES inputs/outputs.
    
    This adds support for the tessellation inputs/outputs to the
    shader compiler, this is one of the main pieces of the patch.
    
    It is very similiar to the radeonsi code (post merge we should
    consider if there are better sharing opportunities). The main
    differences from radeonsi, is that we can have "compact" varyings
    for clip/cull/tess factors, and we have to add special handling
    for these.
    
    This consists of treating the const index from the deref different
    depending on the compactness.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ab1289b485b660fbf21cddae9e28d0358072a70
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:26:28 2017 +0100

    radv/ac: add clip support for tess eval shader.
    
    As this may be the last shader to emit clip distances.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=326b9bc6dc43b1fe58ee95ad0022c1005cb756ea
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:25:18 2017 +0100

    radv/ac: hook up tessellation intrinsics.
    
    This just adds support for the nir intrinsics that tessellation uses.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8ab71b207138439f23d377b07e7c4678426b62b
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:23:36 2017 +0100

    radv/ac: hook up shader information handling for tessellation
    
    This hooks up the tessellation shader info to the nir values
    and ctx generated ones.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c60c68bd16486dfb57ba177487bc599ad3ef9f5
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:18:13 2017 +0100

    radv/pipeline: start calculating tess stage.
    
    This calculates the pipeline state for tessellation.
    
    It moves the gs ring calculation down to below
    where the tessellation shaders will be compiled,
    as it needs the info from those shaders.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=823b55a8a90ad1cb9a3f9652cf46789f5e0b79f5
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:15:43 2017 +0100

    radv: add tessellation support to variant code.
    
    This just fills out the rsrc registers for tess shaders.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f239f597784806dcf7dfe80cc787f83251a1820b
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:14:45 2017 +0100

    radv: add tessellation support to shader naming
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b40eab00ad079bcd173234c879d3a8ebf7fe9ec
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:13:48 2017 +0100

    radv: add tess ctrl stage barrier workaround for SI.
    
    This just ports the workaround from radeonsi.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a633cc2cbd0a527ac97cfe60a9d66df18b7de64
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:12:27 2017 +0100

    radv/ac: add support for patch inputs to unique index code.
    
    This add support for tessellation patch inputs to the code
    that finds the unique parameter index.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aeb49bc2b9e1d6f98b760a8cc3f208418b7f4349
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:10:46 2017 +0100

    radv: port polaris vgt vertex reuse workaround.
    
    This ports the VGT_VERTEX_REUSE register settings
    for Polaris GPUs from radeonsi.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46a820b383350bfaabde990e81f2086b040e0d13
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:09:22 2017 +0100

    radv: configure tessellation distribution register.
    
    This just takes the radeonsi values.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60326a7afc2a0b43a09db31b9a5ebf9205e07e5b
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:08:07 2017 +0100

    radv/ac: setup tessellation shader inputs.
    
    This just configures all the register inputs for the tessellation
    related stages.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39681627512498a1dad0c7d39cc92cac6692c91e
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:05:42 2017 +0100

    radv/ac: setup tess rings on compiler side.
    
    This just sets up the necessary pointers on the compiler
    side for the rings needed for tessellation.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46e52df34d3074f1fc649195dded461bcb64a231
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:02:14 2017 +0100

    radv: add tessellation ring allocation support. (v2)
    
    This patch adds support for the offchip rings for storing
    tessellation factors and attribute data.
    
    It includes the register setup for the TF ring
    
    v2: always do tess ring size calcs (Bas)
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbfb62df166527b20c9a2217c559119c138f3af4
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 07:58:22 2017 +0100

    radv: add support for some device specific tess information.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b3c4bcc1f69bcb8620d98061309c5286cf952e6
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 07:55:23 2017 +0100

    radv/ac: add tess changes to shader keys/info
    
    This adds the tess pieces for shader keys and shader info,
    it adds the necessary bits to the vertex key/info as well.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4b039db04c26e4c35db4a6dfc56552661f1ea0c
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 07:53:24 2017 +0100

    radv: add tess shader stage user data support.
    
    This just adds support for tess to the shader stage conversion
    and emits the per-stage descriptors/constants for tess stages.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5136a97f7707b54bdaf5b92d9b6d9f3626732b5
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 07:49:59 2017 +0100

    radv: use defines for ring descriptor offsets.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0604284e3f5d95845a1203dd1a9abc3d9849fe39
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 07:44:20 2017 +0100

    radv: add helper function to denote if tess is enabled on a pipeline.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97e0ff30c0c25cf0bfc857fd20b44a3ed95b99fc
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:51:42 2017 +0100

    radv: handle clip dist in es outputs.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6279646306dcd2c18a1af7c63168247cd8e47e32
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 30 08:51:31 2017 +0100

    radv: drop unneeded start
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a58d03a5a210098e6cd8bd3559538cf21a4b6d23
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Apr 1 06:56:46 2017 +1000

    radv: fixup geometry clip emission since using the geom pass
    
    Fixes: 2b35b60d: radv: move to using nir clip/cull merge pass.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>




More information about the mesa-commit mailing list