Mesa (18.1): 41 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Aug 13 16:43:18 UTC 2018


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5343019cfab67a447d57ede634ca939b6165cbc5
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Aug 13 08:36:16 2018 -0700

    docs: Add release notes for 18.1.6

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5950393f4e2dfca4bac99a13aaf36ea29e81cd46
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Aug 13 08:30:23 2018 -0700

    bump version to 18.1.6

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af8076e1c9b4ce2d830adb91bca474ceb786bd43
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Tue Aug 7 08:20:29 2018 +0300

    glsl: handle error case with ast_post_inc, ast_post_dec
    
    Return ir_rvalue::error_value with ast_post_inc, ast_post_dec if
    parser error was emitted previously. This way process_array_size
    won't see bogus IR generated like with commit 9c676a64273.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98699
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    (cherry picked from commit 03a5acec687454c7fe227b4bdd2db97d515f1af7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d742a1eb183256d5a6a92f831418358f54e561e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Aug 2 15:02:18 2018 -0700

    intel: Fix SIMD16 unaligned payload GRF reads on Gen4-5.
    
    When the SIMD16 Gen4-5 fragment shader payload contains source depth
    (g2-3), destination stencil (g4), and destination depth (g5-6), the
    single register of stencil makes the destination depth unaligned.
    
    We were generating this instruction in the RT write payload setup:
    
       mov(16)   m14<1>F   g5<8,8,1>F   { align1 compr };
    
    which is illegal, instructions with a source region spanning more than
    one register need to be aligned to even registers.  This is because the
    hardware implicitly does (nr | 1) instead of (nr + 1) when splitting the
    compressed instruction into two mov(8)'s.
    
    I believe this would cause the hardware to load g5 twice, replicating
    subspan 0-1's destination depth to subspan 2-3.  This showed up as 2x2
    artifact blocks in both TIS-100 and Reicast.
    
    Normally, we rely on the register allocator to even-align our virtual
    GRFs.  But we don't control the payload, so we need to lower SIMD widths
    to make it work.  To fix this, we teach lower_simd_width about the
    restriction, and then call it again after lower_load_payload (which is
    what generates the offending MOV).
    
    Fixes: 8aee87fe4cce0a883867df3546db0e0a36908086 (i965: Use SIMD16 instead of SIMD8 on Gen4 when possible.)
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107212
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=13728
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Tested-by: Diego Viola <diego.viola at gmail.com>
    (cherry picked from commit 08a5c395abdafd0d7556060596f78c238b4a989f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de4a4f2b17fd5778e4e28e3128e5c230bd6dd95f
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Aug 7 11:37:28 2018 -0700

    egl: Fix leak of X11 pixmaps backing pbuffers in DRI3.
    
    This is basically copied from the DRI2 destroy path.  Without this,
    Raspberry Pi would quickly run out of CMA during the EGL tests in the CTS
    due to all the pixmaps laying around.
    
    Fixes: f35198badeb9 ("egl/x11: Implement dri3 support with loader's dri3 helper")
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit b618d7ea59a4d7da9823e02ac5608a67fd99b332)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1bb43446145326b294afd9656304109c1894c9a
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Dec 5 11:10:09 2017 -0500

    glx: GLX_MESA_multithread_makecurrent is direct-only
    
    This extension is not defined for indirect contexts. Marking it as
    "client only", as the old code did here, would make the extension
    available in indirect contexts, even though the server would certainly
    not have it in its extension list.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 63a6b719d98fb1ad58ae93c2de859e6d4bfa8b8b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=894fdbf05820880d5b54729028db1a9fac9e4c6c
Author: vadym.shovkoplias <vadim.shovkoplias at gmail.com>
Date:   Mon Aug 6 15:52:13 2018 +0300

    drirc: Allow extension midshader for Metro Redux
    
    This fixes both Metro 2033 Redux and Metro Last Light Redux
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99730
    Signed-off-by: Eero Tamminen <eero.t.tamminen at intel.com>
    Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit e0de26eacc93f431962533f50d57e58335843d6b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4395919bd95501a13ba2fffa0cd00de0f73e0d38
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Mon Jun 4 10:22:49 2018 +0000

    wayland/egl: initialize window surface size to window size
    
    When creating a windows surface with eglCreateWindowSurface(), the
    width and height returned by eglQuerySurface(EGL_{WIDTH,HEIGHT}) is
    invalid until buffers are updated (like calling glClear()).
    
    But according to EGL 1.5 spec, section 3.5.6 ("Surface Attributes"):
    
      "Querying EGL_WIDTH and EGL_HEIGHT returns respectively the width and
       height, in pixels, of the surface. For a window or pixmap surface,
       these values are initially equal to the width and height of the
       native window or pixmap with respect to which the surface was
       created"
    
    This fixes dEQP-EGL.functional.color_clears.* CTS tests
    
    v2:
    - Do not modify attached_{width,height} (Daniel)
    - Do not update size on resizing window (Brendan)
    
    CC: Daniel Stone <daniel at fooishbar.org>
    CC: Brendan King <brendan.king at imgtec.com>
    CC: mesa-stable at lists.freedesktop.org
    Tested-by: Eric Engestrom <eric at engestrom.ch>
    Tested-by: Chad Versace <chadversary at chromium.org>
    Reviewed-by: Chad Versace <chadversary at chromium.org>
    Reviewed-by: Daniel Stone <daniels at collabora.com>
    (cherry picked from commit 1fe7cbdf05b90034577dac4e4aa6157031d80521)
    Conflicts resolved by Dylan
    
    Conflicts:
    	src/egl/drivers/dri2/platform_wayland.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cffbd963f812d782faa8e81a750235430328415
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Wed Jun 6 10:13:05 2018 +0000

    wayland/egl: update surface size on window resize
    
    According to EGL 1.5 spec, section 3.10.1.1 ("Native Window Resizing"):
    
      "If the native window corresponding to _surface_ has been resized
       prior to the swap, _surface_ must be resized to match. _surface_ will
       normally be resized by the EGL implementation at the time the native
       window is resized. If the implementation cannot do this transparently
       to the client, then *eglSwapBuffers* must detect the change and
       resize surface prior to copying its pixels to the native window."
    
    So far, resizing a native window in Wayland/EGL was interpreted in Mesa
    as a request to resize, which is not executed until the first draw call.
    And hence, surface size is not updated until executing it. Thus,
    querying the surface size with eglQuerySurface() after a window resize
    still returns the old values.
    
    This commit updates the surface size values as soon as the resize is
    done, even when the real resize is done in the draw call. This makes the
    semantics that any native window resize request take effect inmediately,
    and if user calls eglQuerySurface() it will return the new resized
    values.
    
    v2: update surface size if there isn't a back surface (Daniel)
    
    CC: Daniel Stone <daniel at fooishbar.org>
    CC: mesa-stable at lists.freedesktop.org
    Reviewed-by: Daniel Stone <daniels at collabora.com>
    (cherry picked from commit a9fb331ea7d1a78936ea8d8385e44cfd66f835c1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c927e8da9e51472ce216f9b5b940c2a78e44df1
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Fri Feb 23 19:32:08 2018 +0000

    autotools: use correct gl.pc LIBS when using glvnd
    
    This is more of a hack, since glvnd itself should be providing the file.
    Until that happens, ensure the libs is correctly set to -lGL
    
    CC: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    (cherry picked from commit 315c46cfdc3dbd4d51b74ab26df693725e947724)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db3ff90efc44458b8767b59fe9bebdca5d1204f9
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Fri Feb 23 19:32:05 2018 +0000

    autotools: error out when building with mangling and glvnd
    
    It's not a thing that can work, nor is a wise idea to attempt.
    
    v2: Tweak error message (Dylan)
    
    CC: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com> (v1)
    (cherry picked from commit 25a9450a44b3b572fba81e6cafe33f3367252499)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8691317ff77998324e786cd5ac1d1964cffbc9e9
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Fri Feb 23 19:32:04 2018 +0000

    autotools: error out when using the broken --with-{gl, osmesa}-lib-name
    
    The toggles were broken with the introduction of --enable-mangling.
    Fixing that up might be possible, but it's not worth the complexity
    since one can rename the libraries at any point.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    (cherry picked from commit d5ac23647110fd530f9bf5002762587be446866d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7339855b1c5fba889371318ddfbb9a0c18a497c0
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Fri Feb 23 19:32:00 2018 +0000

    automake: require shared glapi when using DRI based libGL
    
    This has been a requirement for ages, yet it seems like we never
    explicitly errored out during configure.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    (cherry picked from commit a7ea7511ba76c0a83eec84dfc9c14c82b5c82dc4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff8c3747ac22130d3c81bd362abe0fae84cfeb96
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Aug 7 13:47:08 2018 -0700

    vc4: Ignore samplers for finding uniform offsets.
    
    Fixes:
    dEQP-GLES2.shaders.struct.uniform.sampler_array_fragment
    dEQP-GLES2.shaders.struct.uniform.sampler_array_vertex
    dEQP-GLES2.shaders.struct.uniform.sampler_nested_fragment
    dEQP-GLES2.shaders.struct.uniform.sampler_nested_vertex
    
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 69158c452bb39cd3d12110dd623aff09e771fa77)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec7f550e17dec76f8b91f3a3e0817d30de518d3e
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Aug 7 12:59:14 2018 -0700

    vc4: Respect a sampler view's first_layer field.
    
    Fixes texturing from EGL images created from cubemap faces, as in
    dEQP-EGL.functional.image.create.gles2_cubemap_negative_x_rgba_texture
    
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 9ab6912a00ec29f5d1d9cebc7d3e32ae235419e8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2d3373ecd3135d9c5fd9bf8e3416791dceddd61
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Tue Aug 7 12:08:22 2018 -0700

    cherry-ignore: Add some additional patches that are for 18.2

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=695a5159752747d35191e431f359f836b819e598
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Jan 22 17:52:49 2018 +0000

    swr: don't export swr_create_screen_internal
    
    With earlier rework the user and provider of the symbol are within the
    same binary. Thus there's no point in exporting the function.
    
    Spotted while reviewing patch from Chuck, that nearly added another
    unneeded PUBLIC function.
    
    Cc: Chuck Atkins <chuck.atkins at kitware.com>
    Cc: Tim Rowley <timothy.o.rowley at intel.com>
    Fixes: f50aa21456d "(swr: build driver proper separate from rasterizer")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Tested-by: Chuck Atkins <chuck.atkins at kitware.com>
    Reviewed-By: George Kyriazis <george.kyriazis at intel.com<mailto:george.kyriazis at intel.com>>
    Tested-by: Chuck Atkins <chuck.atkins at kitware.com<mailto:chuck.atkins at kitware.com>>
    (cherry picked from commit 54d844897fe0afea4b5ddf08565af49a8191d808)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3daf7ff658a057c73ba9a06897a2540272e9b790
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Aug 6 18:53:57 2018 -0700

    vc4: Fix a leak of the no-vertex-elements workaround BO.
    
    Fixes: bd1925562ad1 ("vc4: Convert the driver to emitting the shader record using pack macros.")
    (cherry picked from commit 9507e036994018d3038e6263b98c53b0c916d2cd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e0dbfde912e73f68f83dc99c49654cd8b0efea8
Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Fri Aug 3 11:47:28 2018 +0200

    meson, install_megadrivers: Also remove stale symlinks
    
    os.path.exists doesn't return True for stale symlinks, but they are in
    the way later, when a link/file with the same name is to be created.
    For instance it is conceivable that the pointed to file is replaced by
    a file with a new name, and then the symlink is dead.
    
    To handle this check specifically for all existing symlinks to be
    removed. (This bugged me for some time with a link libXvMCr600.so
    always being in the way of installing this file)
    
    v2: use only os.lexist and replace all instances of os.exist (Dylan Baker)
    
    v3: handle directory check correctly (Eric Engestrom)
    
    Fixes: f7f1b30f81e842db6057591470ce3cb6d4fb2795
           ("meson: extend install_megadrivers script to handle symmlinking")
    
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>(v2 minus dir check)
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
    (cherry picked from commit 7a46b2d6418aa1adedf5621ad1a2a43676785851)
    Conflicts resolved by Dylan
    
    Conflicts:
    	bin/install_megadrivers.py

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ca69de0c47f6164b4d31087ba82a0f766f6f8c8
Author: Jon Turney <jon.turney at dronecode.org.uk>
Date:   Thu Aug 2 14:50:27 2018 +0100

    meson: use correct keyword to fix a meson warning
    
    With a sufficently recent meson, the following warning is produced:
    
    WARNING: Passed invalid keyword argument "extra_args".
    WARNING: This will become a hard error in the future.
    
    It seems that compiler.links(args:) is meant here.
    
    Signed-off-by: Jon Turney <jon.turney at dronecode.org.uk>
    Reviewed-and-Tested-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit a48c0659e12bfb2d715cceca75eff24ae6024bba)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f818fd358a303ea41c0efce514ff1f2db3d24b4
Author: Karol Herbst <kherbst at redhat.com>
Date:   Sat Jun 23 19:01:34 2018 +0200

    nvc0/ir: return 0 in imageLoad on incomplete textures
    
    We already guarded all OP_SULDP against out of bound accesses, but we
    ended up just reusing whatever value was stored in the dest registers.
    
    Fixes CTS test shader_image_load_store.incomplete_textures
    
    v2: fix for loads not ending up with predicates (bindless_texture)
    v3: fix replacing the def
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    (cherry picked from commit c3325097be93d6374a6b5f9fb5eee0878698ef77)
    Conflicts resolved by Dylan
    
    Conflicts:
    	src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8d32e8ad7e84179aa612c93434ae3bc46cb639d
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Aug 6 09:20:45 2018 -0700

    cherry-ignore: add patches that get-pick-list is finding in error

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a1e5f9b45e7b8c7dca96bee52fbaeb09d5684cb
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Tue Jul 24 17:13:52 2018 -0700

    i965: Disable shader cache with INTEL_DEBUG=shader_time
    
    Shader time hard codes an index of the shader time buffer within the
    gen program.
    
    In order to support shader time in the disk shader cache, we'd need to
    add the shader time index into the program key. This should work, but
    probably is not worth it for this particular debug feature.
    
    Therefore, let's just disable the disk shader cache if the shader time
    debug feature is used.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106382
    Fixes: 96fe36f7acc "i965: Enable disk shader cache by default"
    Cc: Eero Tamminen <eero.t.tamminen at intel.com>
    Cc: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 3887700dfd7597fba654a4a713c274213a4a8755)
    
    Merged conflicts resolved by Dylan
    
    Conflicts:
    	src/mesa/drivers/dri/i965/brw_disk_cache.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2888dc653f9771fd8bb68b55ea304fa0bdfe694a
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Jul 20 23:52:59 2018 -0700

    i965, anv: Use INTEL_DEBUG for disk_cache driver flags
    
    Since various options within INTEL_DEBUG could impact code generation,
    we need to set the disk cache driver_flags parameter based on the
    INTEL_DEBUG flags in use.
    
    An example that will affect the program generated by i965 is the
    INTEL_DEBUG=nocompact option.
    
    The DEBUG_DISK_CACHE_MASK value is added to mask the settings of
    INTEL_DEBUG that can affect program generation.
    
    v2:
     * Use driver_flags (Tim)
     * Also update Anvil (Jason)
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 2b3064c07316057755a3fbb732d0e315f25aff8a)
    
    Merge conflicts resolved by Dylan
    Pulled in to apply next patch
    
    Conflicts:
    	src/intel/vulkan/anv_device.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a79ed78b225e5dd2784c4e96188bd8d5e35a6341
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Apr 18 10:21:14 2018 -0700

    gallium: fix ddebug on windows
    
    By including the proper headers for getpid and for mkdir.
    
    Fixes: 6ff0c6f4ebcb87ea6c6fe5a4ba90b548f666067d
           ("gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times")
    Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 2877b6555c51e896afbc9b8b46ba62a076ccbbc6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1e67f0b8eeae416278eba5cdc95b9bb2ff11977
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Tue May 22 15:34:38 2018 -0700

    nir/meson: fix c vs cpp args for nir test
    
    Fixes: d1992255bb29054fa51763376d125183a9f602f3
           ("meson: Add build Intel "anv" vulkan driver")
    Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 34998aae18b1435d6af70c64eaf50a77e7410058)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d14906109b973f9eab9b005bb03514f4d2a9c71
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Jul 31 05:31:47 2018 -0700

    i965/fs: Flag all slots of a flat input as flat
    
    Otherwise, only the first vec4 of a matrix or other complex type will
    get marked as flat and we'll interpolate the others.  This was caught by
    a dEQP test which started failing because it did a SSO vs. non-SSO
    comparison.  Previously, we did the interpolation wrong consistently in
    both versions.  However, with one of Tim Arceri's NIR linkingpatches, we
    started splitting the matrix input into vectors at link time in the
    non-SSO version and it started getting correctly interpolated which
    didn't match the broken SSO version.  As of this commit, they both get
    correctly interpolated.
    
    Fixes: e61cc87c757f8bc "i965/fs: Add a flat_inputs field to prog_data"
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    (cherry picked from commit 57804efa885074866e1388191b5f48680c6151da)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15f579f401a77654efb235f1a0096c007f09a936
Author: Andres Gomez <agomez at igalia.com>
Date:   Wed Aug 1 13:22:00 2018 +0300

    glsl: use util_snprintf()
    
    Instead of plain snprintf(). To fix the MSVC 2013 build.
    
    Fixes: 6ff0c6f4ebc ("gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times")
    Cc: Marek Olšák <marek.olsak at amd.com>
    Cc: Brian Paul <brianp at vmware.com>
    Cc: Roland Scheidegger <sroland at vmware.com>
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 9d220fa950850d751fbbbc2cd4ec24d024fcad70)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3006373031cc04a853756993678e6446798d940e
Author: Andres Gomez <agomez at igalia.com>
Date:   Wed Aug 1 15:47:13 2018 +0300

    gallium/aux/util: use util_snprintf() in test_texture_barrier
    
    Instead of plain snprintf(). To fix the MSVC 2013 build:
    
      Compiling src\gallium\auxiliary\util\u_tests.c ...
    u_tests.c
    src\gallium\auxiliary\util\u_tests.c(624) : warning C4013: 'snprintf' undefined; assuming extern returning int
    
    ...
    
    gallium.lib(u_tests.obj) : error LNK2019: unresolved external symbol _snprintf referenced in function _test_texture_barrier
    build\windows-x86-debug\gallium\targets\graw-gdi\graw.dll : fatal error LNK1120: 1 unresolved externals
    scons: *** [build\windows-x86-debug\gallium\targets\graw-gdi\graw.dll] Error 1120
    scons: building terminated because of errors.
    
    Fixes: 56342c97ee7 ("gallium/u_tests: test FBFETCH and shader-based blending with MSAA")
    Cc: Marek Olšák <marek.olsak at amd.com>
    Cc: Brian Paul <brianp at vmware.com>
    Cc: Roland Scheidegger <sroland at vmware.com>
    Cc: Dieter Nützel <Dieter at nuetzel-hh.de>
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 18d9dc179f78f68e598cb21143743dbd71197c93)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7574119e046fcbbc5f9481b30fbb6ef000a5d33f
Author: Andres Gomez <agomez at igalia.com>
Date:   Wed Aug 1 16:26:48 2018 +0300

    ddebug: use util_snprintf() in dd_get_debug_filename_and_mkdir
    
    Instead of plain snprintf(). To fix the MSVC 2013 build:
    
      Compiling src\gallium\auxiliary\driver_ddebug\dd_draw.c ...
    dd_draw.c
    c:\projects\mesa\src\gallium\auxiliary\driver_ddebug\dd_util.h(60) : warning C4013: 'snprintf' undefined; assuming extern returning int
    
    ...
    
    gallium.lib(dd_draw.obj) : error LNK2001: unresolved external symbol _snprintf
    build\windows-x86-debug\gallium\targets\graw-gdi\graw.dll : fatal error LNK1120: 1 unresolved externals
    scons: *** [build\windows-x86-debug\gallium\targets\graw-gdi\graw.dll] Error 1120
    scons: building terminated because of errors.
    
    Fixes: 6ff0c6f4ebc ("gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times")
    Cc: Marek Olšák <marek.olsak at amd.com>
    Cc: Brian Paul <brianp at vmware.com>
    Cc: Roland Scheidegger <sroland at vmware.com>
    Cc: Nicolai Hähnle <nicolai.haehnle at amd.com>
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 1090e97e77fcde03552320b8262f14e3f0367391)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbcc6decdcda97412ee5656b5b9971c2676486d4
Author: Vlad Golovkin <vlad.golovkin.mail at gmail.com>
Date:   Wed Aug 1 20:56:23 2018 +0300

    swr: Remove unnecessary memset call
    
    Zeroing memory after calloc is not necessary. This also allows to avoid
    possible crash when allocation fails, because memset is called before
    checking screen for NULL.
    
    Fixes: a29d63ecf71546c4798c6 "swr: refactor swr_create_screen to allow
                                  for proper cleanup on error"
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 9d3a2394e4d3f91f1e23a971ce34aaf031a1e777)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88b6d6443e02217e8f26260a03bbc6c923ee4a8c
Author: Olivier Fourdan <ofourdan at redhat.com>
Date:   Thu Jul 26 09:46:39 2018 +0200

    dri3: For 1.2, use root window instead of pixmap drawable
    
    get_supported_modifiers() and pixmap_from_buffers() requests both
    expect a window as drawable, passing a pixmap will fail as the Xserver
    will fail to match the given drawable to a window.
    
    That leads to dri3_alloc_render_buffer() to return NULL and breaks
    rendering when using GLX_DOUBLEBUFFER on pixmaps.
    
    Query the root window of the pixmap on first init, and use the root
    window instead of the pixmap drawable for get_supported_modifiers()
    and pixmap_from_buffers().
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107117
    Fixes: 069fdd5 ("egl/x11: Support DRI3 v1.1")
    Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
    Reviewed-by: Daniel Stone <daniels at collabora.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 03a61b977e1f6adb64658aa059ce53e766ff9ad9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=948e06a4341d2c534e6b48cdf6affcd2665b1316
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Jul 26 22:46:21 2018 -0400

    ac/surface: fix MSAA corruption on Vega due to FMASK tile swizzle
    
    a needle in the haystack?
    
    Cc: 18.1 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit c5c6e0187fd5d535c304ca3fd62de0f5e636c0c2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a19e01038d2d5eda91d02b6e22685396a02ca40
Author: Christian Gmeiner <christian.gmeiner at gmail.com>
Date:   Mon Jul 30 09:44:01 2018 +0200

    etnaviv: fix typo in query names
    
    Fixes: d0bed0b4944d ("etnaviv: support HI performance counters")
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
    Reviewed-by: Chris Healy <cphealy at gmail.com>
    (cherry picked from commit e1d4882d05dab49395be459f34b1559292d5b6f6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e49c2ebc186c0c43236c6c5f1a0d54e5fcdb17c
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jul 25 13:14:58 2018 +1000

    r600: reduce num compute threads to 1024.
    
    I copied this value from radeonsi, but it was wrong, 1024
    seems to be correct answer from looking at gpuinfo.
    
    This should fix a few compute shader related hangs. (at least in CTS)
    
    Cc: <mesa-stable at lists.freedesktop.org>
    (airlied: pushed because it avoids hangs)
    
    (cherry picked from commit 9039cf70fa0b785f390c649486e12d6c10e9142b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c3f43cba3ebe5b54014f909026e78e258aa972a
Author: Karol Herbst <kherbst at redhat.com>
Date:   Mon Jul 16 14:58:31 2018 +0200

    nir/lower_int64: mark all metadata as dirty
    
    v2: use nir_metadata_preserve
        preserve metadata in case of !progress
    
    Fixes: 074f5ba0b56b12ddaca81eac3d9ed19da7054297
           "nir: Add a simple int64 lowering pass"
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    (cherry picked from commit bc0e0c28186740493584da09d20587aa49732f96)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be9dfba546aec8919d3ce6ab5ddedb7067a949a4
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Jul 25 10:33:33 2018 -0700

    nir: Take if uses into account in ssa_def_components_read
    
    Fixes: d800b7daa5440 "nir: Add a helper for figuring out what..."
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    (cherry picked from commit 9a4ab4c120b97397321b8a86abdbdbe96ee42141)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4eeb2dff22888fb23332d44fc3f6c85b19ac2f5
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Mon Feb 12 00:17:23 2018 +0100

    radv: move vk_format_table.c to generated sources
    
    Android build system will try to compile vk_format_table.c
    as a shipped source, but at compile time it will be missing,
    we move it to generated source, where it belongs
    
    Fixes: f4e499ec791 ("radv: add initial non-conformant radv vulkan driver")
    Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Robert Foss <robert.foss at collabora.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit c67b36c8a130734beaca560b94976f9cba244b80)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7699951adba9c0e4cb2237f2a40fc5ea24565307
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Mon Jun 11 22:41:33 2018 +0200

    radv: generate entrypoints for VK_ANDROID_native_buffer
    
    Patch changes radv entrypoints generator to not skip this extension even
    though it is set as disabled in the vk.xml
    
    Reference: 63525ba730 ("android: enable VK_ANDROID_native_buffer")
    Fixes: 69f447553c ("vulkan: Drop vk_android_native_buffer.xml")
    Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Robert Foss <robert.foss at collabora.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 1eb65c51adc41d211cea18180e2102c1ea27f195)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b563370ee35a8ea8689d8eaffc6603252b888b6d
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date:   Sun Jul 22 14:14:21 2018 -0400

    clover: Don't extend illegal integer types.
    
    It's OK to pass them in memory, which is what kernel invocation needs.
    Fixes regressions since llvm r337535 ("Reapply "AMDGPU: Fix handling of alignment padding in DAG argument lowering"):
    	scalar-arithmetic-char
    	scalar-arithmetic-uchar
    	scalar-arithemtic-short
    	scalar-arithmetic-ushort
    	scalar-comparison-char
    	scalar-comparison-uchar
    	scalar-comparison-short
    	scalar-comparison-ushort
    
    Cc: 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 c2942141ae69e0a9040139dfddefcaf7f211c75b)
    Merge conflicts resolved by Dylan
    
    Conflicts:
    	src/gallium/state_trackers/clover/llvm/compat.hpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1be32930875124b53e744ccd082643a3136348a3
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date:   Tue Jul 24 22:17:28 2018 -0400

    clover: Reduce wait_count in abort path.
    
    Trigger waiter condition variable.
    Passes 'events' CTS on carrizo and turks.
    v2: reduce to 0
    
    Cc: 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 1e8b8e0878fc6342d6530fdaa04239315f511c50)




More information about the mesa-commit mailing list