Mesa (13.0): 34 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Mon Oct 31 11:58:46 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91b2b925d180aa2327c2262c7a55916ba4de8cb9
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Oct 31 11:53:03 2016 +0000

    Update version to 13.0.0-rc3
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a977612fc050d914080cc16bff30b5f7ba024ed
Author: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Date:   Fri Oct 21 08:23:59 2016 +0200

    glsl: update default precision qualifier when it is set in the shader
    
    Default precision qualifier for a data type could be set several times
    inside a shader. This patch allows to update the default precision
    qualifier for the given type that is saved in the symbol table.
    
    If it is not in the symbol table, just add it.
    
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97804
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    (cherry picked from commit 0e742926c6895dcaf8bdbe43022c8a0bc74fdd96)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95b5a69093ac6b3ea750567cc400696735ae07bc
Author: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Date:   Thu Oct 20 09:04:59 2016 +0200

    mesa/program: Add _mesa_symbol_table_replace_symbol()
    
    This function allows to modify an existing symbol.
    
    v2:
    - Remove namespace usage now that it was deleted.
    
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    (cherry picked from commit dfbdb2c0b3559c46d93f10d636a88b9541304fc7)
    Nominated-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea37a0603773467a567fbdf933104410ad8c3916
Author: Timothy Arceri <timothy.arceri at collabora.com>
Date:   Fri Oct 21 16:50:52 2016 +1100

    glsl/mesa: remove unused namespace support from the symbol table
    
    Namespace support seems to have been unused for a very long time.
    
    Previously the hash table entry was never removed and the symbol name
    wasn't freed until the symbol table was destroyed.
    
    In theory this could reduced the number of times we need to copy a string
    as duplicate names are reused. However in practice there is likely only a
    limited number of symbols that are the same and this is likely to cause
    other less than optimal behaviour such as the hash_table continuously
    growing.
    
    Along with dropping namespace support this change removes entries from
    the hash table as they become unused.
    
    Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    (cherry picked from commit 6dbe8a1b9fd750b4c1bb600a0bb43129d95e6eca)
    Nominated-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=02d5e60ee0261a86227a0dbd058a87608dc174bf
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Oct 25 03:38:54 2016 -0700

    glsl: Size TCS->TES unsized arrays to gl_MaxPatchVertices for queries.
    
    SSO validation and other program interface queries want to see that
    unsized (non-patch) TCS output/TES input arrays are implicitly sized
    to gl_MaxPatchVertices.
    
    By the time we create the program resource lists, we've sized the arrays
    to their actual size.  (We try to create TCS output arrays to match the
    output patch size right away, and at this point, we should have shrunk
    TES input arrays.)  One option would be to keep them sized to
    gl_MaxPatchVertices, and defer shrinking them.  But that's a big change,
    and I don't think it's a good idea.
    
    Instead, this patch introduces a new ir_variable flag which indicates
    the variable is implicitly to gl_MaxPatchVertices.  Then, the linker
    munges the types when creating the resource list, ignoring the size
    in the IR's types.  Basically, lie about it for resource queries.
    It's ugly, but I think it ought to work.
    
    We probably could use var->data.implicit_sized_array for this, but
    I opted for a separate bit to try and avoid convoluting the existing
    SSBO handling.  They're similar in concept, but share none of the
    same code...
    
    Fixes:
    ES31-CTS.core.tessellation_shader.single.xfb_captures_data_from_correct_stage
    and the ES32-CTS and ESEXT-CTS variants.
    
    v2: Add a comment (requested by Timothy, written by me).
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit 173558445dce26ce641faf260a17696221acf23d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=649a47a8343fbc35e17f17fac6e010a106e34b64
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Oct 25 03:46:51 2016 -0700

    glsl: Pass ctx to program interface query helper functions.
    
    The next commit will use this in add_shader_variable - this just
    separates out some of the mechanical changes for easier review.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit 34fd2ffed8c7acfe1b19247eb3b98c3e754680b2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d640b0d71b6910e0c8d0bdb7299fe1cb24b0890b
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Wed Oct 26 13:54:51 2016 +0300

    egl: set preserved behavior for surface only if config supports it
    
    Otherwise we can end up with mismatching behavior between config and
    surface when client queries surface attributes. As example, configs
    for DRI3 do not support preserved behavior but here we were setting
    preserved behavior for pixmap and pbuffer.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98326
    Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    Reviewed-by: Chad Versace <chadversary at chromium.org>
    Tested-by: Mark Janes <mark.a.janes at intel.com>
    (cherry picked from commit 2035930966b05a7c4dd1f6559d66b5a3b41e01a5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d35c4d15121c9bd8d5d8ea4a10356e6be91798c4
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Oct 25 06:53:03 2016 +1000

    radv/ac/llvm: trim texture return values
    
    The intrinsic engine asserts in llvm due to this,
    as we put a vec4 into a vec1, and the next instruction
    isn't expecting it.
    
    So trim the vector at the end before inserting it.
    
    Reported-by: Christoph Haag <haagch+mesadev at frickel.club>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Cc: "13.0" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit d548fa882b865b8e5052954b872e392312c38ab8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c004253543eb1ebc492be127f21cc8cd335384a
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Oct 21 17:43:00 2016 +0200

    nvc0/ir: fix emission of SHLADD with NEG modifiers
    
    This affects GF100:GK110 chipsets, but not GM107+ where the
    logic is a bit different. The emitters tried to emit sub
    instead of subr when src0 has a NEG modifier.
    
    This fixes the following piglit tests glsl-fs-loop-nested
    and glsl-vs-loop-nested.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Acked-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 1ec7227d44dceae8de7b93f846bbd33d66007909)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6458a9dc6cb045ea297bfcd4d652c8f7e55911ab
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Mon Oct 24 23:41:00 2016 +0100

    egl/dri2: swap_buffers_with_damage falls back to swap_buffers
    
    Since commit 0a606a400fe3 ("egl: add eglSwapBuffersWithDamageKHR"),
    Android has been broken because the function eglSwapBuffersWithDamageKHR
    is provided regardless of the extension being present. Also, the Android
    meta-EGL always advertises the extension regardless of the underlying
    EGL implementation. As there doesn't seem to be a simple way
    conditionally make the EGL function ptr NULL, just implement a brain
    dead version of eglSwapBuffersWithDamage{KHR,EXT}.
    
    Cc: 13.0 <mesa-stable at lists.freedesktop.org>
    CC: Rob Clark <robdclark at gmail.com>
    Suggested-by: Emil Velikov <emil.velikov at collabora.com>
    Signed-off-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Rob Herring <robh at kernel.org>
    [Emil Velikov: copy the original commit message from Rob's patch]
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    
    (cherry picked from commit 4fa799ae04c02b77176797c854f9d1b9b4290a2e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1d02e7006f57914455a131e1f1b54a170c57300
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Oct 25 13:10:49 2016 +0200

    st/mesa: allow multiple concurrent waiters in ClientWaitSync
    
    so->fence can be unreferenced by one thread while another thread is
    somewhere in ClientWaitSync and expecting so->fence to be non-NULL.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98172
    
    Cc: 12.0 13.0 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit b687f766fddb7b39479cd9ee0427984029ea3559)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c29a37c44495c482e5e61330d1baf39e713b52bb
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Oct 25 12:58:03 2016 +0200

    st/mesa: unduplicate st_check_sync code
    
    It's the same as st_client_wait_sync. Discovered by Michel.
    This is needed to make the following fix simpler.
    
    Cc: 12.0 13.0 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit f240ad98bc05281ea7013d91973cb5f932ae9434)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c5bbfcbc8a855a46f6b9707f6958206bac46cfc
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Oct 24 19:05:10 2016 +0200

    winsys/amdgpu: fix radeon_surf::macro_tile_index for imported textures
    
    Maybe this is why SDMA has been broken for many amdgpu users?
    
    SDMA is the only block which is used with imported textures and relies
    on this variable. DB also uses it, but it doesn't get imported textures,
    so it's unaffected.
    
    I do get SDMA failures on Tonga before this patch if R600_DEBUG=testdma
    is changed to use imported textures.
    
    Cc: 11.2 12.0 13.0 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 6ec3b2a4b1d41b83a4721d06b42c49f55e695cbf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf82ceb21e789d350c236e37a478b80ce191ebb0
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Oct 24 21:16:11 2016 +0200

    gallium/radeon: make sure the address of separate CMASK is aligned properly
    
    This should fix random GPU hangs on Hawaii and Fiji.
    
    Cc: 11.2 12.0 13.0 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit dce05b342355eac9296ee7110385b16d6edb059d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b214af38b9f5c1422d53f6477483dec984c14952
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sun Oct 23 15:29:18 2016 +0200

    gallium/radeon: fix incorrect bpe use in si_set_optimal_micro_tile_mode
    
    Oh my god, I wonder what catastrophic issues this was causing on SI.
    
    Cc: 13.0 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 8a21f52d73936e23a314a288a36782a698c7c1b9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbfc01e654c4afc73bb91030448b02edb7f0efda
Author: Fredrik Höglund <fredrik at kde.org>
Date:   Fri Oct 21 19:07:37 2016 +0200

    vulkan/wsi/wayland: fix ARGB window support
    
    Use an ARGB format for the DRM buffer when the compositeAlpha field
    in VkSwapchainCreateInfoKHR is set to
    VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR.
    
    Cc: "13.0" <mesa-stable at lists.freedesktop.org>
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 68db0fe0346386c8d231eb81da6340b24b7878b0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=100851b1f55be508745432eebbd76235ebbdd327
Author: Fredrik Höglund <fredrik at kde.org>
Date:   Fri Oct 21 19:07:36 2016 +0200

    vulkan/wsi/x11: fix ARGB window support
    
    Pass the correct depth to xcb_dri3_pixmap_from_buffer_checked().
    Otherwise xcb_present_pixmap() fails with a BadMatch error.
    
    Cc: "13.0" <mesa-stable at lists.freedesktop.org>
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 972670c2007c1c5a51b4f0876d31476858f79351)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ec30b87c0f4a7b7fb7adc86ce2429b40b8b557d
Author: Fredrik Höglund <fredrik at kde.org>
Date:   Tue Oct 25 20:31:41 2016 +0200

    radv: mark the fence as submitted and signalled in vkAcquireNextImageKHR
    
    This stops the debug layers from complaining when fences are used to
    throttle image acquisition.
    
    Cc: "13.0" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 0a153f4ee472f8f17575bbfe05f1c96fb5ecf1ea)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc5995d9e65fc10703304744a9e58e1a518ad88c
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Oct 25 11:49:33 2016 -0700

    radv: Replace "abi_versions" with correct "api_version".
    
    git history shows "abi_versions" was used from the outset.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98415
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 14aac061e92fe57d1ee61843c1ccd1b275d8ca76)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42de0666eca90aa158174478a54133b6a2732413
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Oct 25 11:44:43 2016 -0700

    anv: Replace "abi_versions" with correct "api_version".
    
    git history shows "abi_versions" was used from the outset.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98415
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 07755237d36754cb44c32e17e32cf1bc551d2373)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4083feb9390b786d4621e7d510d03c6e47d8ecc9
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Oct 25 13:24:16 2016 +0200

    nvc0: use correct bufctx when invalidating CP textures
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 7b2712c367891e96384226a1fa94679a814235d0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=92a50b3d6e1d5283e01a1b1cb7edde93ce4f3f1e
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Fri Oct 7 10:08:21 2016 +0300

    mesa: fix error handling in DrawBuffers
    
    Patch rearranges error checking so that enum checking provided via
    destmask happens before other checks. It needs to be done in this
    order because other error checks do not work properly if there were
    invalid enums passed.
    
    Patch also refines one existing check and it's documentation to match
    GLES 3.0 spec (also in later specs). This was somewhat mysteriously
    referring to desktop GL but had a check for gles3.
    
    Fixes following dEQP tests:
    
       dEQP-GLES31.functional.debug.negative_coverage.get_error.buffer.draw_buffers
    
    no CI regressions observed.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98134
    Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit a1652a059edc5a5f0f4b0836ba310a22e094bd85)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=732b39507b21833511ea465964f66452d70336a8
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Thu Oct 20 14:11:16 2016 +0300

    egl: add check that eglCreateContext gets a valid config
    
    Fixes following dEQP test:
    
       dEQP-EGL.functional.negative_api.create_context
    
    v2: don't break EGL_KHR_no_config_context (Eric Engestrom)
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 5876f3c85a61d73bb4863331bd641152a40a7b0c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8962e9a239dae28b59f09dfb8faa3e8704ecc034
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Thu Oct 20 19:57:01 2016 +0300

    Revert "egl/android: Set EGL_MAX_PBUFFER_WIDTH and EGL_MAX_PBUFFER_HEIGHT"
    
    This reverts commit b1d636aa007c0c354a217024b4befe15cfb5149f, previous
    commit sets these values for all egl configs.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
    Suggested-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 1ef787339774bc7f1cc9c1615722f944005e070c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29f70e8e093210f0ab2638e04db93b9c730866bc
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Thu Oct 20 10:33:33 2016 +0300

    egl/dri2: set max values for pbuffer width and height
    
    While these max values were previously fixed for pbuffer creation, this
    change makes also eglGetConfigAttrib() return correct values.
    
    Fixes following dEQP tests:
    
       dEQP-EGL.functional.create_surface.pbuffer.rgb888_no_depth_no_stencil
       dEQP-EGL.functional.create_surface.pbuffer.rgb888_depth_stencil
       dEQP-EGL.functional.create_surface.pbuffer.rgba8888_no_depth_no_stencil
       dEQP-EGL.functional.create_surface.pbuffer.rgba8888_depth_stencil
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98326
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit b91e1e38e87b372d409469dfe00ace76c8febd34)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04bd51d7d00287f75d7a9d6236142450bc818994
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Oct 24 11:25:25 2016 -0700

    i965: Drop nir_inputs from fs_visitor.
    
    It's unused.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    (cherry picked from commit 41034abfe63012784c9e9e36856d878928cecd99)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f17450ff7eaab3ebe01aee2d26b886c4560a40b3
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Oct 12 22:41:09 2016 -0700

    i965: Don't use nir_assign_var_locations for VS/TES/GS outputs.
    
    Fixes spec/arb_enhanced_layouts/execution/component-layout/vs-fs-array-dvec3.
    
    v2: Remove nir_outputs field from fs_visitor (caught by Tim and Iago).
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    (cherry picked from commit 59864e8e02057cc6fa0448a8af067a3cf53389da)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de826a10a703f1c2351cff48ab816474f34e9ded
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Oct 15 03:18:36 2016 -0700

    i965: Make split_virtual_grfs() call compact_virtual_grfs().
    
    Post-splitting, VGRFs have a maximum size (MAX_VGRF_SIZE).  This is
    required by the register allocator, as we have to create classes for
    each size of VGRF.
    
    We can (and do) allocate virtual registers larger than MAX_VGRF_SIZE,
    but we must ensure that they are splittable.  split_virtual_grfs()
    asserts that the post-splitting register size is in range.
    
    Unfortunately, these trip for completely dead registers which are too
    large - we only set split points for live registers.  So dead ones are
    never split, and if they happened to be too large, they'd trip asserts.
    
    To fix this, call compact_virtual_grfs() to eliminate dead registers
    before splitting.
    
    v2: Add a comment written by Iago.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    (cherry picked from commit 27715c73ff84349466f62df0023863acd477f262)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=188a866fd024314545eee8942c348d920c0e2679
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Oct 12 22:30:30 2016 -0700

    i965: Drop unnecessary switch statement in nir_setup_outputs()
    
    TCS and FS are skipped above.  CS has no output variables.
    All remaining cases take the same path.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    (cherry picked from commit 3728ee000aecb19793dec56d45aff9d6cfce3e5b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a850e69b7e6de1d6926b2944b795826c2cc5c1c1
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Oct 22 12:00:40 2016 +0200

    st/nine: Fix locking CubeTexture surfaces.
    
    Only one face of Cubetextures was locked when in DEFAULT Pool.
    Fixes:
    https://github.com/iXit/Mesa-3D/issues/129
    
    CC: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    (cherry picked from commit eed605a473554575305e1bf10c3641761a85feb9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d576a2b0e6436b012c182969b69cd329f365a54c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Oct 22 11:59:11 2016 +0200

    st/nine: Fix mistake in Volume9 UnlockBox
    
    In the format fallback path,
    the height was used instead of the depth.
    
    CC: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    (cherry picked from commit fe7bb46134162c9a9a18832f1746991aa78121e8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32caa7438a49bcef2e575c03da825beb198403e8
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Oct 18 23:05:02 2016 +0200

    st/nine: Fix leak with integer and boolean constants
    
    Leak introduced by:
    a83dce01284f220b1bf932774730e13fca6cdd20
    
    The patch also moves the part to
    release changed.vs_const_i and changed.vs_const_b
    before the if (!cb.buffer_size) check,
    to avoid reuploading every draw call if
    integer or boolean constants are dirty, but the shaders
    use no constants.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    CC: "13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 25beccb379731b0e6fc728982190779da47aa6fd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=074ede8d4ff6e4e94b5be550ff38628b21940b2d
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Thu Oct 20 13:02:22 2016 +0200

    st/mesa: cleanup and fix primitive restart for indirect draws
    
    There are three intended functional changes here:
    
    1. OpenGL 4.5 clarifies that primitive restart should only apply with index
       buffers, so make that change explicit in the indirect draw path.
    
    2. Make PrimitiveRestartFixedIndex work with indirect draws.
    
    3. The change where primitive_restart is only set when the restart index can
       actually have an effect (based on the size of indices) is also applied for
       indirect draws.
    
    Cc: 13.0 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 3d6b5dee3a0c9c077d68e5567b95f22b627be07e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=497cf4a9d18ed67ee695bd7077d9d6e072fe2eb1
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Oct 27 10:36:07 2016 +0100

    cherry-ignore: add mapi VISILITY_CFLAGS patch
    
    Cherry-picked without -x
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>




More information about the mesa-commit mailing list