Mesa (master): 66 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 6 06:41:49 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dab8803af431ff2044b4d7b17bb505079bf63d1e
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar 25 08:01:27 2020 +1000

    llvmpipe: enable ARB_sample_shading
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a83db420401fd3a29cae7a8b6a49b67fd2ddf58
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar 25 07:57:33 2020 +1000

    llvmpipe: add min samples support to the fragment shader.
    
    This isn't enabled yet until the state gets hooked up
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d237e03a16b9e75a266799af24c2b9112f4d1126
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 24 07:48:31 2020 +1000

    llvmpipe: enable GL_ARB_shader_texture_image_samples
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f036643772fca7e2f2070ab83189b695b0977a13
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 24 07:47:56 2020 +1000

    gallivm/nir: hooks up texture samples queries
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d09d621373747235d90099adf5bed647090ec97
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 24 07:47:16 2020 +1000

    gallivm/sample: add num samples query for txqs (v2)
    
    v2: add false to the existing users (Roland)
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cc50cabf1459c6fd5db598de55ad02375aad880
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 07:40:48 2020 +1000

    llvmpipe: enable 4x sample MSAA + texture multisample
    
    This enables proper support for 4xMSAA and for texture mulitsample
    extension.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94c4577331490693a887916323dee843b69bd141
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar 25 12:47:20 2020 +1000

    drisw: add multisample support to sw dri layer.
    
    This allocates the msaa resources like the dri2 layer
    and adds the flushes
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7898978377cfee74d69180d73118dc6b8b2d3579
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 07:38:13 2020 +1000

    llvmpipe: don't choose pixel centers for multisample
    
    Don't pick the pixel centers for multisample rendering, fix
    the setup program.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8297513aa900a22853a1a12ad4e98e9098e9a1f7
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 07:36:35 2020 +1000

    llvmpipe: choose correct position for multisample
    
    For multisample we don't want pixel centers at this stage,
    so don't add them in for that case.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b72f504e99307b5e9a153813f36ac08b9e9b1a05
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 07:34:53 2020 +1000

    llvmpipe: choose multisample rasterizer functions per triangle (v2)
    
    This just picks the correct cmds to add to the scene.
    
    v2: drop using 32-bit ms (Roland)
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26cc01cefda3595acf261fff4a073464fca048f3
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 07:29:04 2020 +1000

    llvmpipe: generate multisample triangle rasterizer functions (v2)
    
    This uses the templating to generate multisample version of the
    tri plane raster functions
    
    This doesn't generate any optimised version for lower plane numbers,
    maybe this is worth doing in the future.
    
    v2: drop generating 32-bit msaa (Roland)
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8611a6b34b889d6ee9220767d6f19e4057dc2047
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 07:16:35 2020 +1000

    llvmpipe: fixup multisample coverage masks for covered tiles
    
    For fully covered tiles just pass in the filled out mask.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d13591ba4d9df28ef2e90f90b8eda4ff6c7fc98
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 07:09:15 2020 +1000

    llvmpipe: build 64-bit coverage mask in rasterizer
    
    This adds the logic to build the per-sample masks at the lowest
    level of the rasterizer block hierarchy
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88851c4798a5ee57441cc5ad71d439a5b6f1a609
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 07:11:39 2020 +1000

    llvmpipe: add fixed point sample positions to scene.
    
    These will be used in the rasterizer to generate the coverage masks
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78b7f2283879d1f952cd13534f4c666447b5b3ea
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 07:07:53 2020 +1000

    llvmpipe: add new rast api to pass full 64-bit mask.
    
    The 64-bit mask is a 16-bit mask per sample for up to 4 samples.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c638a59fa890887ba4ef791c0186ec64a623110a
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 06:58:01 2020 +1000

    llvmpipe: disable opaque variant for multisample
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5021ebb15d2d4d29c9202bea01fe8d5acb62902
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 24 12:54:52 2020 +1000

    llvmpipe: fix multisample occlusion queries.
    
    This needs to check the per-sample mask inside the loop if
    multisample is enabled.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=335938cffd10a7285b98999ad7a6bc8a4ed92ba1
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 06:54:26 2020 +1000

    llvmpipe: move color storing earlier in frag shader
    
    Move the color storage before the late Z test as for sample
    shading it needs to be inside a loop with the fragment shader.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=acba9a93ef23796b394b88d5352ec6ebdf14d123
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 06:50:48 2020 +1000

    llvmpipe: pass mask store into interp for centroid interpolation
    
    This enables centroid interpolation to work, using the current
    coverage masks.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=367332b0fce4a613676c0e6ea44c58b2c9c3b558
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 21 06:47:31 2020 +1000

    llvmpipe: don't allow branch to end for early Z with multisample
    
    Don't allow the branching optimisation with multisample enabled
    as we have to check all samples.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9276ae965aadf967ee8f2ca85dab1dd31881919
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 19:38:50 2020 +1000

    llvmpipe: handle gl_SampleMask writing.
    
    This is using a load/store to make it easier to add sample shading later.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69009949e0418d0b1907fd31f486058642c90c92
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 19:30:06 2020 +1000

    llvmpipe: add multisample alpha to one support
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=66a92e5d923a2e6b948c71f37a6b109a00938e9f
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 19:28:59 2020 +1000

    llvmpipe: add multisample alpha to coverage support.
    
    Converts alpha into coverage mask.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38e81938b65ebc32654f20a65fa8c3673c0c1cf6
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 14:29:46 2020 +1000

    llvmpipe: hook up sample position system value
    
    This creates a global static with the current sample positions,
    and passes it to the fragment shader which uses it for interpolation
    and sample position support.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=210d714f46e72c954857ba32ca9ffcffbc264c9c
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 14:10:48 2020 +1000

    llvmpipe: handle multisample color stores.
    
    Extract the final per-sample masks and store to the multisample
    color buffers using them.
    
    This retypes the pointer to a uint8_t at entry to make the
    GEP simpler, then recasts to the blend type.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=102558912be91fa7d0eb22666dc7784739ca208b
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar 25 12:47:53 2020 +1000

    llvmpipe: interpolate Z at sample points for early depth test.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0195240c44f55f35b2c3d2c07b64c9f97775759
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 14:01:54 2020 +1000

    llvmpipe: handle multisample early depth test/late depth write
    
    A set of values have to be passed from the early depth test to the
    late depth write, when multisampling is enabled, a range of those
    values have to be stored between stages, so create storage for them
    and pass the values through the storage.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f8c7e232e6c3cf73e809e663f558752817abaad
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 13:48:08 2020 +1000

    llvmpipe: multisample sample mask + early/late depth pass
    
    Start adding support for multisample masks and the depth passes
    
    The depth passes have to run per-sample, this isn't complete support
    it adds the loops, and handles the execution masks.
    
    One mask is stored per sample, they are combined post the early Z
    pass into a single shader execution mask, and then the resulting
    shader execution mask is anded back in for the late Z pass.
    
    Init the vars to NULL to avoid gcc warnings
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f12dac5e106b20704aa66f12c3783f5f005b4fe1
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 13:29:13 2020 +1000

    llvmpipe: move some fs code around
    
    this just moves the num_fs loop around for follow on refactors
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e949b16c166c6e433307f25dd476d1f35fd6b7e
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 19 15:54:08 2020 +1000

    llvmpipe: add per-sample depth/stencil test
    
    The current depth stencil test code has some optimisations using
    the mask when there is only one depth value, multisample requires
    per-sample zstencil testing, and for that case just pass in the
    mask that needs updating.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d297f2ecf1b14f573dc425fae192b1013d175493
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 19 15:47:14 2020 +1000

    llvmpipe: move getting mask value out of depth code. (v2)
    
    In order to add per-sample support to this code, the mask
    value is needed not the value from the exec mask.
    
    v2: update comment
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18fd62a26e1baa59b650968d798227c922c0352d
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 19 15:40:31 2020 +1000

    llvmpipe: add per-sample interpolation.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8154bdf25ba2f78dc905759e50adf840471e334a
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 19 15:24:11 2020 +1000

    llvmpipe: add centroid interpolation support.
    
    This just adds the implementation and API to the interpolation builders.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5697b9c00c363568c16efbfe6289d58f233a3f11
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 19 14:41:22 2020 +1000

    llvmpipe: pass interp location into interpolation code.
    
    This just tracks the attribute interpolation location into the
    interp code.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=339a3a4dea48e1c174be4b544cec8fac50123313
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 19 14:25:25 2020 +1000

    nir/tgsi: translate the interp location
    
    translate sample and centroid locations.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28cc2ed79c1ba7f994a3459de5d11102403e8187
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 19 14:10:31 2020 +1000

    gallivm: add mask api to force mask
    
    For per-sample shading the mask needs to be forced for each
    iteration of the fragment shader.
    
    Just adds the API for now.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d89499063bd96bcc5d7d9239a1da43bf568c11fa
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 19 14:04:47 2020 +1000

    gallivm: add sample id/pos intrinsic support
    
    The sample position is looked up in an incoming array using the
    sample id.
    
    (These are mostly for ARB_sample_shading support)
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=455c8e35842b6e149d5d390ab9692e214db63662
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar 11 08:44:40 2020 +1000

    llvmpipe: add cbuf/zsbuf + coverage samples to the fragment shader key.
    
    These will cause different fragment shaders to be generated.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2f488684ad398f5abffefb9b1424fcb1650a627
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar 11 08:23:10 2020 +1000

    llvmpipe: change mask input to fragment shader to 64-bit.
    
    In order to handle a 4xMSAA mask (16-bits per sample) increase
    the fragment shader API to be 64-bit.
    
    v2: drop pointless if (Roland)
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67ec1760eecbcb5c52992d9098a7e220f22c7d22
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar 11 08:11:31 2020 +1000

    llvmpipe: add multisample bit to fragment shader key.
    
    The fragment shader needs to be regenerated when multisample changes.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5463576b94fa51a55e180c71dfbc249c2a3cc6b
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar 11 08:09:22 2020 +1000

    llvmpipe: plumb multisample state bit into setup code.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e47d39aee15e80976e62fec2937771b0b9346fef
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 15:28:02 2020 +1000

    llvmpipe/rast: fix tile clearing for multisample color and depth tiles
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=01e9779c004efa8acedff83d2560880be894e7fc
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 15:09:37 2020 +1000

    llvmpipe: record sample info for color/depth buffers in scene
    
    This adds the nr_samples + sample_stride to the scene records
    for cbufs and zsbuf.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a30db60edeb7814415b04537cee8cc306ad11fd7
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Apr 8 09:49:47 2020 +1000

    llvmpipe: pass color and depth sample strides into fragment shader.
    
    This just adds the interface and passes the depth and sample strides
    into the fragment shader, nothing uses them yet.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24cf7a2b36fa784cce9eee4ae8957d3d9dac98c3
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 13:51:24 2020 +1000

    draw: disable point/line smoothing for multisample (v2)
    
    When MSAA is enabled smoothing is ignored
    
    v2: As pointed out by Roland I got this completely wrong,
    fix this to work the other way
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c72bb4a960e7362e7cf4cd6e3159af85c967614
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 24 16:18:46 2020 +1000

    llvmpipe: handle multisample render target clears
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=782271c0e1544c36fb53ddda1fc0bc055671f82b
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 13:37:07 2020 +1000

    llvmpipe: add clear texture support for multisample textures.
    
    This adds the clear paths for multisample textures.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8740cbf010f38878209c857e582260f7492976a
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 13:36:36 2020 +1000

    llvmpipe: add multisample resource copy region support.
    
    This allows direct copies of all samples between two resources.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=178df068210d8c5ff3dd23e925160179c65a5c28
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 13:34:33 2020 +1000

    llvmpipe: add internal multisample texture mapping path.
    
    For clearing and copying textures llvmpipe needs to internally
    access the per-sample data.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cab13f91747dc2acbb257b2d9067679b93b1e057
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 13:21:48 2020 +1000

    llvmpipe: pass incoming sample_mask into fragment shader context.
    
    This links up the api changing the sample mask to passing it into
    the fragment shader.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c070af85114e37e4e1e28791528f336266c93261
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 13:06:30 2020 +1000

    llvmpipe/jit: pass fragment sample mask via jit context.
    
    The incoming sample mask for the fragment shader can be passed
    via the jit context
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a6150251a1ea2545826036aad9c198a61ce815a
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 13:04:01 2020 +1000

    llvmpipe: add get_sample_position support (v2)
    
    This just adds the sample values for 4xmsaa, and hooks them
    up to the get_sample_position API
    
    v2: move to vulkan standard sample positions
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6383673c96de2102edae0e705f7960753fe848b
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 12:55:31 2020 +1000

    llvmpipe: fix race between draw and setting fragment shader.
    
    There is a race with u_blitter shaders + pipeline shaders (aaline/aapoint)
    where the draw bind can cause a pipeline flush which can use bind_fs_state to
     be reenters and llvmpipe->fs gets the wrong value. Fix this by only
    setting the llvmpipe->fs value after the draw binding is complete.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6befeb66070498427e139d3ff86bfd0bd15b5668
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 12:46:02 2020 +1000

    gallium/util: split out zstencil clearing code.
    
    llvmpipe will want to reuse this for it's multisample clears.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcbe5b3d268b325c1138ddc29785b6b002c38af9
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 10:50:49 2020 +1000

    llvmpipe: add a max samples define set to 4.
    
    I doubt I'll care about much higher MSAA levels, so 4 it is.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b02eb1a4c99b1268da2c17420ece6f341b42789
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 10:30:13 2020 +1000

    llvmpipe: add multisample support to texture allocator.
    
    This adds a sample stride field and allocates enough memory for
    each sample storage. Hook up the sample_stride field to draw
    and jit textures and images
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=339aec7241f77fc027ee32d1537b30505c20028c
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Dec 31 07:03:26 2019 +1000

    util: add a resource wrapper to get resource samples
    
    This return 1 as a baseline and should be used in allocator paths.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19703900260d51b709111206caebbad3a9578f7b
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Mar 23 15:11:37 2020 +1000

    llvmpipe: add samples support to image jit
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e5cddacf7fb6e031540ae9f459d19cce5edefc4
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 10:22:49 2020 +1000

    llvmpipe: add num_samples/sample_stride support to jit textures
    
    This adds the support for num_samples/sample_stride retrieval to the
    jit texture infrastructure.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc3641d6162c0e876351ee36536f44581260dac0
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Mar 23 15:07:11 2020 +1000

    draw: add support for num_samples + sample_stride to the image paths
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=026bf2659975817cb8fceb759eb80b2459df8c06
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 10:15:21 2020 +1000

    draw: introduce sampler num samples + stride members
    
    This adds the num samples + sampler stride into the texture mapping paths,
    currently drivers just pass 0 for now.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=609a3bea16b14cd5bbc59c702b91367ed768d629
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Mar 23 15:15:51 2020 +1000

    gallivm/nir: add multisample image operations
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be8a10e2651d362b61a5566092a13311ba1ffe26
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Mar 23 13:55:08 2020 +1000

    gallivm/nir: add multisample support to image size
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae95a08b9c366d5a8558e20c2c3a11558a9c0610
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 09:51:17 2020 +1000

    gallivm/nir/tgsi: add multisample texture sampling.
    
    Both paths are required as u_blitter needs the TGSI path.
    
    This just hooks the instructions up to the sampling code.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb5919d9d8b09a40e5d5ce38f169b71b67661249
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Mar 23 15:15:27 2020 +1000

    gallivm/sample: add multisample image operation support
    
    Just adds in the sample stride.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2545c9b15c98049e43904563c52079940bc4ee3
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 10 09:38:07 2020 +1000

    gallivm/sample: add multisample support for texel fetch
    
    This adds a new callback to get the stride between the per-sample
    images, adds a new value for the per-sample index to lookup,
    and a flag to use multisampling.
    
    gallivm/sample: add num samples interface for dynamic samplers
    
    This will be used for getting number of samples in jit code.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>



More information about the mesa-commit mailing list