Mesa (10.0): 27 new commits

Ian Romanick idr at kemper.freedesktop.org
Sun Nov 24 01:21:07 UTC 2013


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48e4daf977a31dc62a1b46ea01d215f78c7585da
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Sat Nov 23 17:20:36 2013 -0800

    Remove 068a073 from the pick list
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1efe2ef620ba592d25d127d64d435fbf2db0bbda
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Nov 19 16:00:28 2013 -0800

    i965: Fix streamed state dumping/annotation after the blorp-flush change.
    
    I think I was thinking of the batch command packet cache when I pasted
    this in, but this counter is only used for dumping out streamed state for
    INTEL_DEBUG=batch and for putting annotations in our aub files.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 5891f981452c1c5ed45b5a7e5fe54a9884ced2b6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47ff55fa86f9bf74cf05944f4420bb6f2208790a
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Nov 19 21:17:19 2013 -0800

    mesa: Implement GL_FRAMEBUFFER_ATTACHMENT_LAYERED query.
    
    From section 6.1.18 (Renderbuffer Object Queries) of the GL 3.2 spec,
    under the heading "If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
    is TEXTURE, then":
    
        If pname is FRAMEBUFFER_ATTACHMENT_LAYERED, then params will
        contain TRUE if an entire level of a three-dimesional texture,
        cube map texture, or one-or two-dimensional array texture is
        attached. Otherwise, params will contain FALSE.
    
    Fixes piglit tests:
    - spec/!OpenGL 3.2/layered-rendering/framebuffer-layered-attachments
    - spec/!OpenGL 3.2/layered-rendering/framebuffertexture-defaults
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    
    v2: Don't include "EXT" in the error message, since this query only
    makes sensen in context versions that have adopted
    glGetFramebufferAttachmentParameteriv().
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit ec79c05cbfb7c68fbef7447e1744423c00f26654)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f4d95d41c0e84766279d7220adec959f86ed081
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Nov 19 21:47:04 2013 -0800

    mesa: Fix texture target validation for glFramebufferTexture()
    
    Previously we were using the code path for validating
    glFramebufferTextureLayer().  But glFramebufferTexture() allows
    additional texture types.
    
    Fixes piglit tests:
    - spec/!OpenGL 3.2/layered-rendering/gl-layer-cube-map
    - spec/!OpenGL 3.2/layered-rendering/framebuffertexture
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    
    v2: Clarify comment above framebuffer_texture().
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit af1471dc04cc89822bab2c253c808880dd47c25a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79d727e06302e500c5dcb0e766f959a77510eb08
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Nov 19 18:51:48 2013 -0800

    i965: Fix fast clear of depth buffers.
    
    From section 4.4.7 (Layered Framebuffers) of the GLSL 3.2 spec:
    
        When the Clear or ClearBuffer* commands are used to clear a
        layered framebuffer attachment, all layers of the attachment are
        cleared.
    
    This patch fixes the fast depth clear path.
    
    Fixes piglit test "spec/!OpenGL 3.2/layered-rendering/clear-depth".
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit 08315233509f1fa7dc1e877aed2a8517296cf86e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f99ae72c402869b76f297f87e8ef5b236f5c113
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Nov 19 12:58:02 2013 -0800

    i965: Fix blorp clear of layered framebuffers.
    
    From section 4.4.7 (Layered Framebuffers) of the GLSL 3.2 spec:
    
        When the Clear or ClearBuffer* commands are used to clear a
        layered framebuffer attachment, all layers of the attachment are
        cleared.
    
    This patch fixes the blorp clear path for color buffers.
    
    Fixes piglit test "spec/!OpenGL 3.2/layered-rendering/clear-color".
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit c1019670ea89505ea7411629c052d662c8eb6be6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e934782b2a87cab79fde9e9c45bd796863dcaf7f
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Nov 19 10:42:59 2013 -0800

    i965: refactor blorp clear code in preparation for layered clears.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit 1ec5365429b46a39a06186092502c8e66fb4140e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffa073ec72fe33f2155871fc511edbdb43152220
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Nov 19 15:55:51 2013 -0800

    mesa: Track number of layers in layered framebuffers.
    
    In order to properly clear layered framebuffers, we need to know how
    many layers they have.  The easiest way to do this is to record it in
    the gl_framebuffer struct when we check framebuffer completeness.
    
    This patch replaces the gl_framebuffer::Layered boolean with a
    gl_framebuffer::NumLayers integer, which is 0 if the framebuffer is
    not layered, and equal to the number of layers otherwise.
    
    v2: Remove gl_framebuffer::Layered and make gl_framebuffer::NumLayers
    always have a defined value.  Fix factor of 6 error in the number of
    layers in a cube map array.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 95140740ad1c6cd8a34002c307556f5c49a34589)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=620d11aed40088a33011eb62dee911ac5b5a6985
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Aug 22 11:22:58 2013 -0400

    radeonsi/compute: Fix LDS size calculation
    
    We need to include the number of LDS bytes allocated by the state tracker.
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 1bdb99330ac68003a9ee6c963f46bddb03b9073d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8cf5dc401a964cacf88d6bd347f07f31221fc85
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Tue Nov 19 22:05:52 2013 -0500

    r600g/compute: Add a work-around for flushing issues on Cayman
    
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    
    https://bugs.freedesktop.org/show_bug.cgi?id=69321
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 7a30cd7085b6879d3858f5c1a6945fbe30c818a6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a645df01340d758b79905696a7ae41e196ba57f5
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Nov 15 14:23:45 2013 -0800

    glsl: Fix interstage uniform interface block link error detection.
    
    Previously, we checked for interstage uniform interface block link
    errors in validate_interstage_interface_blocks(), which is only called
    on pairs of adjacent shader stages.  Therefore, we failed to detect
    uniform interface block mismatches between non-adjacent shader stages.
    
    Before the introduction of geometry shaders, this wasn't a problem,
    because the only supported shader stages were vertex and fragment
    shaders, therefore they were always adjacent.  However, now that we
    allow a program to contain vertex, geometry, and fragment shaders,
    that is no longer the case.
    
    Fixes piglit test "skip-stage-uniform-block-array-size-mismatch".
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    v2: Rename validate_interstage_interface_blocks() to
    validate_interstage_inout_blocks() to reflect the fact that it no
    longer validates uniform blocks.
    
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    
    v3: Make validate_interstage_inout_blocks() skip uniform blocks.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 544e3129c5addeb6c9539339782dd54616ef0499)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3470916d6af016254fe938324d67d58307384920
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Nov 19 17:48:02 2013 -0800

    glsl: Fix cross-version linking between VS and GS.
    
    Previously, when attempting to link a vertex shader and a geometry
    shader that use different GLSL versions, we would sometimes generate a
    link error due to the implicit declaration of gl_PerVertex being
    different between the two GLSL versions.
    
    This patch fixes that problem by only requiring interface block
    definitions to match when they are explicitly declared.
    
    Fixes piglit test "shaders/version-mixing vs-gs".
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    v2: In the interface_block_definition constructor, move the assignment
    to explicitly_declared after the existing if block.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 0f4cacbb53c23e4fa027375c492edd17b40ae748)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=320f2fa45daa27009137a52bee79267482a0bf96
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Nov 13 16:53:18 2013 -0800

    glsl: Prohibit illegal mixing of redeclarations inside/outside gl_PerVertex.
    
    From section 7.1 (Built-In Language Variables) of the GLSL 4.10
    spec:
    
        Also, if a built-in interface block is redeclared, no member of
        the built-in declaration can be redeclared outside the block
        redeclaration.
    
    We have been regarding this text as a clarification to the behaviour
    established for gl_PerVertex by GLSL 1.50, so we apply it regardless
    of GLSL version.
    
    This patch enforces the rule by adding an enum to ir_variable to track
    how the variable was declared: implicitly, normally, or in an
    interface block.
    
    Fixes piglit tests:
    - gs-redeclares-pervertex-out-after-global-redeclaration.geom
    - vs-redeclares-pervertex-out-after-global-redeclaration.vert
    - gs-redeclares-pervertex-out-after-other-global-redeclaration.geom
    - vs-redeclares-pervertex-out-after-other-global-redeclaration.vert
    - gs-redeclares-pervertex-out-before-global-redeclaration
    - vs-redeclares-pervertex-out-before-global-redeclaration
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    v2: Don't set "how_declared" redundantly in builtin_variables.cpp.
    Properly clone "how_declared".
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 2bbcf19acad530d339ffe8e007fe2f6a244e1580)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2747e720362869c0a3ff7724745d4b9c11c86f9a
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Wed Nov 20 13:27:10 2013 +0200

    mesa: enable GL_TEXTURE_LOD_BIAS set/get
    
    Earlier comments suggest this was removed from GL core spec but it is
    still there. Enabling makes 'texture_lod_bias_getter' Khronos
    conformance tests pass, also removes some errors from Metro Last Light
    game which is using this API.
    
    v2: leave NOTE comment (Ian)
    
    Cc: "9.0 9.1 9.2 10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit 7e61b44dcd6175579f60d8ff2f703a6c83e33d27)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4b7ff7fe00b8ff9734c2cd7cb6561c5d3653ec9
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Nov 18 17:34:52 2013 +1000

    glx: don't fail out when no configs if we have visuals
    
    GLX 1.2 servers with no SGIX_fbconfigs exist (some citrix thing),
    and we fail glxinfo completely in those cases.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit b01a3a9b72ed8d4899b4552658da7233c451142a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63b02533f04226d391c62a7c67cdbf2ca927b5bd
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Nov 13 12:53:52 2013 +1000

    mesa/swrast: fix inverted front buffer rendering with old-school swrast
    
    I've no idea when this broke, but we have some people who wanted it fixed,
    so here's my attempt.
    
    reproducer, run readpix with swrast hit f, or run trival tri -sb things are
    upside down, after this patch they aren't.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62142
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66213
    
    Cc: <mesa-stable at lists.freedesktop.org>"
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit a43b49dfb13dc7e6d2d6d7ceee892077038d7102)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19f05b26ba638c51d4fe75107b7902906cc2b106
Author: Matt Turner <mattst88 at gmail.com>
Date:   Mon Nov 18 15:19:15 2013 -0800

    i965: Link -ldl after libmesa.la
    
    DLOPEN_LIBS is part of DRI_LIB_DEPS.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>"
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71512
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 1f9092958d365c94af825c3b3b6664688c27b5a1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11da04e1bbc283fd7fb322bcc632641afe2dc6d7
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Nov 19 13:09:57 2013 -0700

    st/mesa: fix GL_FEEDBACK mode inverted Y coordinate bug
    
    We need to check the drawbuffer's orientation before inverting Y
    coordinates.  Fixes piglit feedback tests when running with the
    -fbo option.
    
    Cc: "9.2" "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 15d8e05e1e98a9bfd5a365d0fda222668f24261f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=989d65009018d25b54496060a9ab5bf707849577
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Nov 5 21:44:13 2013 -0800

    i965/vec4: Fix broken IR annotation in debug output.
    
    Commit 70953b5 (i965: Initialize all member variables of
    vec4_instruction on construction) inadvertently added a line to the
    vec4_instruction constructor setting this->ir to NULL, wiping out the
    previously set value.  As a result, ever since then, the output of
    INTEL_DEBUG=vs and INTEL_DEBUG=gs has been missing IR annotations.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 60b1a118e123493624324ae191d05870e95968f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9495fb4fff15c7f0e8b07bc101dd7a8ccfc6421c
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Nov 14 07:28:09 2013 -0800

    r600g/compute: Fix handling of global buffers in r600_resource_copy_region()
    
    Global buffers do not have an associate cs_buf handle, so
    we can't copy them using r600_copy_buffer()
    
    https://bugs.freedesktop.org/show_bug.cgi?id=64226
    
    Reviewed-by: Marek Ol????k <marek.olsak at amd.com>
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 1b9511d7ce70a9f9cadd0c03bd0c916b88b6dd43)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=521c59f1327e8902e4bb9dc4f926a54a1cb26bd3
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Tue Nov 12 11:29:21 2013 -0800

    gallium: Pass version scripts to linker using --version-script=
    
    This fixes build failures with the gold linker.
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 17930a66aad6774224296ad9c845d30e01e4ffe5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eafb9f675611ba40ca7ed8da95d90e3f87cc13c1
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Nov 15 15:50:34 2013 -0800

    clover: Optionally return context's devices from clGetProgramInfo()
    
    The spec allows clGetProgramInfo() to return information about either
    the devices associated with the program or the devices associated
    with the context.  If there are no devices associated with the program,
    then we return devices associated with the context.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=52171
    
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit a84dd2398f75c672293122408828ac66bb7052a0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5af1fb532451f41d7cd920497d468582711bac00
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Mon Nov 4 20:06:48 2013 -0800

    i965/gen7: Emit workaround flush when changing GS enable state.
    
    v2: Don't go to extra work to avoid extraneous flushes.  (Previous
    experiments in the kernel have suggested that flushing the pipeline
    when it is already empty is extremely cheap).
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 7dfb4b2d00ddb8e5ee24d4c58eb9415dc4ccc21c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0040edcf9dd401b1b49d487c0ab15ad6aae8d4df
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Nov 16 22:59:29 2013 +0000

    docs: indicate GLX_MESA_query_renderer's completion
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Acked-by: Chris Forbes <chrisf at ijw.co.nz>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    (cherry picked from commit d33d260b905401b8279c111b1350781bc08673f0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=defff44e1cb1f7524842ac69a876d290da588b9f
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Nov 16 21:53:04 2013 +0000

    docs: add a note about removed state tracker/targets
    
    The X.Org state tracker is gone, as well as the xvmc/vdpau
    r300 and softpipe targets.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Acked-by: Chris Forbes <chrisf at ijw.co.nz>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    (cherry picked from commit ca9794658ed6df30a12e48854aecee7bd628b70f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f78b06dca4367be4dfbc4d8b984f260c344b2b5
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Fri Nov 15 18:24:53 2013 +0100

    r600g/sb: work around hw issues with stack on eg/cm
    
    v2: make it actually work, improve condition
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68503
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
    (cherry picked from commit 4cb04aa0dfaf8c23e312fa49778e637e59410727)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=367241ec64c8140b0f1f5f6b452dc315684e4343
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Thu Nov 14 22:47:33 2013 -0800

    i965: Add missing break in SHADER_OPCODE_GEN7_SCRATCH_READ case.
    
    Fixes "Missing break in switch" defect reported by Coverity.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit b570c4229fe9c621b56bb9475d77a344039444d4)




More information about the mesa-commit mailing list