Mesa (17.0): 34 new commits

Andres Gomez tanty at kemper.freedesktop.org
Thu Mar 30 15:09:05 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a84f6fd4330a00a8d89c24d569dbb450832602d
Author: Andres Gomez <agomez at igalia.com>
Date:   Thu Mar 30 16:48:24 2017 +0300

    cherry-ignore: add the Flush after unmap in gbm/dri fix
    
    The commit caused a regression in i965 (and possibly others) since it
    didn't implement v4 of DRI2's flush extension.
    
    Signed-off-by: Andres Gomez <agomez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57904e481f4b3baec7ff8bfa2a106349266409b8
Author: Andres Gomez <agomez at igalia.com>
Date:   Wed Mar 29 01:24:24 2017 +0300

    cherry-ignore: add the Invalidate L2 for TRANSFER_WRITE barriers fix
    
    Addressed an earlier commit [0567ab0407e] which did not land in
    branch. This will be backported with a stable specific patch.
    
    Signed-off-by: Andres Gomez <agomez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d59fd83ed128d48c15b4e0f2c7a9bcf6d6f6566
Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Tue Mar 28 11:25:04 2017 +0100

    c11/threads: Include thr/xtimec.h for xtime definition when building with MSVC.
    
    MSVC has been including a xtime definition in thr/xtimec.h ever since
    MSVC 2013 (which is the minimum we require for building Mesa), and
    including it prevents duplicate definitions when it gets included by
    LLVM.
    
    In fact, it looks that MSVC has been including a partial C11 threads
    implementation too for some time, which we should consider migrating to
    once we eliminate the use of _MTX_INITIALIZER_NP in our tree.
    
    Thanks to the anonymous helper from
    https://bugs.freedesktop.org/show_bug.cgi?id=100201#c4 for spotting
    this.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100201
    CC: "17.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit ecfafdcbf51d8919e219539b57ffbd9cd3f8557a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9caf60b3a2c25d46c78c9cdba36e663b687ffd50
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Mar 15 11:58:52 2017 -0700

    anv: Flush caches prior to PIPELINE_SELECT on all gens
    
    The programming note that says we need to do this still exists in the
    SkyLake PRM and, from looking at the bspec, seems like it may apply to
    all hardware generations SNB+.  Unfortunately, this isn't particularly
    clear cut since there is also language in the bspec that says you can
    skip the flushing and stall to get better throughput.  Experimentation
    with the "Car Chase" benchmark in GL seems to indicate that some form of
    flushing is still needed.  This commit makes us do the full set of
    flushes regardless of hardware generation.  We can always reduce the
    flushing later.
    
    Reported-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Cc: "17.0 13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 6baae9625d26d282a72481598f9431fcad3211f6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1761f9d4b2f5a3ed5092a9fef390d5ae5cc07411
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Mar 15 11:58:51 2017 -0700

    anv/cmd_buffer: Fix bad indentation
    
    A bunch of code was indented in such a way that it looked like it went
    with the if statement above but it definitely didn't.
    
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Cc: "17.0 13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 0fe3dcce4c3e8b86a60beefe4c5adc760f2d59f8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9973db02a04621598bf504fcc7797522ee5046de
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Mar 24 16:30:24 2017 -0700

    anv/cmd_buffer: Apply flush operations prior to executing secondaries
    
    This fixes rendering issues in the Vulkan port of skia on some hardware.
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: "13.0 17.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 01a65dc43be3a4bf6b8a901586f7222218f4b6b3)
    [Andres Gomez: resolve trivial conflicts]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/intel/vulkan/genX_cmd_buffer.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a9e06e5b911f19bca3a826f6d4d7cf038e2f823
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Mar 24 16:20:35 2017 -0700

    anv/blorp: Use anv_get_layerCount everywhere
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: "13.0 17.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 9319ef96fd5c2489754eae1b058e4087d7259341)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cabd40211413bbf780fa61949da7dde47608792
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Mar 24 16:20:18 2017 -0700

    anv: Make anv_get_layerCount a macro
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: "13.0 17.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 1b8fa8dd794c22aba43b16470e75ecaebf902b11)
    [Andres Gomez: resolve trivial conflicts]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/intel/vulkan/anv_private.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b3fddaa1aeba342e2e2551558b6867b13789de5
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Mar 29 20:30:19 2017 +1100

    mesa: update lower_jumps tests after bug fix
    
    This change updates the tests to reflect the IR after
    the following bug fix.
    
    Fixes: c1096b7f1d49 ("glsl: fix lower jumps for returns when loop is
                          inside an if")
    
    Tested-by: Michel Dänzer <michel.daenzer at amd.com>
    Bugzilla: https://bugs.freedesktop.org/100441
    (cherry picked from commit e44cba540ee7a07bba643bab4b9e519e90244bd1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f86b7398a646dc95748cc314edb2ba0e3d25ef7
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Tue Mar 28 18:00:39 2017 +0200

    tests/cache_test: allow crossing mount points
    
    When using an overlayfs system (like a Docker container), rmrf_local()
    fails because part of the files to be removed are in different mount
    points (layouts). And thus cache-test fails.
    
    Letting crossing mount points is not a big problem, specially because
    this is just for a test, not to be used in real code.
    
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit caa616ccc4384ea1479865e12b56cf816561a827)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc01cb9c5f38d6cdbb583ba70db5e51cc8901236
Author: Andres Gomez <agomez at igalia.com>
Date:   Wed Feb 22 17:03:22 2017 +0200

    glsl: on UBO/SSBOs link error reset the number of active blocks to 0
    
    While it's legal to have an active blocks count > 0 on link failure.
    Unless we actually assign memory for the blocks array we can end up
    segfaulting in calls such as glUniformBlockBinding().
    
    To avoid having to NULL check these api calls we simply reset the
    block count to 0 if the array was not created.
    
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    Cc: Timothy Arceri <tarceri at itsqueeze.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    (cherry picked from commit bf15b2b515d5f37fc67fea77dea9d2fbc1dc8bf1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb00f22b835f76b88c996e479fc583e86e4d6006
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Mar 14 17:52:12 2017 -0700

    anv/query: Fix the location of timestamp availability
    
    Reviewed-By: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: "17.0 13.0" <mesa-dev at lists.freedesktop.org>
    (cherry picked from commit 4bbb4b95b8ba02693f5e6990b983ebb66dc6241a)
    [Andres Gomez: use genX_cmd_buffer.c instead of genX_query.c]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/intel/vulkan/genX_query.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45e133ab3bc0d182e5a2a8ebd4db725499c8ab09
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Tue Mar 28 01:48:15 2017 +0200

    radv: flush DB cache before and after HTILE decompress.
    
    It reads @ writes the DB cache, and we haven't flushed dst caches yet,
    so DB cache may be stale. Also the user might be shader read (and probably is),
    so also flush after.
    
    Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    CC: <mesa-stable at lists.freedesktop.org>
    Fixes: f4e499ec791 ("radv: add initial non-conformant radv vulkan driver")
    (cherry picked from commit a8c51b1cd9168b621e27cf5308d0dd8fc08f8a4a)
    [Andres Gomez: resolve trivial conflicts]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/amd/vulkan/radv_cmd_buffer.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6613fba2a961155a2a0f9c6c6cd0bca10c8bcbc6
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Sun Mar 26 23:34:13 2017 +1100

    glsl: fix lower jumps for returns when loop is inside an if
    
    Previously we would just escape the loop and move everything
    following the loop inside the if to the else branch of a new if
    with a return flag conditional. However everything outside the
    if the loop was nested in would still get executed.
    
    Adding a new return to the then branch of the new if fixes this
    and we just let a follow pass clean it up if needed.
    
    Fixes:
    tests/spec/glsl-1.10/execution/vs-nested-return-sibling-loop.shader_test
    tests/spec/glsl-1.10/execution/vs-nested-return-sibling-loop2.shader_test
    
    Cc: "13.0 17.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    (cherry picked from commit c1096b7f1d49f33c85b1042f82ccb063f63e7c20)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=613e6e4d5df91ae498d6f64fe40e247e6bcc762d
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Mar 23 12:12:18 2017 -0700

    i965/fs: Don't emit SEL instructions for type-converting MOVs.
    
    SEL can only convert between a few integer types, which we basically
    never do.
    
    Fixes fs/vs-double-uniform-array-direct-indirect-non-uniform-control-flow
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Acked-by: Francisco Jerez <currojerez at riseup.net>
    
    (cherry picked from commit 7dccd38b400d3a65da20ddefe282a7bb0b7ccb58)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c5dfa91693f28f5ee464961145a4347aa8ca15a
Author: Xu Randy <randy.xu at intel.com>
Date:   Mon Mar 20 15:31:35 2017 +0800

    anv/blorp: Fix a crash in CmdClearColorImage
    
    We should use anv_get_layerCount() to access layerCount of VkImageSub-
    resourceRange in anv_CmdClearColorImage and anv_CmdClearDepthStencil-
    Image, which handles the VK_REMAINING_ARRAY_LAYERS (~0) case.
    
    Test: Sample multithreadcmdbuf from LunarG can run without crash
    
    Signed-off-by: Xu Randy <randy.xu at intel.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: "13.0 17.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 004468de14170dc7a22322301829ad4f59188ee5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fcf8231eab1a3af8757e014009f482d57c43fdb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Mar 15 22:53:36 2017 +0100

    st/nine: Use atomics for available_texture_mem
    
    Resource dtor can be executed in the worker thread.
    Use atomic to avoid threading safety issues.
    
    CC: "17.0" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Tested-by: James Harvey <lothmordor at gmail.com>
    (cherry picked from commit bdf035ea6f784b90a6cbfd4ce16f3188ab15b2d3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0444ef0832be74cd79fec026d552c5ffcff2cd41
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Mar 15 22:45:03 2017 +0100

    st/nine: Resolve deadlock in surface/volume dtors when using csmt
    
    Surfaces and Volumes can be freed in the worker thread.
    
    Without this patch, pending_uploads_counter could be non-zero
    in the Surfaces or Volumes dtor, leading to deadlock.
    Instead decrease properly the counter before releasing the
    item.
    
    Also avoid another potential deadlock if the item is not
    properly unlocked: Do not call UnlockRect which will cause deadlock,
    but free directly using the deadlock safe
    nine_context_get_pipe_multithread.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99246
    
    CC: "17.0" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Tested-by: James Harvey <lothmordor at gmail.com>
    (cherry picked from commit bd85bb51c717a1858157c73adcb689e3986b2134)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c57a03585052e3bd7d61d1307cae9a922e663c20
Author: Rob Clark <robdclark at gmail.com>
Date:   Fri Mar 24 17:03:05 2017 -0400

    freedreno: fix memory leak
    
    Otherwise blitter would still hold a ref to, for example, sampler-
    views.
    
    To reproduce:
    
       glmark2 -b desktop:duration=2 --run-forever
    
    Fixes: a8e6734 ("freedreno: support for using generic clear path")
    Cc: "13.0 17.0" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Rob Clark <robdclark at gmail.com>
    (cherry picked from commit c03f6f12bbe6fb491c9362b3fd5d39b9f4fd05fd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6741256351a34c656f12e78978a6f8f988e9ec18
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date:   Wed Mar 1 19:45:03 2017 -0500

    clover: use pipe_resource references
    
    v2: buffers are created with one reference.
    v3: add pipe_resource reference to mapping object
    v4: rename to pres and drop inline initializers
    
    CC: "17.0 13.0" <mesa-stable at lists.freedesktop.org>
    
    Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    (cherry picked from commit 14b543bdc94df06897f98057c40df84b16f2e944)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e11bf563dd411edb5260f4b8e28edb3c905725e2
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Mar 24 00:17:23 2017 +0100

    radeonsi: don't hang on shader compile failure
    
    Cc: 17.0 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 518d8341627ac80f8757fd09cc3cd5c2884f58e0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c375c448bf529952afec3df62aff5f9f506c498e
Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Tue Mar 21 11:42:31 2017 -0500

    swr: [rasterizer jitter] fix llvm >= 5.0 build break
    
    Function::getArgumentList() doesn't exist anymore, switch to using
    arg_begin() (existed back to at least llvm-3.6.0).
    
    Reviewed-by: Vedran Miletić <vedran at miletic.net>
    CC: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 08f864abd9e241c7db9c99212a66cdad69bdd4d8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afb19fd70a90a8bab4ae39c957d794bed632aa86
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Mar 21 17:16:46 2017 -0700

    anv/image: Return early when unbinding an image
    
    Found by inspection.
    
    Reviewed-by: Chad Versace <chadversary at chromium.org>
     Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Cc: "17.0 13.0" <mesa-stable at lists.freedesktop.org>
    
    (cherry picked from commit c942faf8f37d14e7934a21c15ad2438dde2d501e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27a3fe0008e95f1dadccd1bf6cb70796b1f4b28b
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Wed Feb 22 14:00:29 2017 +0100

    mesa/main: fix MultiDrawElements[BaseVertex] validation of primcount
    
    primcount must be a GLsizei as in the signature for MultiDrawElements
    or bad things can happen.
    
    Furthermore, an error should be flagged when primcount is negative.
    
    Curiously, this code used to work somewhat correctly even when primcount
    was negative, because the loop that checks count[i] would iterate out of
    bounds and almost certainly hit a negative value at some point.
    
    Found by an ASAN error in
    GL45-CTS.gtf32.GL3Tests.draw_elements_base_vertex.draw_elements_base_vertex_primcount
    
    Note that the OpenGL spec seems to have s/primcount/drawcount/ at some
    point, and the code still reflects the old language.
    
    v2: provide the correct spec quotes (pointed out by Ian)
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Marek Olšák <marek.olsak at amd.com> (v1)
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit c11dcfb5e9b051b9036949b3e40a9dc15138bd97)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ecda185de538672d4a7665af2a3d4b5f5c1b7cf
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Mar 2 11:33:37 2017 -0800

    i965: Fall back to GL 4.2/4.3 on Haswell if the kernel isn't new enough.
    
    In commit d2590eb65ff28a9cbd592353d15d7e6cbd2c6fc6 I enabled GL 4.5
    on Haswell...but failed to check if we could do indirect compute
    shader dispatch...and query buffer objects.
    
    Indirect compute shader dispatch requires command parser version 5
    (kernel commit 7b9748cb513a6bef4af87b79f0da3ff7e8b56cd8, which is in
    Linux v4.4).  On earlier kernels we would have disabled
    ARB_compute_shader, which is a mandatory part of OpenGL 4.3+.
    
    Query buffer objects currently require MI_MATH and MI_LOAD_REGISTER_REG,
    which mean command parser version 7 (Linux v4.8).  On earlier kernels
    we would have disabled ARB_query_buffer_object, which is a mandatory
    part of OpenGL 4.4+.
    
    The new version support looks like:
    
    - Kernel 4.1 and older => OpenGL 3.3
    - Kernel 4.2-4.3       => OpenGL 4.2
    - Kernel 4.4-4.7       => OpenGL 4.3
    - Kernel 4.8+          => OpenGL 4.5
    
    Cc: "17.0" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    (cherry picked from commit 9b324e4dca4754801e5db59aba0ab559f2cf35ea)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e504ecb6c6963a9692b25b048b6b185f821ef939
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Tue Mar 7 11:17:05 2017 -0800

    intel: Correct the BDW surface state size
    
    The PRMs state that this packet is 16 DWORDS long. Ensure that the last
    three DWORDS are zeroed as required by the hardware when allocating a
    null surface state.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
    (cherry picked from commit 7c50f9903f58ef04ff393505a383d06f499f1fdc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d80b96f98010aec59b6f4ce9949a3909d3023c13
Author: Xu,Randy <randy.xu at intel.com>
Date:   Sat Mar 18 19:20:17 2017 +0800

    anv/genX: Solve the vkCreateGraphicsPipelines crash
    
    The crash is due to NULL pColorBlendState, which is legal if the
    pipeline has rasterization disabled or if the subpass of the render pass
    the pipeline is created against does not use any color attachments.
    
    Test: Sample subpasses from LunarG can run without crash
    
    Signed-off-by: Xu,Randy <randy.xu at intel.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Cc: "17.0 13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 57595cb0739d50a3fbd0841d7475bd775f3e24f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=348c8c34c35d8fce8184f137fb8ce85479ec9a63
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Mar 19 14:17:14 2017 +1000

    radv: fix primitive reset index emission
    
    This was meant to be checking the index type to get the correct
    index not the last emitted one. This fixes:
    dEQP-VK.pipeline.input_assembly.primitive_restart.index_type_uint32.triangle_strip_with_adjacency
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Cc: "13.0 17.0" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit d06e168b878be45029bf66c2ac627d16144a7823)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72483b29aae62fd5201ce555c574a59e4b5e5e6d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Mar 4 13:52:48 2017 -0500

    st/mesa: set result writemask based on ir type
    
    This prevents textureQueryLevels, which maps as LODQ, from ending up
    with a xyzw writemask, which is illegal.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100061
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit dab88e9af7a35ebcdd0fc87df97f4b13e908552a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a991960ca9bb3327624853ca931c104a423cebd8
Author: Karol Herbst <karolherbst at gmail.com>
Date:   Sun Mar 19 01:08:56 2017 +0100

    nvc0/ir: treat FMA like MAD for operand propagation
    
    Helps mainly Feral-ported games, due to their use of fma()
    
    shader-db changes:
    total instructions in shared programs : 3901147 -> 3842505 (-1.50%)
    total gprs used in shared programs    : 471258 -> 467359 (-0.83%)
    total local used in shared programs   : 27405 -> 27361 (-0.16%)
    total bytes used in shared programs   : 35749888 -> 35214176 (-1.50%)
    
                    local        gpr       inst      bytes
        helped          17        1829        4091        4091
          hurt           4          44           3           3
    
    Signed-off-by: Karol Herbst <karolherbst at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 09f16de7e624938d46a63b8285fc5b21050962e9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbb773e7e0131276dd1db7cb1c5e0825e9fe9d4c
Author: Alex Deucher <alexander.deucher at amd.com>
Date:   Fri Mar 17 11:13:09 2017 -0400

    radeonsi: add new polaris12 pci id
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Cc: 17.0 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
    (cherry picked from commit c2a97fb7ae991fa52adfd1dabbebbe1803261863)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c6fcdfe4549c8184f6c990505da3db6a9c95f94
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Mar 14 20:48:47 2017 -0700

    anv/GetQueryPoolResults: Actually implement the spec
    
    The Vulkan spec is fairly clear about when we should and should not
    write query pool results.  We're also supposed to return VK_NOT_READY if
    VK_QUERY_RESULT_PARTIAL_BIT is not set and we come across any queries
    which are not yet finished.  This fixes rendering corruptions on The
    Talos Principle where geometry flickers in and out due to bogus query
    results being returned by the driver.  These issues are most noticable
    on Sky Lake GT4 2hen running on "ultra" settings.
    
    Reviewed-By: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100182
    Cc: "17.0 13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 08df015b9de8ccb16ce6db93890910f8a02be4c6)
    [Andres Gomez: use anv_query.c instead of genX_query.c]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/intel/vulkan/genX_query.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e2fb0cbcf5da43357741ddab7fa501ae8236ae3
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Mar 14 18:02:41 2017 -0700

    anv/query: Invalidate the correct range
    
    Reviewed-By: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: "17.0 13.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 81840130c0f147ed6ae4c26872c2f04a2167bc54)
    [Andres Gomez: use anv_query.c instead of genX_query.c]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/intel/vulkan/genX_query.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a5684d1bd2bdd4fc73ec5008685caab2919fbb0
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed Mar 15 21:31:07 2017 +0200

    i965/gen8+: Do full stall when switching pipeline
    
    just as earlier gens do.
    
    CC: "17.0 13.0" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96743
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    (cherry picked from commit bd25d9670b466043cdb5d9668f82accbd587c889)




More information about the mesa-commit mailing list