Mesa (master): 28 new commits

Jason Ekstrand jekstrand at kemper.freedesktop.org
Wed May 9 18:16:52 UTC 2018


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=561348caa14a849dd50ed1df1d8f7abba7de66f7
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan 26 11:43:24 2018 -0800

    intel/isl: Allow CCS_E on 1010102 formats
    
    On CNL and above, CCS_E supports 1010102 formats and R11G11B10F.  We had
    shut them off during early enabling because blorp_copy couldn't handle
    them.  Now it can handle 1010102 formats so we can turn them back on.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ccb44b8a94654fc827eda784653e607062de3ca1
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan 26 11:42:35 2018 -0800

    intel/blorp: Allow CCS copies of 1010102 formats
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1978de66f7160b5af8eac8041dfa8c4e0ec3bb83
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan 26 11:41:02 2018 -0800

    intel/blorp: Add support for more format bitcasting
    
    nir_format_bitcast_uint_vec_unmasked can only be used to cast between
    formats with uniform channel sizes.  In particular, it cannot handle
    10_10_10_2 formats.  By making use of the NIR helper for uint vector
    casts, we should now be able to bitcast between any two uint formats so
    long as their channels are in RGBA order (possibly with channels
    missing).  In order to do this we need to rework the key a bit to pass
    the actual formats instead of just the number of bits in each.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7998fe268e727c49388aeed854bc0d6ff1ef6a89
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan 26 11:35:04 2018 -0800

    intel/blorp: Use nir_format_bitcast_uint_vec_unmasked
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=047e68389f0aa56213503e99d31d5357284acdde
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan 26 11:34:04 2018 -0800

    nir/format_convert: Add code for bitcasting vectors
    
    This is a fairly direct port from blorp.  The only real change is that
    the nir_format_convert version doesn't assume that everything is a vec4.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6b66a7b26ae1cc01355d3ccfaa604a5c8e1dae5
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan 26 10:44:51 2018 -0800

    intel/blorp: Use ISL instead of bitcast_color_value_to_uint
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09ced6542049986f7fe52af8087aec9fc23d9f16
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jun 22 18:45:24 2017 -0700

    intel/isl: Add format conversion code
    
    This adds helpers to ISL to convert an isl_color_value to and from
    binary data encoded with a given isl_format.  The conversion is done
    using ISL's built-in format introspection so it's fairly slow as format
    conversions go but it should be fine for a single pixel value.  In
    particular, we can use this to convert clear colors.
    
    As a side-effect, we now rely on the sRGB helpers in libmesautil so we
    need to tweak the build system a bit.  All prior uses of src/util in ISL
    were header-only.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8152c60e012605df2ac3a3522974e17c2362b770
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jun 22 23:18:06 2017 -0700

    intel/isl/format: Get rid of the ALPHA colorspace
    
    Alpha-only formats are just linear.  There's no need to specially
    deliminate them as being in their own colorspace.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ab73790efbce705c84c5fd6e598d91ffe02b579
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jun 22 17:12:36 2017 -0700

    intel/isl/format: Add field locations informations to channel_layout
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96598fbc02d2277a923d10aad168a7a3be0fb08b
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jun 22 16:52:56 2017 -0700

    intel/isl/format: Add a column for channel order to the table
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d08d6a3da88aa3a07e0c867428c93ab7be23c9e4
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan 20 22:36:30 2017 -0800

    i965/blorp: Remove a pile of blorp_blit restrictions
    
    Previously, blorp could only blit into something that was renderable.
    Thanks to recent additions to blorp, it can now blit into basically
    anything so long as it isn't compressed.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=465d8566cdff545343388a11a56fe6048024c13c
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed May 9 09:48:29 2018 -0700

    i965/blorp: Allow blorp blits for 16x MSAA
    
    BLORP has supported 16x MSAA for quite a while now, we just never
    bothered to enable it for CopyTexSubImage.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09eede9c9d51629e70ddf8ef35ba0879073b0825
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sat Jan 21 11:30:40 2017 -0800

    anv: Allow blitting to/from any supported format
    
    Now that blorp handles all the cases, why not?  The only real change we
    have to make is to stop using anv_swizzle_for_render() in blorp_blit
    because it doesn't work for B4G4R4A4 and blorp now natively handles that.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ce31c9cc58489c2cc80a7ca62d14af4f386e8ef
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sat Jan 21 10:53:12 2017 -0800

    intel/blorp: Support the RGB workaround on more formats
    
    Previously we only supported UINT formats because that's what blorp_copy
    required.  If we want to use it in blorp_blit, however, we need to
    support everything.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e26e3dea9d11b2fe88d829488e1295161e68cbb
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sat Jan 21 09:34:44 2017 -0800

    intel/blorp: Silently convert RGBX destination formats to RGBA
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08cd834996377634cab8c49c50ad2dc66600fa45
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sat Jan 21 09:24:26 2017 -0800

    intel/isl: Add some helpers for working with RGBX formats
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=804856fa5735164cc0733ad0ea62adad39b00ae2
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan 20 22:12:06 2017 -0800

    intel/blorp: Handle more exotic destination formats
    
    This commit adds support for the following formats as destination
    formats even though the hardware does not support rendering to them:
    
     - ISL_FORMAT_R24_UNORM_X8_TYPELESS
     - ISL_FORMAT_A4B4G4R4_UNORM
     - ISL_FORMAT_L8_UNORM_SRGB
     - ISL_FORMAT_R9G9B9E5_SHAREDEXP
    
    This is done by using a different format and emitting shader code to
    fake it the rest of the way.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e492bb92e95f02148165eb9e9e3f37f76a66417
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jan 25 23:01:40 2018 -0800

    intel/blorp: Include nir_format_convert.h in blorp_blit.c
    
    nir_mask_shift_or is now defined in nir_format_convert.h so we can
    delete the copy in blorp_blit.c.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9981709d8f3cadf04950fae3ac6f34afdfd2d3fb
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jan 25 23:06:11 2018 -0800

    nir/format_convert: Add a function to pack RGB9_E5 formats
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e337b42f9a286c7ef78bae204b7638c9eed758b
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jan 25 22:32:16 2018 -0800

    nir/format_convert: Add pack/unpack for R11F_G11F_B10F
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98156b0019ba8c9ea32a17d1c6ae81997b518856
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jan 25 22:52:37 2018 -0800

    nir/format_convert: Add linear <-> sRGB helpers
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fdd966e3dd1d984229a62272b42f6b3bc46486c
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 20 09:35:48 2017 -0700

    nir: Add the start of a format conversion helper header
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=906c32ce875b8d0aec73d226aae15eadcfc5f457
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Feb 8 18:00:05 2017 -0800

    intel/blorp: Add swizzle support for all hardware
    
    This commit makes blorp capable of swizzling anything even on hardware
    that doesn't support texture swizzle.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ef4f5aff1bb80685a7d8407ce74040f7494068f
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Feb 8 17:59:43 2017 -0800

    intel/isl: Add a helper for inverting swizzles
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=242f6f7492a0e5b0cafa003c61f1d9e8ccce8889
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 7 09:14:46 2017 -0800

    intel/isl: Add a helper for composing swizzles
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dad67cc24576622ef989a9bb66a5b13cc275cfae
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Feb 8 17:21:54 2017 -0800

    intel/isl: Add an isl_swizzle_supports_rendering helper
    
    This helper encodes more details, specifically about Haswell, than the
    previous asserts in isl_surface_state.c.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23d703de1fb140bb2ed4da247961d89a69f27140
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Feb 9 14:50:01 2017 -0800

    i965/surface_state: Use an identity swizzle pre-Haswell
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=293b8de16159912133fde59c62c58b42ad80e1af
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sat Jan 21 07:59:56 2017 -0800

    blorp: Handle the RGB workaround more like other workarounds
    
    The previous version was sort-of strapped on in that it just adjusted
    the blit rectangle and trusted in the fact that we would use texelFetch
    and round to the nearest integer to ensure that the component positions
    matched.  This new version, while slightly more complicated, is more
    accurate because all three components end up with exactly the same
    dst_pos and so they will get interpolated and sampled at the same
    texture coordinate.  This makes the workaround suitable for using with
    scaled blits.
    
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>




More information about the mesa-commit mailing list