Mesa (17.3): 34 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Mon Dec 18 15:57:39 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09215b27b95330d887db915f0d94fe00bd9618c2
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Fri Dec 15 16:03:39 2017 +0100

    travis: disable Meson build
    
    Meson is not supported in Mesa 17.3.
    
    Cc: "17.3" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
    Acked-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1f3f8efd9b4b1147846b39e3b69f774ac8b44b6
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Dec 18 15:05:52 2017 +1000

    radv: port merge tess info from anv
    
    anv merges the tess info correctly, but radv wasn't doing this.
    
    This fixes hangs in
    dEQP-VK.tessellation.winding.default_domain.hlsl_triangles_ccw
    
    Fixes: 60fc0544e0 (radv/pipeline: handle tessellation shader compilation)
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 1bdeac545f4ea9f7ca6947f5da7fcf4f5b3010dc)
    
    Conflicts:
    	src/amd/vulkan/radv_pipeline.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1e0ce9f366c1cd79369e60367192050c1275fde
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Dec 18 15:04:37 2017 +0000

    cherry-ignore: util: add mesa-sha1 test to meson
    
    Meson is explicitly disabled in branch.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef5dbb54f69a02eb4ce91020e769c8c658402445
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Dec 18 15:03:17 2017 +0000

    cherry-ignore: meson: fix strtof locale support check
    
    Meson is explicitly disabled in branch.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67d359131059aca2c1f2d90d529edcf609ec241c
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sun Dec 17 23:53:37 2017 +0100

    radv: Fix multi-layer blits.
    
    We did not set the layer correctly for the dst, as we would keep
    using the base layer. Same for the source image.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102710
    CC: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit b42e106d4dfa61a6351b076741c5458b5677f332)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=658028572b41bf09e79cd678472d3349c7418849
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Dec 12 22:21:13 2017 +0100

    radeonsi: don't call force_dcc_off for buffers
    
    This was undefined yet harmless behavior in LLVM.
    Not anymore - it causes a hang now.
    
    Cc: 17.3 <mesa-stable at lists.freedesktop.org>
    Tested-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit 35c3cbad3c30ad3d40a6811dd6ca2286e013bfc5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=455ff75892a49bd2141ffeb3654fec64cd4c4143
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Dec 14 17:20:30 2017 +0000

    util: scons: wire up the sha1 test
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Andres Gomez <agomez at igalia.com>
    (cherry picked from commit 5d03a68640dcf216484e37c316d2d91db9994a66)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60ed1a07f2991306131781cf0ec01b25f54b72c9
Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Nov 22 15:10:47 2017 -0800

    util: Add a SHA1 unit test program
    
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 513d7ffa23d42e96f831148fa13bf470087424c3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a49b36368e3c5e03610ac8c37ab2af9fa0c769d
Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Nov 24 20:25:04 2017 -0800

    util: Assume little endian in the absence of platform-specific handling
    
    (cherry picked from commit 6a353479a7577dcff7c7a31809f27b59270648fb)
    
    Squashed with:
    
    util: Use preprocessor correctly
    
    Fixes: 6a353479a757 ("util: Assume little endian in the absence of
                          platform-specific handling")
    (cherry picked from commit b8cbad624b8198949d63c0211fe4925fc3bb9a7a)
    
    Squashed with:
    
    util: Just give up and define PIPE_ARCH_LITTLE_ENDIAN on MSVC
    
    MSVC doesn't support #warning?! Getting really tired of this.
    
    (cherry picked from commit 676761252b731a6bf408e4dca694c31d74a995fc)
    
    Squashed with:
    
    util: Also include endian.h on cygwin
    
    If u_endian.h can't determine the endianess, the default behaviour in sha1.c
    is to build for big-endian
    
    Signed-off-by: Jon Turney <jon.turney at dronecode.org.uk>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 2c62ccb10a7f3a2962f51688a3ae957254c5ce9b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b4d8dad71f815649e8df3fcc0976f52ff2a7ae1
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Nov 24 21:40:50 2017 -0800

    broadcom/vc4: Fix handling of GFXH-515 workaround with a start vertex count.
    
    We failed to take the start into account for how many vertices to draw in
    this round, so we would end up decrementing count below 0, which as an
    unsigned number meant we would loop until the CLs soon ran out of space.
    
    When I wrote the code I was thinking about how to use the previously
    emitted shader state (no index bias baked into the elements) by emitting
    up to 65535 and then only re-emitting with bias for the second wround, but
    that doesn't work if the start is over 65535.  Instead, just delay
    emitting shader state until we get into the drawarrays GFXH-515 loop and
    always bake the bias in when we're doing the workaround.
    
    (cherry picked from commit 84ab48c15c9373dfa4709f4f9e887c329286e5a1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77148639d35d7f7c8d9dddafbb40969c2de819e7
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date:   Thu Nov 23 13:48:00 2017 -0700

    glsl: Fix gl_NormalScale.
    
    GLSL shaders can access the normal scale factor with the built-in
    gl_NormalScale.  Mesa's modelspace lighting optimization uses a different
    normal scale factor than defined in the spec.  We have to take care not
    to use this factor for gl_NormalScale.
    
    Mesa already defines two seperate states: state.normalScale and
    state.internal.normalScale.  The first is used by the glsl compiler
    while the later is used by the fixed function T&L pipeline.  Previously
    the only difference was some component swizzling.  With this commit
    state.normalScale always uses the normal scale factor for eyespace
    lighting.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit c3ee464d7aa170225b5ec23b53a7f8d07663d428)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=140c735963d6849e4bd89f760c6d33a00726bb44
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date:   Thu Nov 23 13:48:00 2017 -0700

    glsl: Match order of gl_LightSourceParameters elements.
    
    spotExponent and spotCosCutoff were swapped in the
    gl_builtin_uniform_element struct.
    Now the order matches across gl_builtin_uniform_element,
    glsl_struct_field and the spec.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 9bdb5457f4ecabd59e05d0b6cea1ff88bcb49d7f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c798b07981aba2e48561a7c1d51c04d300123b54
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Nov 13 20:13:09 2017 -0800

    i965: Switch over to fully external-or-not MOCS scheme
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 4b1e70cc57d7ff5f465544644b2180dee1490cee)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=829490e5e5c45b2daa189fa7eae6ca1d2ed3b014
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Tue Dec 12 22:16:55 2017 +0100

    radv: Don't advertise VK_EXT_debug_report.
    
    We never supported it. Missed during copy and pasting.
    
    Fixes: 17201a2eb0b "radv: port to using updated anv entrypoint/extension generator."
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit 4eb0dca46bf481258443bb76fb542613c3a260d1)
    [Emil Velikov: trivial conflicts]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
    	src/amd/vulkan/radv_extensions.py

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=994ee73949c544b6e5f2456780d24f198382e337
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Dec 7 14:47:32 2017 -0700

    gallium/aux: include nr_samples in util_resource_size() computation
    
    This function is only used in two places:
    1. VMware driver, but only for HUD reporting
    2. st/nine state tracker, used for texture memory accounting
    
    Fixes: a69efa9482d ("util: add new util_resource_size() function in
    u_resource.[ch]")
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Reviewed-by: Charmaine Lee <charmainel at vmware.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit dde8309cdea5c739983693650105b2f993c5a71c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc91efb8b5257548d24eeeacc1b65b27ec8899a9
Author: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
Date:   Mon Dec 4 11:47:33 2017 +0200

    util/disk_cache: Remove unneeded free() on always null string
    
    At this point dc_job->cache_item_metadata.keys always equals
    NULL, so call to free() is useless
    
    Fixes: b86ecea3446 ("util/disk_cache: write cache item metadata to disk")
    Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    (cherry picked from commit b2490a326c28652b85400da0e1bbff108167d140)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a79226d85c24b00f6ea2dd1a95894bd5ac9b8d0
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Thu Dec 7 10:16:55 2017 +1100

    glsl: get correct member type when processing xfb ifc arrays
    
    This fixes a crash in:
    
    KHR-GL45.enhanced_layouts.xfb_block_stride
    
    Fixes: 0822517936d4 "glsl: add helper to process xfb qualifiers during linking"
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 9d53ccccb251d21f9291abaa3a28a41d06ce8c91)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=839677431387acc9a10328a48943d4d4c32ea579
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Thu Nov 23 10:25:34 2017 +0100

    radeonsi: fix the R600_RESOURCE_FLAG_UNMAPPABLE check
    
    The flag is on the pipe_resource, not the r600_resource.
    
    I don't see an obvious bug related to this, but it could potentially lead
    to suboptimal placement of some resources.
    
    Fixes: a41587433c4d ("gallium/radeon: add R600_RESOURCE_FLAG_UNMAPPABLE")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
    (cherry picked from commit 5e2962c9492e6a948516f6360f973e2e92034b01)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d9f6b36337611a4595f23bdf808b627b5b76425
Author: Pierre Moreau <pierre.morrow at free.fr>
Date:   Sun Dec 3 21:28:57 2017 +0100

    nvc0/ir: Properly lower 64-bit shifts when the shift value is >32
    
    Fixes: 61d7676df77 "nvc0/ir: add support for 64-bit shift lowering on SM20/SM30"
    
    Fixes fs-shift-scalar-by-scalar.shader_test from piglit for the current
    set-up:
    
    uniform int64_t ival -0x7dfcfefbdf6536ff # bit pattern: 0x82030104209ac901
    uniform uint64_t uval 0x1400000085010203
    uniform int shl 36
    uniform int shr 36
    uniform int64_t iexpected_shl 0x09ac901000000000
    uniform int64_t iexpected_shr -0x7dfcff0 # bit pattern: 0xfffffffff8203010
    uniform uint64_t uexpected_shl 0x5010203000000000
    uniform uint64_t uexpected_shr 0x0000000001400000
    draw rect ortho 12 0 4 4
    
    Signed-off-by: Pierre Moreau <pierre.morrow at free.fr>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 9bee12160bed72dae5cdb006ea38c40f89e174da)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74849cec0fb564d89081256b4f5b84a5eee0649c
Author: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
Date:   Fri Dec 1 13:23:02 2017 +0200

    glx/dri3: Remove unused deviceName variable
    
    deviceName string is declared, assigned and freed but actually
    never used in dri3_create_screen() function.
    
    Fixes: 2d94601582e ("Add DRI3+Present loader")
    Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    (cherry picked from commit d5559292394f0e9b1c682baca05f81366fb389af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fbe230348d004d0c1315436ef30a74d9d601d4a
Author: Eric Engestrom <eric.engestrom at imgtec.com>
Date:   Thu Nov 23 13:16:43 2017 +0000

    compiler: use NDEBUG to guard asserts
    
    nir_validate.c's #endif already had the correct NDEBUG comment
    
    Fixes: dcb1acdea00a8f2c29777 "nir/validate: Only build in debug mode"
    Fixes: 9ff71b649b4b3808a9e17 "i965/nir: Validate that NIR passes call nir_metadata_preserve()"
    Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 7b85b9b8773b119360a31b66b321ae560a77cb6d)
    [Emil Velikov: trivial conflicts]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
    	src/compiler/nir/nir.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=219d03127d5983a51441e60cf92e1c014c0b611c
Author: Bruce Cherniak <bruce.cherniak at intel.com>
Date:   Tue Dec 12 17:18:23 2017 -0600

    swr: Fix KNOB_MAX_WORKER_THREADS thread creation override.
    
    Environment variable KNOB_MAX_WORKER_THREADS allows the user to override
    default thread creation and thread binding.  Previous commit to adjust
    linux cpu topology caused setting this KNOB to bind all threads to a single
    core.
    
    This patch restores correct functionality of override.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Tim Rowley <timothy.o.rowley at intel.com>
    (cherry picked from commit 709f5bdc4a2bf31f422f5cf60797224c0463c10a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8dee6d0063a1b6d7fce1efac2e578658ef92964d
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Dec 8 09:31:08 2017 -0700

    xlib: call _mesa_warning() instead of fprintf()
    
    We use _mesa_warning() everywhere else in this code.  Change requested
    by Rick Irons of Mathworks.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 7a46063803c51e74e635a7d6e056b6442b8f2c5a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0fe64f7474ce63addf57522f74bb0f66f61efce
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Dec 11 16:29:40 2017 +0100

    winsys/amdgpu: disable local BOs again due to worse performance
    
    Cc: 17.3 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit bf0904e31fb7d9cd8932d582076c8d7beb02ba89)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5878b98dbc874b79164ac0ac8beed1e99766140f
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sun Dec 3 15:35:39 2017 +0100

    spirv: Fix loading an entire block at once.
    
    There is no chain, so  checking the length ends with a SEGFAULT.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103579
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit b926da241a4221376afe195c476f6a05621e5c75)
    [Emil Velikov: trivial conflicts]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
    	src/compiler/spirv/vtn_variables.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=778eaf9887a1a4fa15919473c15f5942ca3ecbdc
Author: Leo Liu <leo.liu at amd.com>
Date:   Thu Dec 7 12:04:59 2017 -0500

    radeon/vce: move destroy command before feedback command
    
    VCE processing IBs starts from session and task info at first level,
    other commands processed subsequently. The task info for destroy is
    embedded to destroy command, resulting that feedback command is not
    properly procoessed. This is causing kernel spin VM fault messages on
    Polaris and Vega10 card when running ends at encode application.
    
    The fix is also verified on VCE physical mode card.
    
    Signed-off-by: Leo Liu <leo.liu at amd.com>
    Cc: mesa-stable at lists.freedesktop.org
    Acked-by: Christian König <christian.koenig at amd.com>
    (cherry picked from commit 6d74cb2570eb919c72e519e590d2464757465902)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=584791e18ac4e6c5d968e97831d8c67816a2107c
Author: Ben Crocker <bcrocker at redhat.com>
Date:   Mon Nov 27 14:44:58 2017 -0500

    docs/llvmpipe: document ppc64le as alternative architecture to x86.
    
    Power8, Power8NV, and Power9 are supported on an equal footing
    with X86.
    
    Cc: "17.2" "17.3" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Ben Crocker <bcrocker at redhat.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    
    [Eric: changed formatting, reworded a bit (with Ben's ack)]
    Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
    (cherry picked from commit 060eb314eb4e551cf870ad6a6e7e1363d4228efe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0cfca9de970fbfb1b33292aba8cc74537a237fd
Author: James Legg <jlegg at feralinteractive.com>
Date:   Wed Dec 6 11:55:14 2017 +0000

    nir/opcodes: Fix constant-folding of bitfield_insert
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104119
    CC: <mesa-stable at lists.freedesktop.org>
    CC: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 947470d10ba5ab11a75f0e19e124b189ff3fd8b2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c8d5a8c1f8859c4ba9eb040122124dc5ec13d98
Author: Alex Smith <asmith at feralinteractive.com>
Date:   Wed Dec 6 10:28:14 2017 +0000

    radv: Add LLVM version to the device name string
    
    Allows apps to determine the LLVM version so that they can decide
    whether or not to enable workarounds for LLVM issues.
    
    Signed-off-by: Alex Smith <asmith at feralinteractive.com>
    Cc: "17.2 17.3" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
    (cherry picked from commit 8fda98c4f1dba2488b9e3ef3e820585f48a8a2f9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7254a74ff22e19767fe7d7cf295447cf1d5d89d7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 21 00:30:06 2017 -0700

    meta: Fix ClearTexture with GL_DEPTH_COMPONENT.
    
    We only handled unpacking for GL_DEPTH_STENCIL formats.
    
    Cemu was hitting _mesa_problem() for an unsupported format in
    _mesa_unpack_float_32_uint_24_8_depth_stencil_row(), because the
    format was depth-only, rather than depth-stencil.
    
    Cc: "13.0 12.0" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94739
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103966
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit 8705ed13e3114ad994dbd46387576749f54fc7eb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73b7caef62bc7691dfb1b34fa8598e822a5ce858
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Dec 5 11:09:13 2017 -0800

    meta: Initialize depth/clear values on declaration.
    
    This helps avoid compiler warningss in the next commit - everything
    was initialized, but it wasn't obvious to static analysis.
    
    Suggested-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit d6d16c02180929278dc49d3c9bdceece0aab189e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9433d8977c5542a5df72ee938d529bb9335f9302
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Wed Dec 6 17:42:02 2017 +0100

    r600/sb: do not convert if-blocks that contain indirect array access
    
    If an array is accessed within an if block, then currently it is not known
    whether the value in the address register is involved in the evaluation of the
    if condition, and converting the if condition may actually result in
    out-of-bounds array access. Consequently, if blocks that contain indirect array
    access should not be converted.
    
    Fixes piglits on r600/BARTS:
    spec/glsl-1.10/execution/variable-indexing/
      vs-output-array-float-index-wr
      vs-output-array-vec3-index-wr
      vs-output-array-vec4-index-wr
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104143
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 6c268ea79af80a65a89a23854bdbe8bc1e99ab23)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d92f520e1fe1c945d76cbae429a686edd99774e6
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Nov 30 22:49:10 2017 +0100

    radeonsi: allow DMABUF exports for local buffers
    
    Cc: 17.3 <mesa-stable at lists.freedesktop.org>
    Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 010214b403de1b5e25a549372ba6192b89e05d06)
    [Emil Velikov: s/sscreen/rscreen/]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
    	src/gallium/drivers/radeon/r600_texture.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6fd93f8dcea7bc7c26fb8be89f2b7004e8a24c9
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Nov 30 22:46:39 2017 +0100

    radeonsi: flush the context after resource_copy_region for buffer exports
    
    Cc: 17.2 17.3 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 5e805cc74bc52f97de8f6308fc06bc96623e7e09)




More information about the mesa-commit mailing list