Mesa (master): 22 new commits

Jason Ekstrand jekstrand at kemper.freedesktop.org
Wed Nov 16 18:33:02 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e50bf059b01499a54d2ff7bd4624e39e0fee9098
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 23:19:44 2016 -0700

    anv/blorp: Handle VK_ATTACHMENT_UNUSED in CmdClearAttachments
    
    From the Vulkan 1.0.29 spec for vkCmdClearAttachments:
    
       "If the subpass’s depth/stencil attachment is VK_ATTACHMENT_UNUSED,
       then the clear has no effect."
    
    and
    
       "If colorAttachment is VK_ATTACHMENT_UNUSED then the clear has no
       effect."
    
    I have no idea why it's spec'd this way; it seems very anti-Vulkan to me,
    but that's what it says and it's really not much work to support.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=633677194f1d33f0dfbdfdfb7ac5b4f1b4dffdcb
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 18:11:42 2016 -0700

    Allocate a null state whenever there is depth/stencil
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a380f954610319782811bb2aa44180c4e1231823
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 17:46:17 2016 -0700

    anv: Set framebuffer to NULL in secondary command buffers
    
    Nothing that is allowed to be called within a secondary now relies on the
    framebuffer.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fcaf4e37a14316a63bec08c7d80af8e2251cc44
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 17:13:51 2016 -0700

    anv/blorp: Use the new clear_attachments entrypoint for attachment clears
    
    This allows us to re-use the surface states emitted from the Vulkan driver
    instead of blorp creating its own.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e371850d94cf8cf9df678233d64411c783d95668
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 17:01:17 2016 -0700

    anv/blorp: Break the guts of alloc_binding_table into a shared helper
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c1ee052bdb3585d85ca6a95223de790cafe657a
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 16:53:46 2016 -0700

    anv: Bring back anv_cmd_buffer_emit_state_base_address
    
    This reverts most of commit 52904ba85c7e1e3092601e3497bfbc246b00b84a.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72878f9f53b9a44dd8575c7b8d1929c8995c1876
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 14:50:20 2016 -0700

    intel/blorp: Add a clear_attachments entrypoint
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aea29cc1ce0c97e1cffb6aaff78c7dd754b8191
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 17:15:49 2016 -0700

    intel/blorp: Add capability to use pre-baked binding tables
    
    When a pre-baked binding table is requested, no binding table is created,
    instead the binding table offset (relative to surface state base address)
    provided by the user is used verbatim.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7f768d19506dc9e480531ce41d03dba9b4fc792
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 13:10:52 2016 -0700

    intel/blorp: Add support for vertex shaders
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=768c8dd71894fb3f57a758814946d745a426d7e5
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 14:32:03 2016 -0700

    intel/blorp: Use an actual chunk of vertex buffer for the VUE header
    
    We're about to start passing other things in as a sort of "VS header" for
    vertex shaders and we need a place to put them.  Since we want the instance
    id to be one of them, it makes sense to have one vec4 that's either VUE
    header or VS header.  Always uploading some handy zeros makes the code a
    bit simpler.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c8095c260def3cf7d8f2b178e897008ba3b7bb6
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 14:22:10 2016 -0700

    blorp/exec: Use uint32_t for copying varying data
    
    Some things may not be floats and intel CPUs are known for mangling bits
    when a float type is used for copying integers.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21943c35f75d90f464f8495f5282037e1c7c79d0
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 14:15:03 2016 -0700

    intel/blorp: Handle NIR clear inputs the same way as blit inputs
    
    By using offsetof() we can ensure that adding fiels to wm_inputs is always
    safe as long as we maintain alignment.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=570a0e844b4be3bc5546b860e9968b55b2f3909d
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 12:01:37 2016 -0700

    intel/blorp: Remove NIR support for uniforms
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99b436ae5cfa410c6daad89f78acbe5ec88b9426
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 11:30:05 2016 -0700

    intel/blorp: Add a shader type to make keys more unique
    
    Depending on how the driver using blorp implements its shader caching,
    there is a small chance of shader collisions due to identical keys between
    blit and clear programs.  Adding a small shader type at the top of the key
    alleviates this problem.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1acebeb1910b5fb29195acf132bbb88ebeebfb8b
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 21 10:40:58 2016 -0700

    intel/blorp: Make the number of samples an explicit parameter
    
    Previously, we always inferred it from params->dst which meant that
    references to params->dst were scattered all throughout the state upload
    code.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6614234fc938e793eb258fb981008661aa943a10
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Oct 19 16:37:03 2016 -0700

    anv/cmd_buffer: Stop relying on the framebuffer for 3DSTATE_SF on gen7
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2b4a9da038a200db3c5c61a11d5ea451cc6cc98
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Oct 19 11:33:55 2016 -0700

    anv: Rework the way render target surfaces are allocated
    
    This commit moves the allocation and filling out of surface state from
    CreateImageView time to BeginRenderPass time.  Instead of allocating the
    render target surface state as part of the image view, we allocate it in
    the command buffer state at the same time that we set up clears.  For
    secondary command buffers, we allocate memory for the surface states in
    BeginCommandBuffer but don't fill them out; instead, we use our new
    SOL-based memcpy function to copy the surface states from the primary
    command buffer.  This allows us to handle secondary command buffers without
    the user specifying the framebuffer ahead-of-time.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e283cd549c4aaf12cd74d7f15ddf4bda3fb009b0
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Oct 19 10:29:30 2016 -0700

    anv/cmd_buffer: Expose add_surface_state_reloc as an inline helper
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=858b75563f5ec430fd61c95eccf6781ed9cd6c90
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Oct 19 10:15:27 2016 -0700

    anv/cmd_buffer: Use the surface state alloc helper in null_surface_state
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d9747780bc2508f4474230a0998d9dba7b02d1e
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Sep 26 12:10:11 2016 -0700

    anv: Add a helper for doing buffer copies with nothing but VF and SOL.
    
    This method of doing copies has the advantage of touching very little of
    the GPU state.  While it does disable all the shader stages, it doesn't
    have to blow away binding tables, viewports, scissors, or any other bits of
    dynamic state other than VBO 32 which is already reserved.  All of the
    state that it does touch is contained within a pipeline anyway so that's
    the only thing that has to be dirtied.
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=184bbfd69bf74cc5b4c27cd80d4d8d0b16b24a17
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Oct 18 19:02:07 2016 -0700

    intel/genxml: Add SO_WRITE_OFFSET registers for gen7-9
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3bc8068550d2efc98c49d7d82a6aa40154f76fe
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Sep 19 22:04:40 2016 -0700

    intel/isl: Add some basic info about RENDER_SURFACE_STATE to isl_device
    
    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>




More information about the mesa-commit mailing list