Mesa (10.2): 24 new commits

Carl Worth cworth at kemper.freedesktop.org
Thu Jul 31 05:32:08 UTC 2014


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=490d8ddf879300cdab44d344f0e5f72b3400b4cc
Author: Carl Worth <cworth at cworth.org>
Date:   Wed Jul 30 19:20:51 2014 -0700

    cherry-ignore: Ignore a few patches picked in the previous stable release
    
    I don't know what happened here, but these three commits were picked earlier,
    but the commit IDs referenced in their commit messages do not currently
    appear in the master branch, (perhaps a force-push occurred?).
    
    Anyway, we can ignore these now.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9c5a8f869ae76ba560db88523779eae9014b826
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Jul 28 18:30:55 2014 -0700

    main/get_hash_params: Add GL_SAMPLE_SHADING_ARB
    
    GL_SAMPLE_SHADING is specified as a valid pname for glGet in the
    GL_ARB_sample_shading extension.  It seems as if we forgot to add it to the
    table of pnames.
    
    Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 3ea922dd7ca773033a09068e397b34d8abd4c763)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c84b367b18821e7790015cdb426abab1d9b544d0
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jul 24 15:50:56 2014 +0100

    st/wgl: Clamp wglChoosePixelFormatARB's output nNumFormats to nMaxFormats.
    
    While running https://github.com/nvMcJohn/apitest with apitrace I noticed that Mesa was producing bogus results:
    
      wglChoosePixelFormatARB(hdc, piAttribIList = {...}, pfAttribFList = &0, nMaxFormats = 1, piFormats = {19, 65576, 37, 198656, 131075, 0, 402653184, 0, 0, 0, 0, -573575710}, nNumFormats = &12) = TRUE
    
    However https://www.opengl.org/registry/specs/ARB/wgl_pixel_format.txt states
    
        <nNumFormats> returns the number of matching formats. The returned
        value is guaranteed to be no larger than <nMaxFormats>.
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 66a1b3a1da5cbb75d727c9b4751a06bdd403f0f9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71102219ea97aaee0c6d8076d26857581340535d
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jul 26 17:15:39 2014 +0200

    r600g,radeonsi: switch all occurences of array_size to util_max_layer
    
    This fixes 3D texture support in all these cases, because array_size is 1
    with 3D textures and depth0 actually contains the "array size".
    util_max_layer is universal and returns the last layer index for any texture
    target.
    
    A lot of the cases below can't actually be hit with 3D textures, but let's
    be consistent.
    
    This fixes a failure in:
        piglit layered-rendering/clear-color-all-types 3d single_level
    for r600g and radeonsi, which was caused by an incorrect CMASK size
    calculation.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit a9528cef6b6ff4875c9d125a60b7309a2ad24766)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d26ac40bada800cce24ed7c988fbc31dff89681d
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jul 26 12:57:28 2014 +0200

    radeonsi: fix occlusion queries on Hawaii
    
    This was just a guess - and it worked!
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    (cherry picked from commit 71ce92200e0314a0878088dec8c0c2a0270bc4dc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50dcc2eb261b5a5f6e9446e6df12fde2395cbea4
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jul 26 12:37:03 2014 +0200

    winsys/radeon: fix vram_size overflow with Hawaii
    
    This fixes piglit spec/!OpenGL 3.1/minmax.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    (cherry picked from commit 156b7e244c93e82f5d6b19caae1ec25e7f0e91bb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0dfcf5063970d0d47d9e0ea7529f572fdc16535d
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jul 26 03:16:22 2014 +0200

    radeonsi: fix a hang with streamout on Hawaii
    
    I actually couldn't reproduce this one, but internal docs recommend this
    workaround. Better safe than sorry.
    
    Also, the number of dwords for the sync packets is increased by 4 instead
    of 2, because it wasn't bumped last time when a new packet was added there.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    (cherry picked from commit 0e7f56313d2a265cbdc2140f45dc4a0c6ae07e4e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ff3da25090ff62d501653636100c7f470f6f290
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jul 26 02:56:00 2014 +0200

    radeonsi: fix a hang with instancing on Hawaii
    
    This fixes "piglit/bin/arb_transform_feedback2-draw-auto instanced".
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    (cherry picked from commit 3d9e87406cfaf4a2bfef5b4bae50af94d1cc424f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=378def4cab1b2aad070b51ba2e10d590d1ff1722
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jul 26 02:54:23 2014 +0200

    gallium/util: add a helper for calculating primitive count from vertex count
    
    This is needed by the following commit which is a candidate for stable too.
    
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit c7407b94a8eb329a45cdd0acb5255670d4c0e041)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcb6c0d2b8cb36c3d1b7cbbf3437aeb65a808682
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jul 26 00:48:48 2014 +0200

    radeonsi: fix CMASK and HTILE calculations for Hawaii
    
    This fixes the checkerboard pattern in glxgears and anything that triggers
    fast color clear.
    
    num_channels is always <= 8, but Hawaii has 16 pipes.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    (cherry picked from commit 9b046474c95f15338d4c748df9b62871bba6f36f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d59406cdb763140037a75e119005a8c0815a1f72
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jul 23 19:22:30 2014 +0200

    r600g: switch SNORM conversion to DX and GLES behavior
    
    it also matches GL 4.2
    
    further discussion:
    http://lists.freedesktop.org/archives/mesa-dev/2013-August/042680.html
    
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit d5bcb5e8dea3dc949ff6b093af7f46585b94b63e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2023b8dc8807ceba0c9475c4020595729457924
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Jul 17 22:11:56 2014 -0400

    nvc0: make sure that the local memory allocation is aligned to 0x10
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 47e5a8d7a24b80fe1738d88bfffcb04431d612e8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37114cc2eb5321e17ce3c099fe33bda5f17ca314
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Jul 21 16:17:46 2014 -0700

    i965/fs: Set LastRT on the final FB write on Broadwell.
    
    In Piglit's EXT_framebuffer_multisample/alpha-to-coverage-dual-src-blend
    test, key->nr_color_regions == 2, but the dual source blend FB write has
    ir->target set to 0.  So we failed to set "Last Render Target Select" on
    any FB write message.
    
    We only emit one FB write per render target, so my comment about setting
    LastRT on every FB write directed at the last color region is a bit...
    misinformed.  According to the documentation, depth buffer writes and
    scoreboard updates happen on the FB write with LastRT set, so I believe
    we want to set it only once.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit d4d886a0bc86eb2045b0327fe147eef3c400ffba)
    
    Conflicts:
    	src/mesa/drivers/dri/i965/gen8_fs_generator.cpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f876eae80b7dc0f9a6ff0cba86bbd47e276bc43e
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Jul 21 16:58:42 2014 -0700

    mesa: Don't use memcpy() in _mesa_texstore() for float depth texture data
    
    because float depth texture data needs clamping to [0.0, 1.0]. Let the
    _mesa_texstore() fallback to slower path.
    
    Fixes Khronos GLES3 CTS tests:
    shadow_execution_vert
    shadow_execution_frag
    
    V2: Move the check to _mesa_texstore_can_use_memcpy() function.
        Add check for floating point data types.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 9548ba6e7bb8e631f6ef6236f7425725239742fe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e91b094c80baf08e40bdf307852a06a4d49aa1e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Jul 18 13:19:46 2014 -0700

    i965/fs: Fix gl_SampleMask handling for SIMD16 on Gen8+.
    
    We actually want to use mov(16), not mov(8).
    
    Fixes 7 Piglit tests: ARB_sample_shading/builtin-gl-sample-mask [2468]
    and ARB_sample_shading/builtin-gl-sample-mask-simple [468].
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80991
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 29af97f2804442e7952b98f8cea8e8ff740d196e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6893c25c7b9188d1c85780a721d5015fdbc54fbf
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Jul 18 13:19:45 2014 -0700

    i965/fs: Fix gl_SampleID for 2x MSAA and SIMD16 mode.
    
    We might be able to do this without an extra program key field, but this
    is non-invasive and fixes the bug, for now.
    
    This fixes the following Piglit tests on Broadwell:
    - ARB_sample_shading/builtin-gl-sample-id 2
    - ARB_sample_shading/builtin-gl-sample-position 2
    - EXT_framebuffer_multisample/multisample-blit 2 color
    - EXT_framebuffer_multisample/multisample-blit 2 color linear
    - EXT_framebuffer_multisample/multisample-blit 2 depth
    - EXT_framebuffer_multisample/no-color 2 depth combined
    - EXT_framebuffer_multisample/no-color 2 depth separate
    - EXT_framebuffer_multisample/no-color 2 depth single
    - EXT_framebuffer_multisample/no-color 2 depth-computed combined
    - EXT_framebuffer_multisample/no-color 2 depth-computed separate
    - EXT_framebuffer_multisample/no-color 2 depth-computed single
    - EXT_framebuffer_multisample/unaligned-blit 2 color msaa
    - EXT_framebuffer_multisample/unaligned-blit 2 depth msaa
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80991
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 38ffef7840edddada23bac48f669d2070e6f158c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62ebb85cd411246ae47868e661d862e27921d762
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jul 17 11:18:35 2014 -0700

    i965: Add missing persample_shading field to brw_wm_debug_recompile.
    
    Otherwise, the performance warning for shader recompiles will just say
    "something else".
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit 4cf47c80fc841f1542762a0112117ebeff1058f1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c8dc8c9e95f82051f598d2c878175e4208b351a
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Jul 16 22:19:49 2014 -0700

    main/format_pack: Fix a wrong datatype in pack_ubyte_R8G8_UNORM
    
    Before it was only storing one of the color components due to truncation.
    With this patch it now properly stores all of them.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit ecd3e89b32c851f21e8cf2ac78c38e0e12f28ca6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=775895110ce67d9c73d991985537cb43f9ca5dc2
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Jul 14 16:16:47 2014 -0700

    i965: Fix z_offset computation in intel_miptree_unmap_depthstencil()
    
    The bug is triggered by using glTexSubImage2d() with GL_DEPTH_STENCIL
    as base internal format and non-zero x, y offsets. Currently x, y
    offsets are ignored while updating the texture image.
    
    Fixes Khronos GLES3 CTS tests:
    npot_tex_sub_image_2d
    npot_tex_sub_image_3d
    npot_pbo_tex_sub_image_2d
    npot_pbo_tex_sub_image_2d
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit 984a02ba556802775d63a9ce77b4dac567bf8680)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=386648c555c94668585f5477db4871f04406e074
Author: Adel Gadllah <adel.gadllah at gmail.com>
Date:   Thu Jul 3 22:13:53 2014 +0200

    i915: Fix up intelInitScreen2 for DRI3
    
    Commit 442442026eb updated both i915 and i965 for DRI3 support,
    but one check in intelInitScreen2 was missed for i915 causing crashes
    when trying to use i915 with DRI3.
    
    So fix that up.
    
    Reported-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
    References: https://bugzilla.redhat.com/show_bug.cgi?id=1115323
    References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754297
    Tested-by: František Zatloukal <Zatloukal.Frantisek at gmail.com>
    Tested-by: Dirk Griesbach <spamthis at freenet.de>
    Signed-off-by: Adel Gadllah <adel.gadllah at gmail.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit b656e3c603da46fe0acd9905dc039c93d76f0b06)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e6d8ca573f4f8e84b4c1df5a45e806f3d273053
Author: Thorsten Glaser <tg at debian.org>
Date:   Wed Oct 30 18:04:07 2013 +0100

    nv50: fix build failure on m68k due to invalid struct alignment assumptions
    
    Make alignment assumptions explicit by inserting correct padding with
    unknown struct members.
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 3cfe6bc9cc369b29e5475b1bb0c60bbb37a6a1a2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1233cdd98d6eb5044a3d6d634b9b44473a7b7184
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Jul 16 16:14:07 2014 -0400

    clover: Call end_query before getting timestamp result v2
    
    v2:
      - Move the end_query() call into the timestamp constructor.
      - Still pass false as the wait parameter to get_query_result().
    
    Reviewed-by: Niels Ole Salscheider <niels_ole at salscheider-online.de>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    
    CC: "10.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 74dfd86ed69c11bd4eddee60ac8a14c39e4d5fc4)
    
    Conflicts:
    	src/gallium/state_trackers/clover/core/timestamp.cpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a856002d393911d5fdb2ff12840b14883c1ed4d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jun 16 17:57:30 2014 -0700

    mesa: Don't allow GL_TEXTURE_{LUMINANCE,INTENSITY}_* queries outside compat profile
    
    There are no queries for GL_TEXTURE_LUMINANCE_SIZE,
    GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_LUMINANCE_TYPE, or
    GL_TEXTURE_INTENSITY_TYPE in any version of OpenGL ES or desktop OpenGL
    core profile.
    
    NOTE: Without changes to piglit, this regresses
    required-sized-texture-formats.
    
    v2: Rebase on different initial change.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Cc: "10.2 <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 9a723b970e76b27829cd6ce6123a4958472a60df)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8074a6a1ca5fa5249813d0585b356ba869a9156
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jun 16 17:17:43 2014 -0700

    mesa: Don't allow GL_TEXTURE_BORDER queries outside compat profile
    
    There are no texture borders in any version of OpenGL ES or desktop
    OpenGL core profile.
    
    Fixes piglit's gl-3.2-texture-border-deprecated.
    
    v2: Rebase on different initial change.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Cc: "10.2 <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 750286600b871ee5506e2589719f58bda215a605)




More information about the mesa-commit mailing list