Mesa (10.6): 36 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Thu Jul 9 11:05:58 UTC 2015


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e9254194594b863f55f4efcafca7fbb5b21ec8f
Author: Neil Roberts <neil at linux.intel.com>
Date:   Fri Jun 26 17:54:15 2015 +0100

    i965: Don't try to print the GLSL IR if it has been freed
    
    Since commit 104c8fc2c2aa5621261f8 the GLSL IR will be freed if NIR is
    being used. This was causing it to segfault if INTEL_DEBUG=wm is set.
    This patch just makes it avoid dumping the GLSL IR in that case.
    
    Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit c0ca6c30eaf7f488f154c462a01a8945cb4a3103)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b6e14ac35750e0a7f8194923877a842f9a43e3f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Jun 28 22:17:09 2015 -0700

    Revert "i965: Delete linked GLSL IR when using NIR."
    
    This reverts commit 104c8fc2c2aa5621261f80aa6b4f76c3163078f1.
    
    (cherry picked from commit cae701fc8ed0faeaaaafd1cf57f6143031edcab2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25daf2592c21881eed3cbe1e8439f32878b3eb2f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Jun 28 22:17:16 2015 -0700

    Revert "glsl: clone inputs and outputs during linking"
    
    This reverts commit c2ff3485b3d48749ea9dcad07bc1a691627dc3e5.
    
    Ilia and I noticed a memory leak caused by this patch: at least with
    fixed-function programs, we clone things using ProgramResourceList as
    the context before reralloc makes it non-NULL.
    
    I believe Tapani found other bugs with these patches, so I'm just going
    to revert them for now and let him pursue them further.
    
    (cherry picked from commit 6218c68bece0cea671f2940a651119a87ab8b24e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b85e389d6caebdad3eb1e080146a3ef113aec8a5
Author: Mike Stroyan <mike at lunarg.com>
Date:   Wed Jul 1 10:16:28 2015 -0600

    i965: allocate at least 1 BLEND_STATE element
    
    When there are no color buffer render targets, gen6 and gen7 still
    use the first BLEND_STATE element to determine alpha test.
    gen6_upload_blend_state was allocating zero elements when
    ctx->Color.AlphaEnabled was false.
    That left _3DSTATE_CC_STATE_POINTERS or _3DSTATE_BLEND_STATE_POINTERS
    pointing to random data from some previous brw_state_batch().
    That sometimes suppressed depth rendering when those bits
    happened to mean COMPAREFUNC_NEVER.
    This produced flickering shadows for dota2 reborn.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80500
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit fe2b748a39ff676949fcefccf739aff967fc38c5)
    Nominated-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57a6f5208d2affe33bfef4bc1d632e4c63af7b1e
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Jul 7 18:28:31 2015 +0200

    st/dri: don't set PIPE_BIND_SCANOUT for MSAA surfaces
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91231
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 6611f65047575054a38ce83ebfe0331e39e1774f)
    Nominated-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3abea1577f8d5c17dacab17aeafb0c1fc1092cc
Author: Matt Turner <mattst88 at gmail.com>
Date:   Sat Feb 28 12:12:22 2015 -0800

    Revert SHA1 additions.
    
    The shader-cache isn't finished, so the configure checks are a bit
    premature and will only stand to confuse users of Mesa 10.6.
    
    This is a squash of the follow four reverts:
    
       Revert "Rename sha1.c and sha1.h to mesa-sha1.c and mesa-sha1.h"
       Revert "configure: Add machinery for --enable-shader-cache (and --disable-shader-cache)"
       Revert "sha1: Fix gcry_md_hd_t typo."
       Revert "mesa: Add mesa SHA-1 functions"
    
    Reviewed-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fbe4bf790c3ee20044928058ba64b17589df3cd
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Jun 10 08:28:13 2015 +0100

    loader: Look for any version of currently linked libudev.so
    
    Since there was an ABI break and linking twice against libudev.so.0 and
    libudev.so.1 causes the application to quickly crash, we first check if
    the application is currently linked against libudev before dlopening a
    local handle. However for backwards/forwards compatability, we need to
    inspect the application for current linkage against all known versions
    first. Not doing so causes a crash when both libraries are present and
    so mesa chooses libudev.so.1 but the application was linked against
    libudev.so.0.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
    
    Emil Velikov:
    
    I'm ever so slightly conserned that RTLD_NOLOAD is not part of the POSIX
    standard, thus it's missing on some platforms (*BSD seems ok, while
    Solaris, MacOS are not).
    
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit f2413457937f8f4a92e11379569be69e508d7477)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c3a4ac6da7820226ecad5fd654899ae727e11e0
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Jul 7 23:05:45 2015 -0400

    nvc0: turn sample counts off during blit
    
    Fixes the following piglits:
      occlusion_query_meta_fragments
      occlusion_query_meta_no_fragments
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 38c2ec5ff0bf626578db7b84387279342aa48844)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ca2f3701b9928374911c603178cf92da1e5167b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jul 1 20:13:00 2015 -0700

    i965/vs: Fix matNxM vertex attributes where M != 4.
    
    Matrix vertex attributes have their columns padded out to vec4s, which
    I was failing to account for.  Scalar NIR expects them to be packed,
    however.
    
    Fixes 1256 dEQP tests on Broadwell.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Tested-by: Mark Janes <mark.a.janes at intel.com>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    (cherry picked from commit 73d0e7f3451eaeb62ac039d2dcee1e1c6787e3db)
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    
    Conflicts:
    	src/mesa/drivers/dri/i965/brw_fs_nir.cpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcc9f9e06e770c709bba619836da8b3ee525cd7a
Author: Neil Roberts <neil at linux.intel.com>
Date:   Sat Jul 4 22:40:59 2015 +0100

    glsl: Make sure not to dereference NULL
    
    In this bit of code point_five can be NULL if the expression is not a
    constant. This fixes it to match the pattern of the rest of the chunk
    of code so that it checks for NULLs.
    
    Cc: Matt Turner <mattst88 at gmail.com>
    Cc: "10.6" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 86a3557d7c95ac945eedf42ab095639b255c1bed)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5de0e9f982de9cbb6823b7a3d130bb632a16b2ae
Author: Neil Roberts <neil at linux.intel.com>
Date:   Sat Jul 4 22:40:58 2015 +0100

    glsl: Add missing check for whether an expression is an add operation
    
    There is a piece of code that is trying to match expressions of the
    form (mul (floor (add (abs x) 0.5) (sign x))). However the check for
    the add expression wasn't checking whether it had the expected
    operation. It looks like this was just an oversight because it doesn't
    match the pattern for the rest of the code snippet. The existing line
    to check whether add_expr!=NULL was added as part of a coverity fix in
    3384179f.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91226
    Cc: Matt Turner <mattst88 at gmail.com>
    Cc: "10.6" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 18039078e0254c7cb5e15b7186be05e2e4c10f38)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=083840d365e079ec4b63911dc4b4fb8dda5b98d2
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Mar 4 15:46:57 2015 -0800

    i965: Reserve more batch space to accomodate Gen6 perfmonitors.
    
    Ben noticed that I said each PIPE_CONTROL was 4 DWords, but it's
    actually 5 DWords on Gen6-7.  We've been reserving insufficient space
    for performance monitoring on Sandybridge, which means it would likely
    break if you used that functionality.  (Thankfully, no one does...)
    
    Also, the existing number of 146 was the result of me flubbing up the
    arithmetic: it should have actually been 140.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
    (cherry picked from commit d9ab95b365f058a46bc43a8cb96b6fff10a13faf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afa43fa696e7dd65ebce4c1e95892a4886d6049e
Author: Neil Roberts <neil at linux.intel.com>
Date:   Fri Jul 3 13:15:21 2015 +0100

    i965/skl: Set the pulls bary bit in 3DSTATE_PS_EXTRA
    
    On Gen9+ there is a new bit in 3DSTATE_PS_EXTRA that must be set if
    the shader sends a message to the pixel interpolator. This fixes the
    interpolateAt* tests on SKL, apart from interpolateatsample-nonconst
    but that is not implemented anywhere so it's not a regression.
    
    Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: "10.6 10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 493af150fb3b1c007d791b24dcd5ea8a92ad763c)
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    
     Conflicts:
    	src/mesa/drivers/dri/i965/brw_fs_nir.cpp
    	src/mesa/drivers/dri/i965/gen8_ps_state.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03cf14a71378eec10d8c496916c0bc0ff212ef7d
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jun 24 11:58:50 2015 +0200

    radeonsi: fix a hang with DrawTransformFeedback on 4 SE chips
    
    Cc: 10.6 10.5 <mesa-stable at lists.freedesktop.org>
    Acked-by: Christian König <christain.koenig at amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    (cherry picked from commit d3f4f6b2e9380a91ab61b93c55ab36106345e7b2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e529d5ffb4c0b951005948d06e8ce868f5659c24
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Jul 3 19:09:09 2015 -0400

    nv50/ir: UCMP arguments are float, so make sure modifiers are applied
    
    The first argument to UCMP needs to be compared against 0, but the
    latter arguments are treated as float and need to be able to properly
    apply neg/abs arguments. Adjust the inferSrcType function accordingly.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit f70719cc4b64e12310dfe8825a8e2d4bce970673)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d8c6edab419375b0b9e25d7e53af394258c1ab8
Author: Mario Kleiner <mario.kleiner.de at gmail.com>
Date:   Sun Jun 28 03:02:31 2015 +0200

    winsys/radeon: Use dup fd as key in drm-winsys hash table to fix ZaphodHeads.
    
    Same problem and fix as for nouveau's ZaphodHeads trouble.
    
    See patch ...
    
    "nouveau: Use dup fd as key in drm-winsys hash table to fix ZaphodHeads."
    
    ... for reference.
    
    Cc: "10.3 10.4 10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 28dda47ae4d974e3e032d60e8e0965c8c068c6d8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ef284366c4a0daf4bd0953dc8369362efb49055
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jul 3 16:20:32 2015 +0200

    r600g: disable single-sample fast color clear due to hangs
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73528
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82186
    
    Cc: 10.4 10.5 10.6 <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 97ec2c694fe568e375ec7a2b85c1acb1e4666b54)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b5a9660dc1210558e093d8690516c833a87a330
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Jul 1 18:22:23 2015 -0400

    mesa/prog: relative offsets into constbufs are not constant
    
    The optimization logic relies on being able to read out constbuf values
    from program parameters. However that only works if there's no relative
    addressing involved.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91173
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    (cherry picked from commit 197a19f9ed0ba12cc431542ac09f2af0a8bd0bce)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e8c43f4d0f6dd6699d5d72efbc02538733a38ec
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Jul 2 00:13:36 2015 -0400

    nv50/ir: don't emit src2 in immediate form
    
    In the immediate form, src2 == dst, so it does not need to be emitted.
    Otherwise it overlaps with the immediate value's low bits.
    
    Fixes: 09ee907266 (nv50/ir: Fold IMM into MAD)
    Cc: "10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit c3215ef204c0fdfc44230adbd423720169d44dcb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6902a36d2239a774fd07c0d7dce4f18bc649d9bf
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Jul 1 15:18:47 2015 -0400

    mesa: reset the source packing when creating temp transfer image
    
    Commit 4b249d2ee (mesa: Handle transferOps in texstore_rgba) introduced
    proper transferops handling, but in updating the source to the newly
    allocated temporary image neglected to reset the source packing. Set it
    to the default which should be appropriate for the floats used.
    
    Fixes: 4b249d2ee (mesa: Handle transferOps in texstore_rgba)
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91173
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
    (cherry picked from commit 4f57cdba2767b56eb4752f14ba9853ba6bc06d0e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96bed9fea8d2ef68e43ba445b18570cbe52143ec
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Jul 1 02:11:39 2015 -0400

    nv50/ir: copy joinAt when splitting both before and after
    
    The current implementation only moves the joinAt when splitting after
    the given instruction, not before it. So if you have a BB with
    
      foo
      instr
      bar
      joinat
    
    and thus with joinAt set, we end up first splitting before instr, at
    which point the instr's bb is updated to the new bb. Since that bb
    doesn't have a joinAt set (despite containing one), when splitting after
    the instr, there is nothing to copy over. Since the joinat will be in
    the "split" bb irrespective of whether we're splitting before or after
    the instruction, move it over in either case.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91124
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 5dcb28c3d26828ed1b0e2bd5a0589c5baab04b85)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fe9fe9cb90785244d4a464e0d9cd244b75a080d
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Tue May 19 15:01:49 2015 +0300

    glsl: validate sampler array indexing for 'constant-index-expression'
    
    Desktop GLSL < 130 and GLSL ES < 300 allow sampler array indexing where
    index can contain a loop induction variable. This extra check will warn
    during linking if some of the indexes could not be turned in to constant
    expressions.
    
    v2: warning instead of error for backends that did not enable
        EmitNoIndirectSampler option (have dynamic indexing)
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Cc: "10.5" and "10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 9350ea6979c48772e1fb55d4f1c7c5a3cfa987b0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1beb6738a784e69981208273e2cc4a6c8c6675f3
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Mon Jun 29 09:48:52 2015 +0300

    mesa/st: use EmitNoIndirectSampler if !ARB_gpu_shader5
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Cc: "10.5" and "10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit f17c8c287f3581fccb52714fbd4b2ea09a58e3d3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3e514a41d0c3f532e5633c20df91405e52a4a2a
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Mon Jun 29 09:53:45 2015 +0300

    i915: use EmitNoIndirectSampler
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Cc: "10.5" and "10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 2dc2b12ed15abb84c7e2b3c2726dcc1b735abcda)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b150817c197a8e0772114641fed3eb19284f4540
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Wed Jun 24 13:22:43 2015 +0300

    i965: use EmitNoIndirectSampler for gen < 7
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Cc: "10.5" and "10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 8852e26e93af1fc4b72bf9d57e847f53e1a1371b)
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    
    Conflicts:
    	src/mesa/drivers/dri/i965/brw_shader.cpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=619b9e84bf828e716a7a5b8391fe15efab441828
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Tue Jun 9 13:33:39 2015 +0300

    mesa/glsl: new compiler option EmitNoIndirectSampler
    
    Patch provides new compiler option for backend to force unroll loops
    that have non-constant expression indexing on sampler arrays.
    
    This makes sure that we can never end up with a shader that uses loop
    induction variable as sampler array index but does not unroll because
    of having too much instructions. This would not work without dynamic
    indexing support.
    
    v2: change option name as EmitNoIndirectSampler
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Cc: "10.5" and "10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit e4512e1581cf90f56d13cfa6a809832ef3517283)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc7caf9239903ca3604e90613c4696e7c0f7b0e1
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Tue Jun 9 13:28:44 2015 +0300

    glsl: Allow dynamic sampler array indexing with GLSL ES < 3.00
    
    Dynamic indexing of sampler arrays is prohibited by GLSL ES 3.00.
    Earlier versions allow 'constant-index-expression' indexing, where
    index can contain a loop induction variable.
    
    Patch allows dynamic indexing for sampler arrays when GLSL ES < 3.00.
    This change makes 'sampler-array-index.frag' parser test in Piglit
    pass + fishgl.com works when running Chrome on OpenGL ES 2.0 backend
    
    v2: small change and some more commit message (Tapani)
    v3: refactor checks to make it more readable (Ian Romanick)
    v4: change warning comment in GLSL ES case (Curro)
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Signed-off-by: Kalyan Kondapally <kalyan.kondapally at intel.com>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Cc: "10.5" and "10.6" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84225
    (cherry picked from commit edb8383c98ee23385731d0fc23a6b6673528a8ec)
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    
    Conflicts:
    	src/glsl/ast_array_index.cpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a70904bc78e3dd0ea369a6dd03e4c54fbf5ff808
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Jun 30 02:46:26 2015 -0400

    nv50/ir: fix emission of address reg in 3rd source
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91056
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit d5f1253b0c4637ad996fd0da45095165006d61d3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e00aab165416b3281f729053ce003b2f298f543c
Author: Mario Kleiner <mario.kleiner.de at gmail.com>
Date:   Fri Jun 5 15:36:52 2015 +0200

    nouveau: Use dup fd as key in drm-winsys hash table to fix ZaphodHeads.
    
    The dup'ed fd owned by the nouveau_screen for a device node
    must also be used as key for the winsys hash table, instead
    of using the original fd passed in for a screen, to make
    multi-x-screen ZaphodHeads configurations work on nouveau.
    
    The original fd's lifetime differs from that of the nouveau_screen stored
    in the hash. The hash key is the fd, and in order to compare hash entries
    we fstat them, so the fd must be around for as long as the screen is.
    
    This is an extension of the fix in commit a59f2bb1 (nouveau: dup fd
    before passing it to device).
    
    Cc: "10.3 10.4 10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit a98600b0ebdfc8481c168aae6c5670071e22fc29)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=887a18018d1e4a532c671e642265a0853960d3b0
Author: Mike Stroyan <mike at lunarg.com>
Date:   Fri Jun 26 15:15:46 2015 -0600

    meta: Only change and restore viewport 0 in mesa meta mode
    
    The meta code was setting a default depth range for all viewports
    and 'restoring' all viewports to depth range values saved from viewport 0.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 2a210b797eacd27a556af9c5e0edca940f9486c5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a09b91792c0841e67b2dedebc97293a1007c5586
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jun 18 13:55:52 2015 -0700

    i965/fs: Fix ir_txs in emit_texture_gen4_simd16().
    
    We were not emitting the LOD, which led to message lengths of 1 instead
    of 3.  Setting has_lod makes us emit the LOD, but I had to make changes
    to avoid emitting the non-existent coordinate as well.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91022
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit 35d83793047b3de31a706fa2a62a233090ea7cfc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0eaf0e16ddea0d9369991d8ca0829fe38dca819c
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Jun 26 15:01:22 2015 -0400

    nv50/ir: propagate modifier to right arg when const-folding mad
    
    An immediate has to be the second arg of an ADD operation. However we
    were mistakenly propagating the modifier of the non-folded value to the
    folded immediate argument.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91117
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit ad62ec8316a926682958e7ab52639992867c3755)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=542299185b4fa7c662839bf560b41a7796440ca3
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Thu Jun 11 10:41:53 2015 +0300

    i965: Delete linked GLSL IR when using NIR.
    
    This is based on Kenneth's patch to delete 'most of the IR'. Due to
    linker changes to clone variables, we can now free all of IR.
    
    Saves 58MB of memory when replaying a Dota 2 trace on Broadwell.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 104c8fc2c2aa5621261f80aa6b4f76c3163078f1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16d35dbd56b8d4687981c0dda0eeab2de8b0dc4a
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Thu Jun 11 10:41:52 2015 +0300

    glsl: clone inputs and outputs during linking
    
    This increases memory pressure during linking but makes it easier
    for backend to free IR after it is not needed anymore.
    
    v2: use resource list as ralloc context in case of relink (Kenneth)
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit c2ff3485b3d48749ea9dcad07bc1a691627dc3e5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e77d8eb4b67db51d2b31159189edbcf74022bf78
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Thu May 21 10:49:05 2015 +0900

    winsys/radeon: Unmap GPU VM address range when destroying BO
    
    But only when doing so is safe according to the
    RADEON_INFO_VA_UNMAP_WORKING kernel query.
    
    This avoids kernel GPU VM address range conflicts when the BO has other
    references than the GEM handle being closed, e.g. when the BO is shared.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90537
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90873
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Christian König <christian.koenig at amd.com>
    (cherry picked from commit 7796e8889a9a2cc1b454dc32d8da3d756404339a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e84989ffc37d917b737b2537b75e5e390a01c39
Author: Matt Turner <mattst88 at gmail.com>
Date:   Mon Jun 22 10:59:33 2015 -0700

    i965/fs: Don't mess up stride for uniform integer multiplication.
    
    If the stride is 0, the source is a uniform and we should not modify the
    stride.
    
    Cc: "10.6" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91047
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit a49328d58d1e3e143f9434976d9f3574acefc4ea)




More information about the mesa-commit mailing list