Mesa (master): 23 new commits

Jason Ekstrand jekstrand at kemper.freedesktop.org
Tue May 17 19:17:43 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6c4d46a580df5e1c9c21adae70fc0879190d53a
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon May 16 11:02:57 2016 -0700

    anv/formats: Add support for VK_FORMAT_B4G4R4A4_UNORM pre-gen8

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45c93384e519aefba1d28388955b2638f4d26ea3
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon May 16 10:25:54 2016 -0700

    anv: Add a devinfo argument to the get_format functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=100db3d31c1fd9284fc96132dccde1fa289a88c3
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sun May 15 21:50:47 2016 -0700

    anv/formats: Set the swizzle to RGB1 when using an RGBA format to fake RGB
    
    This way we get correct sampling from RGB formats that are faked as RGBA.
    This should also cause it to disable rendering and blending on those
    formats.  We should be able to render to them and, on Broadwell and above,
    we can blend on them with work-arounds.  However, we'll add support for
    that more properly later when it's deemed useful.  For now, disabling
    rendering and blending should be safe.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce375fba413a803f264335c7dd6e72b0003021f9
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sun May 15 21:46:05 2016 -0700

    anv/formats: Refactor anv_get_format
    
    The new code removes the switch statement and instead handles depth/stencil
    as up-front special cases.  This allows for potentially more complicated
    color format handling in the future.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34198d798c003d45fd52ce88e56dbfac450afd91
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sun May 15 21:41:55 2016 -0700

    anv: Use 16 bits for the isl_format in anv_format
    
    This way the entire anv_format structure fits in 32 bits

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cae59012d98959a997ef96c217adba0dc8b3ed7
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sun May 15 21:31:38 2016 -0700

    anv/formats: Use the isl_channel_select enum for the swizzle

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ed429a4f0d58eafe3e3212552af6fb0cb78feeb
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sun May 15 21:15:59 2016 -0700

    anv/formats: Add an anv_get_format helper
    
    This commit removes anv_format_for_vk_format and adds an anv_get_format
    helper.  The anv_get_format helper returns the anv_format by-value.  Unlike
    anv_format_for_vk_format the format returned by anv_get_format is 100%
    accurate and includes any tweaks needed for tiled vs. linear.
    anv_get_isl_format is now just a wrapper around anv_get_format that picks
    off just the isl_format.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=13f5cee663f693bc2cafeda9c3d6fc3537334dde
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 17:24:39 2016 -0700

    anv/format: Simplify anv_format
    
    Now that we have VkFormat introspection and we've removed everything that
    tried to use anv_format for introspection, we no longer need most of what
    was in anv_format.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1c004e5b2b3fc64b1d2525b6148389d2148f8f4
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 17:08:16 2016 -0700

    anv/formats: Delete validate_GetPhysicalDeviceFormatProperties
    
    All it ever did was some extra logging that was useful when initially
    bringing up Dota2.  We don't need it anymore.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aad56f3ee782d3c2682172e5b068119fd2fa7c32
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 17:00:58 2016 -0700

    anv/image: Use aspects for computing full usage

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbc23d93e08165e74ad40915bd3ead68b454d4d3
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 16:52:15 2016 -0700

    anv: Remove the anv_format member from anv_image

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be94a23b4402e1562eebc6aa6c485be2a2506a79
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 16:55:08 2016 -0700

    anv/wsi: Use vk_format_info for asserts rather than anv_format

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63dbb2c60aae593717159e53003cf8adac207aad
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 16:54:00 2016 -0700

    anv/copy: Use the linear format from the image for the buffer block size
    
    Because the buffer is exposed to the user, the block size is defined to
    always exactly be the size of the actual vulkan format.  This is the same
    size (it had better be) as the linaer image format.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c87429c5f1d31d8a95e1173c432775001f8b38a0
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 16:52:41 2016 -0700

    anv/image: Stop using anv_format for image create validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=990a7420b6cd6408fb13aa84d9b2a159a11eafc4
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 16:47:39 2016 -0700

    anv/image: Make heavier use of aspects

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=369b8bf40229b515168c6ad04694217aa3c0d2ce
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 14:39:40 2016 -0700

    anv/copy: Use the color_surf from the image to get the block size

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9102e88364a7e6a5c66f5b0eb5869ab029cddf92
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 14:07:21 2016 -0700

    anv: Change render_pass_attachment.format to a VkFormat

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffc502ce0c422822b8d276d07600a6089c70b4af
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 14:05:00 2016 -0700

    anv: Add helpers to provide simple VkFormat introspection
    
    As much as I hate adding yet more format introspection, there are times
    when the VkFormat is sufficient and we don't want to round-trip through
    isl_format.  For these times, the new vk_format_info.c/h files provide some
    simple driver-agnostic VkFormat introspection.  This intended to be
    specific to Vulkan but not to any driver whatsoever.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97ba402cc3d5db37778d2bec284df32316cae6d1
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 13:39:20 2016 -0700

    anv/image: Use get_isl_format when creating buffer views

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=234ecf26c65a8909e91313a8b35e2a8a8bbfc0ef
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 12:50:11 2016 -0700

    anv/image: Add an aspects field
    
    This makes several checks easier and allows us to avoid calling
    anv_format_for_vk_format in a number of cases.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bda8d06e54ee56db89a00e7a9ed8577d724fc9f
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri May 13 12:38:12 2016 -0700

    anv: Make format_for_descriptor return an isl_format

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=263a8cb52de2ef36a54b00cb1a31738ea09a0ac8
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon May 16 10:19:20 2016 -0700

    anv/wayland: Don't allow non-renderable formats

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb6baa31746b55d48892b0c57f0e0076b91efdeb
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sun May 15 22:21:24 2016 -0700

    anv/wsi: Make WSI per-physical-device rather than per-instance
    
    This better maps to the Vulkan object model and also allows WSI to at least
    know the hardware generation which is useful for format checks.




More information about the mesa-commit mailing list