Mesa (gallium-compute): 86 new commits

Francisco Jerez currojerez at kemper.freedesktop.org
Sun Apr 1 11:28:50 UTC 2012


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=861dd183514ae4f552028905d3cba9107a466eb2
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Sun Apr 1 13:14:29 2012 +0200

    clover: Assorted build fixes.
    
    Contains the following patches squashed in:
    
    commit 9fff1dc0875f7c9591550fa3ebbe1ba7a18483fa
    Author: Tom Stellard <thomas.stellard at amd.com>
    Date:   Tue Mar 20 23:20:03 2012 +0100
    
        configure.ac: Build gallium loader when OpenCL is enabled
    
    commit 542111cb02957418c6a285cb6ef2924e49adc66e
    Author: Tom Stellard <thomas.stellard at amd.com>
    Date:   Tue Mar 20 23:30:29 2012 +0100
    
        configure.ac: Add sw/null to GALLIUM_WINSYS_DIRS for gallium loader
    
    commit 876f8de46062dde76b6075be3b6628f969b16648
    Author: Tom Stellard <thomas.stellard at amd.com>
    Date:   Thu Feb 9 11:26:05 2012 -0500
    
        configure.ac: Require gcc > 4.6.0 for clover
    
    commit 99049d50fa3d9a23297ae658189c19c89dca1766
    Author: Tom Stellard <thomas.stellard at amd.com>
    Date:   Tue Mar 20 23:32:06 2012 +0100
    
        configure.ac: Require Gallium drm loader when gallium loader is enabled
    
        No longer silently exclude this when building OpenCL drivers
        for nouveau and r600.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d0a165de334c50b43a7f4dd0ba7a30fdc71c825
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 27 01:35:37 2012 +0200

    clover: Import OpenCL state tracker.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=690e6e7454fa0ab5a29f522ed6db0044120b65e9
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 20 23:41:09 2012 +0100

    gallium/tests/trivial: Import compute unit tests.
    
    Add a test program that tries to exercise some of the language
    features commonly used by compute programs at the Gallium API level:
    
       - Correctness of the values returned by the grid parameters.
       - Proper functioning of resource LOADs and STOREs.
       - Subroutine calls.
       - Argument passing to the compute parameter through the INPUT
         memory space.
       - Mapping of buffer objects to the GLOBAL memory space.
       - Proper functioning of the PRIVATE and LOCAL memory spaces.
       - Texture sampling and constant buffers.
       - Support for multiple kernels in the same program.
       - Indirect resource indexing.
       - Formatted resource loads and stores (i.e. with channel conversion
         and scaling) using several different formats.
       - Proper functioning of work-group barriers.
       - Atomicity and semantics of the atomic opcodes.
    
    As of now all of them seem to pass on my nvA8.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6126f1f8b705399ff532f8ff7d984e5c4f41b407
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 6 20:29:43 2012 +0100

    gallium/gbm: Switch to auxiliary/pipe-loader.
    
    Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da478275abbf9595b1960053f8f78a38df2264e3
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Apr 1 13:13:52 2012 +0200

    gallium/tests/trivial: Switch to the pipe loader.
    
    It simplifies things slightly, and besides, it makes possible to
    execute the trivial tests on a hardware device instead of being
    limited to software rendering.
    
    Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d54ea1691c401d084f5bbacb90244dad1ffb3c1d
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Nov 25 14:26:00 2011 +0100

    gallium: Add "pipe-loader" target.
    
    This target generates pipe driver modules intended to be consumed by
    auxiliary/pipe-loader.  Most of it was taken from the "gbm" target --
    the duplicated code will be replaced with references to this target in
    a future commit.
    
    Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6546d8e170064861638ca76147c94c73d64a1ce
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Apr 1 13:13:05 2012 +0200

    gallium: Add pipe loader for device enumeration and driver multiplexing.
    
    The goal is to have a uniform interface to create winsys and
    pipe_screen instances for any driver, exposing the device enumeration
    capabilities that might be supported by the operating system (for now
    there's a "drm" back-end using udev and a "sw" back-end that always
    returns the same built-in devices).
    
    The typical use case of this library will be:
    >
    > struct pipe_loader_device devs[n];
    > struct pipe_screen *screen;
    >
    > pipe_loader_probe(&devs, n);
    >[pick some device from the array...]
    >
    > screen = pipe_loader_create_screen(dev, library_search_path);
    >[do something with screen...]
    >
    > screen->destroy(screen);
    > pipe_loader_release(&devs, N);
    >
    
    A part of the code was taken from targets/gbm/pipe_loader.c, which
    will be removed and replaced with calls into this library by a future
    commit.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6905899da82b0479c7ad92cd40afb145e0306122
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 20 22:46:11 2012 +0100

    gallium/tgsi/text: Replace open-coded integer parsing with parse_int().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca1ad197a57ae7facc6b0548b4330d50ca652575
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 20 22:39:29 2012 +0100

    gallium/tgsi/text: Parse immediates of non-float data types.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c9a5ed1b412c7b3b2b73091acaa20e65215edc0
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 20 21:29:36 2012 +0100

    gallium/tgsi: Fix tgsi_build_full_immediate() for non-float data types.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3734060f3b88f1fc013e7eec97ee718c480994ba
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Mar 26 17:56:29 2012 +0200

    gallium/tgsi/text: Make label parsing optional for branch instructions.
    
    Structured branch instructions like IF, ELSE, BGNLOOP, ENDLOOP no
    longer require a label argument, make it optional for them.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed00bb81e6c0d20508d06016cc244973ffe2d263
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Dec 8 18:05:25 2011 +0100

    st/mesa: Use local temporary registers.
    
    Local makes more sense in most places because non-inline function
    calls are unimplemented anyway.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf6d93a95e1a19ed2b00f0080e99a381f50f35d4
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Mar 26 17:55:30 2012 +0200

    gallium/tgsi/ureg: Support local temporary emission.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=331b33fb2582b43d4131cf77695c3a29356e1976
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Dec 8 18:00:17 2011 +0100

    gallium/tgsi/ureg: Lift the restriction on releasing temporaries over UREG_MAX_TEMP.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee2477cc5f1ee576445a59ac9d2a10faafcb10ae
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Nov 25 14:37:07 2011 +0100

    gallium/util: Define util_strchrnul.
    
    Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=597e1b4bb968ee35a43aefc396a12527c9a963c2
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Mar 18 23:59:33 2012 +0100

    gallium/compute: Drop TGSI dependency.
    
    This is mainly to accomodate AMD's LLVM compiler back-end by letting
    it bypass the TGSI representation.  Other drivers will keep using the
    common TGSI instruction set for compute shaders.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a05b4ebf88daf4be9cbc01f0a41258d90b2abdd8
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Mar 18 19:21:36 2012 +0100

    gallium/tgsi: Introduce the "LOCAL" register declaration modifier.
    
    This change will be useful to implement function parameter passing on
    top of TGSI.  As we don't have a proper stack, a register-based
    calling convention will be used instead, which isn't necessarily a bad
    thing given that GPUs often have plenty of registers to spare.
    
    Using the same register space for local temporaries and
    inter-procedural communication caused some inefficiencies, because in
    some cases the register allocator would lose the freedom to merge
    temporary values together into the same physical register, leading to
    suboptimal register (and sometimes, as a side effect, instruction)
    usage.
    
    The LOCAL declaration modifier specifies that the value isn't intended
    for parameter passing and as a result the compiler doesn't have to
    give any guarantees of it being preserved across function boundaries.
    
    Ignoring the LOCAL flag doesn't change the semantics of a valid
    program in any way, because local variables are just supposed to get a
    more relaxed treatment.  IOW, this should be a backwards-compatible
    change.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b6eaa29e822cebb017e4b02bd583861f306a920
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 6 20:52:25 2012 +0100

    gallium/tgsi: Add support for atomic opcodes.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c94cbb968efcca26445369b3763cbb6a6e11e6fa
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 6 20:50:46 2012 +0100

    gallium/tgsi: Add support for barriers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07e8b449d269885c96bc752b227aaa263d64e402
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Mar 18 18:13:29 2012 +0100

    gallium/tgsi: Define system values used to query the compute grid parameters.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6953ac08bd942e2186685af2d61421abf74664a
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 20 18:14:11 2012 +0100

    gallium/tgsi: Add resource write-back support.
    
    Define a new STORE opcode with a role dual to the LOAD opcode, and add
    flags to specify that a resource, sampler view, or shader resource
    binding point is intended for writing.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c6ea8f1e44eae8baa606426c6f00b9e98ad6902
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Mar 18 19:14:24 2012 +0100

    gallium/tgsi: Add support for raw resources.
    
    Normal resource access (e.g. the LOAD TGSI opcode) is supposed to
    perform a series of conversions to turn the texture data as it's found
    in memory into the data format that was specified in the resource
    declaration.
    
    In compute programs it's often the case that we only want to access
    the raw bits as they're stored in some buffer object, and any kind of
    channel conversion and scaling is harmful or inefficient, especially
    in implementations that lack proper hardware support to take care of
    it -- in those cases the conversion has to be implemented in software
    and it's likely to result in a performance hit even if the pipe_buffer
    and declaration data types are set up in a way that would just pass
    the data through.
    
    Add a declaration flag that marks a resource as typeless.  No channel
    conversion will be performed in that case, and the X coordinate of the
    address vector will be interpreted in byte units instead of elements
    for obvious reasons.
    
    This is similar to D3D11's ByteAddressBuffer, and will be used to
    implement OpenCL's constant arguments.  The remaining four compute
    memory spaces can also be understood as raw resources.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9b840afb1decb263afc739d541e1ad5ff105e6d
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Mar 18 19:14:05 2012 +0100

    gallium/tgsi: Define the TGSI_BUFFER texture target.
    
    This texture type was already referred to by the documentation but it
    was never defined.  Define it as 0 to match the pipe_texture_target
    enumeration values.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a639b1fa5dba5ae47d074f1ab2694e49cd178091
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Mar 18 19:09:18 2012 +0100

    gallium/tgsi: Introduce the compute processor.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94fe73aac7c7312729ee3ab3ebbe75950e20ec34
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Mar 18 19:21:12 2012 +0100

    gallium/tgsi: Move interpolation info from tgsi_declaration to a separate token.
    
    Move Interpolate, Centroid and CylindricalWrap from tgsi_declaration
    to a separate token -- they only make sense for FS inputs and we need
    room for other flags in the top-level declaration token.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbba129ea17c9b1d21f9d2a2aa0e502453bc0c2b
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 20 18:12:19 2012 +0100

    gallium: Basic compute interface.
    
    Define an interface that exposes the minimal functionality required to
    implement some of the popular compute APIs.  This commit adds entry
    points to set the grid layout and other state required to keep track
    of the usual address spaces employed in compute APIs, to bind a
    compute program, and execute it on the device.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4123d0b32138a0fbdbc7f61380d041704ba0ad43
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri Mar 30 23:36:45 2012 -0700

    linker: Fix memory leak in count_uniform_size::visit_field.
    
    Fixes a Coverity resource leak defect.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd2410b48df261251f75c2c69785c8cc3182d94d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Mar 19 13:42:16 2012 -0700

    intel: Add some PCI IDs for Haswell.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4848122a96a46d6725cbfe92041459d11aea70fc
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Oct 20 02:00:52 2011 -0700

    i965: Set "Shader Channel Select" fields in Haswell's SURFACE_STATE.
    
    These can be used to implement EXT_texture_swizzle without baking
    state-dependent swizzle instructions into the shader and forcing
    recompiles.
    
    For now, just set them to pass-through mode, so everything continues to
    work as it did on Ivybridge.  We can optimize this later.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a23dcc18e71e905da117d14b5d56c4e49c66ab79
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Oct 20 02:00:43 2011 -0700

    i965: Fill in Sample Mask in Haswell's 3DSTATE_PS.
    
    We only need one sample, since we don't support multisampling yet.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc8edbe016348a22e4631fb1e1c7f7b87301c5ec
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Sep 24 01:45:18 2011 -0700

    i965: Set "Stencil Buffer Enable" bit on Haswell.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4410ac3944ee30bbf5455e3e649b73f559a7d38
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Sep 24 00:42:23 2011 -0700

    i965: Set Line Stipple enable bit in 3DSTATE_SF for Haswell.
    
    Apparently this needs to be the same as in 3DSTATE_WM.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b3a199097190a0bf857eb17c12949fa2b456d9b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Sep 22 17:12:50 2011 -0700

    i965: Update max VS/PS threads shift offsets for Haswell.
    
    These now start at bit 23 instead of bit 24/25.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ba8c6ad03a3f03ecc6b66e1c0e10a4d6010122f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Mar 7 10:16:00 2012 -0800

    i965: Disable HiZ on Haswell for now.
    
    Getting HiZ working means updating all the state packets for resolves
    and clears.  It's not worth doing until we get the basics working.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=180aecb6dce1df55eae674f0f72adbc6f4d872b9
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Aug 12 18:22:48 2011 -0700

    i965: Add initial IS_HASWELL() macros.
    
    For now, these all return 0, as I don't yet want to enable Haswell
    support.  Eventually they will be filled in with proper PCI IDs.
    
    Also add an is_haswell field similar to is_g4x to make it easy to
    distinguish Gen7 and Gen7.5.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=01044fce6b3de11635ea5078b76ffee1a33b3802
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Mar 30 13:58:06 2012 -0700

    i965: Avoid explicit accumulator operands in SIMD16 mode on Gen7.
    
    According to the BSpec ISA volume's "Accumulator Register" section:
    
    "[DevIVB] SIMD16 execution on dwords is not allowed when accumulator is
     explicit source or destination operand."
    
    Fixes piglit tests:
    - fs-multiply-const-ivec4
    - fs-multiply-const-uvec4
    - fs-multiply-ivec4-const
    - fs-multiply-uvec4-const
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99a192ce7d8690f44a1f23a432607b6ce5031942
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Mar 29 21:28:55 2012 +0200

    gallium/postprocess: document serious issue causing undefined behavior

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ead0a89c9661135d66e086bbe524f9623b00af5b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Mar 29 16:45:44 2012 +0200

    r600g: cleanup after get_query_result change
    
    Finally, union r600_query_result can be removed.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d73382afc1d2a5e5815d0e6e7f39e0bf8138002
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Mar 29 16:38:53 2012 +0200

    r300g: cleanup after get_query_result change

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=452d07759db7077a62d231f758f9d5e69af3fe60
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Mar 30 17:07:45 2012 +0200

    gallium/util: add helper function util_query_clear_result

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4445e170bee23a3607ece0e010adef7058ac6a11
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Mar 27 22:42:30 2012 +0200

    gallium: adapt to get_query_result interface change
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=102ed41ae6287f9f43708d10f3952c3c5b887c45
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Mar 27 21:51:50 2012 +0200

    gallium: make get_query_result return union* and not void*
    
    This replaces the cryptic void* parameter with a union.
    (based on union r600_query_result)
    
    Users of this can still pass uint64* in it, but that cannot work for every
    query type, obviously. Most importantly, the code now documents what should
    be expected from get_query_result.
    
    This also adds pipe_query_data_pipeline_statistics as per the D3D11 docs.
    
    v2: fix indentation, add comments and use the doxygen style
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d87c71a70c95d4fe3a94676128fd9524f048112
Author: Tom Stellard <tstellar at gmail.com>
Date:   Tue Mar 27 22:24:39 2012 -0400

    configure: Add --with-llvm-shared-libs
    
    This option allows targets to link against the LLVM shared library
    instead of the static libs.  With LLVM 2.9, his saves ~11 MB for each of
    the r300 target libraries.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2402ce04ae06f909e361782f5063fa3070091bf1
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Thu Mar 29 09:20:53 2012 -0400

    shared-glapi: Include from builddir
    
    Fixes out-of-tree builds.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=47649

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7b8e16dc6fb3e076f0bce9b8c68fdce31837848
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Tue Mar 27 21:51:17 2012 -0700

    gallivm: Fix method overriding in raw_debug_ostream.
    
    Use matching type qualifers to avoid method hiding.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a976b60b1139021ef00e722361b7e1ad8e0810d
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Date:   Wed Jan 25 16:24:17 2012 +0200

    egl_dri2: use gbm_surface as the native window type in drm platform

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd6acb97fb9164b57daf3ca4b1bd637ca4685b64
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Date:   Wed Jan 25 16:24:18 2012 +0200

    gbm: Create hooks for dri2_loader_extension in dri backend
    
    Pass a dri2_loader extension to the dri driver when gbm creates the dri
    screen.  The implementation jumps through pointers in the gbm device
    so that an EGL on GBM implementation can provide the real implementations.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d1ef1f57f9011fd2bc3354d60fb19db29af7363
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Date:   Wed Jan 25 16:24:14 2012 +0200

    gbm: Add gbm_surface interface
    
    The idea here is to be able to create an egl window surface from a
    gbm_surface.  This avoids the need for the surfaceless extension and
    lets the EGL platform handle buffer allocation, while keeping the user
    in charge of somehow presenting the buffers (using kms page flipping,
    for example).
    
    gbm_surface_lock_front_buffer() locks a surface's front buffer and
    returns a gbm bo representing it.  This bo should later be returned
    to the gbm surface using gbm_surface_release_buffer().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f16246acef4089570abca76a59580691ec6cf68
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Mar 23 14:53:48 2012 -0600

    draw: fix missing immediates bug in polygon stipple code
    
    The function that counts the number of TGSI immediates also needs to
    emit the immediates.  This fixes assorted failures when using polygon
    stipple with fragment shaders that have their own immediates.
    
    NOTE: This is a candidate for the 8.0 branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc0a5e21d77ae2f082fd19dd2295e84f6fb7bd3b
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Mar 26 19:40:42 2012 +0200

    vl: move winsys helper out of winsys directory
    
    They aren't winsys of their own,
    just help dealing with them.
    
    v2: add some more comments in vl_winsys.h
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba83b8b4ae8adfc7520baf119f8c56bdcbf6547f
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Tue Mar 13 18:38:59 2012 +0000

    Use -no-undefined libtool flag in src/glx/Makefile.am
    
    "Use -no-undefined to assure libtool that the library has no unresolved
    symbols at link time, so that libtool will build a shared library on
    platforms that require that all symbols are resolved when the library is linked."
    
    Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cb777eb71dde895ca0ad3454a9b44252e9b402e
Author: Yuanhan Liu <yuanhan.liu at linux.intel.com>
Date:   Tue Mar 27 15:41:52 2012 +0800

    intel: fix un-blanced map_refcount issue
    
    This is a regression introduced by commit cdcfd5, which forget to
    increase the map_refcount for successfully-mapped region. Thus caused a
    wrong non-blanced map_refcount.
    
    This would fix the regression found in the two following webglc testcase
    on Pineview platform:
       texture-npot.html
       gl-max-texture-dimensions.html
    
    Cc: Anuj Phogat <anuj.phogat at gmail.com>
    Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a6324dbfe8d354b9b5f3181af0ce6bebbb374cc
Author: Wang YanQing <udknight at gmail.com>
Date:   Tue Mar 20 11:49:42 2012 +0800

    glx:dri_common.c: check psc->driScreen->createDrawable return value
    
    createDrawable may return NULL value, we should check it, or it will
    make a segment failed.
    
    [minor-indent-issue-fixed-by: Yuanhan Liu]
    
    Signed-off-by: Wang YanQing <udknight at gmail.com>
    Reviewed-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9773369ab4d1c75965821635f448733edde98636
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Mar 28 02:21:03 2012 +0200

    r600g: also disable transform feedback on cayman
    
    It's said to cause troubles there.
    The env var is R600_STREAMOUT again.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=393d741788fa82896d4b1c9fd02402a83053afcf
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Mar 27 21:00:49 2012 +0200

    r600g: enable transform feedback on everything that isn't r700
    
    Use R700_STREAMOUT=1 if you wanna hack transform feedback on r700.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad22e647e07d17ce51d267ac200d8a544a33c834
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Tue Mar 27 18:50:30 2012 +0200

    st/egl: Also remove wl_buffer_damage in wayland backend
    
    As commit 03eca9d92d407c71a59ff8a43067759769da0ae4 does for egl_dri2.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60b58822f0d8d07cab479ef4611029613ce2f174
Author: ojab <ojab at ojab.ru>
Date:   Tue Mar 27 07:05:58 2012 +0400

    gallivm: Use InitializeNativeTargetDisassembler().
    
    To initialize only native LLVM Disassembler on LLVM >= 3.1.
    
    Signed-off-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=410aa3eb45c88dd939dcecaa2aafa8f5afd6e000
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Date:   Wed Jan 25 16:24:15 2012 +0200

    egl_dri2: make flush extension useable by drm platform

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03eca9d92d407c71a59ff8a43067759769da0ae4
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Mar 27 08:09:32 2012 -0400

    wayland: Stop using wl_buffer.damage

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03f617f413ce0d24ac3c162337d06a24856198ff
Author: Neil Roberts <neil at linux.intel.com>
Date:   Wed Mar 21 18:08:42 2012 +0000

    Add support for GL_EXT_unpack_subimage on GLES2
    
    This extension just permits GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_ROWS
    and GL_UNPACK_SKIP_PIXELS to be passed to glPixelStore on GLES2 so it
    is trivial to implement.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=860f4846c711ac2e9d597314a692561bf34c86ba
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Sat Mar 24 08:50:47 2012 +0100

    gles: Enable the GL_EXT_read_format_bgra extension
    
    Also fixes the usage of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES,
    which may be set to a BGRA format e.g. for a MESA_FORMAT_ARGB8888 fb.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9a5457d730e4616ec6820029ba80e9641b22652
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Sat Mar 24 08:57:12 2012 +0100

    gles1: Enable GL_EXT_texture_format_BGRA8888 in APIspec
    
    The extension is already exposed for GLES1, but the APIspec
    doesnt allow the usage of GL_BGRA_EXT in glTex(Sub)Image2D.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aebd5492438d8ff31c2c12c0dfffa314768f4a42
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Mar 26 21:32:36 2012 +0000

    glapi: regenerate enums.c
    
    For previous four commits:
    
        glapi: add GL_ARB_texture_float
        glapi: add GL_ARB_depth_buffer_float
        glapi: add GL_ARB_texture_compression_rgtc
        glapi: add ARB_texture_rg

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91c8bedb8a546c922835f119ba330faa4e2e4fc9
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Tue Jan 17 02:12:19 2012 +0000

    glapi: add GL_ARB_texture_float
    
    And add some missing core GL 3.0 enums that came from this
    extension, too.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50fa8218548581e054479e872fc4348a60ab0b86
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Tue Jan 17 02:03:21 2012 +0000

    glapi: add GL_ARB_depth_buffer_float
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=faf954f15173d04afbdaa9998e3259045ed75396
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Jan 16 21:45:22 2012 +0000

    glapi: add GL_ARB_texture_compression_rgtc
    
    Noticed this was missing when writing the "glapi: sort ARB extensions
    by number" commit, which at least shows it was effective.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bae4cd6882fd69f3beac6d5c8dd33efb5b4ea777
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Jan 16 21:41:54 2012 +0000

    glapi: add ARB_texture_rg
    
    Noticed it was missing based on the lack of a descriptive enum
    name from this bug's error message:
    
    https://bugs.freedesktop.org/show_bug.cgi?id=44039
    
    This moves two enums out of GL3x.xml. Though since this and
    GL_ARB_texture_compression_rgtc are both strict subsets of GL3,
    both extensions should have had all their enums in that file
    to begin with, not just two of them.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a419595a8709eb70ec330755a98a6bf42b763e63
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Mar 26 21:28:10 2012 +0000

    regen for "glapi: sort ARB extensions by number"

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ae2e39d01f7b47f3dfd49f1e467420e51acf23e
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Jan 16 21:32:52 2012 +0000

    glapi: sort ARB extensions by number
    
    And add comments to fill in for extensions that aren't there.
    
    Noticed the comment about "ARB extensions sorted by extension number"
    didn't extend to the <xi:include> directives when it became clear
    GL_ARB_texture_rg was missing, going by the error message seen here:
    
    https://bugs.freedesktop.org/show_bug.cgi?id=44039
    
    This makes it easier to notice in the future if an extension is missing
    when it shouldn't be.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b688700edc0ee8a4dcbac9b4cc5b0388691b7b43
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri Mar 23 23:11:09 2012 -0700

    mesa: Fix memory leak in generate_mipmap_compressed.
    
    Fixes Coverity resource leak defect.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7449ae45974c6cfd872c1dc2e73bbccdb11d0f70
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Nov 20 19:56:35 2011 +0000

    glsl: fix linker error message context for frag shader output.
    
    A later error prints this properly, fix this case to do the same.
    
    v2: remove attribute as per Ian's suggestion
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a83c1d61c2919485b1e8ad33fcf658c85b67ba3a
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Nov 19 13:17:07 2011 +0000

    glapi: ARB_blend_func_extended support + regen. (v2)
    
    This adds the xml file covering ARB_blend_func_extended.
    
    v2: fix SRC1_ALPHA
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a348b91ce983c7efb1db61f36083f7d8d088f26
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 13 13:05:16 2012 -0700

    glsl: Make ir_dereference_variable ctor assert the variable exists.
    
    This also seems like a bad idea.  There were too many instances for me
    to thoroughly scan the code as I did with the last two patches, but a
    quick scan indicated that most callers newly allocate a variable,
    dereference it, or NULL-check.  In some cases, it wasn't clear that the
    value would be non-NULL, but they didn't check for error_type either.
    
    At any rate, not checking for this is a bug, and assertions will trigger
    it earlier and more reliably than returning error_type.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dca19a771156685895892740f687cee7cf84a8c9
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 13 14:59:42 2012 -0700

    glsl: Explicitly NULL-check variables before making a dereference.
    
    The constructor currently returns a ir_dereference_variable of error
    type when provided NULL, but that's about to change in the next commit.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cd652f810e3417ff458f23a8c72a0c84e342258
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 13 12:51:15 2012 -0700

    glsl: Make ir_dereference_record constructor assert the variable exists.
    
    Providing a NULL pointer to the ir_dereference_record() constructor
    seems like a bad idea.  Currently, if provided NULL, it returns a
    partially constructed value of error type.  However, none of the callers
    are prepared to handle that scenario.
    
    Code inspection shows that all callers do one of the following:
    - Already NULL-check the argument prior to creating the dereference
    - Already deference the argument (and thus would crash if it were NULL)
    - Newly allocate the argument.
    
    Thus, it should be safe to simply assert the value passed is not NULL.
    This should also catch issues right away, rather than dying later.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25b0d45d038774406f2bb7173abc33a3cb261db2
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 13 12:39:32 2012 -0700

    glsl: Make ir_dereference_array constructor assert the variable exists.
    
    Providing a NULL pointer to the ir_dereference_array() constructor seems
    like a bad idea.  Currently, if provided NULL, it returns a partially
    constructed value of error type.  However, none of the callers are
    prepared to handle that scenario.
    
    Code inspection shows that all callers do one of the following:
    - Already NULL-check the argument prior to creating the dereference
    - Already deference the argument (and thus would crash if it were NULL)
    - Newly allocate the argument.
    
    Thus, it should be safe to simply assert the value passed is not NULL.
    This should also catch issues right away, rather than dying later.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ced54dcf9b496dbe0bf254673ecee37014c1ee3b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 13 11:42:26 2012 -0700

    glsl: Comment that expression flattening is used for matrix operations.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f6af4909241de7197e774dee988f574cb576a3b
Author: Christian König <deathsimple at vodafone.de>
Date:   Sat Mar 24 13:11:25 2012 +0100

    st/vdpau: clear video surface at least once
    
    So if anything goes wrong we won't display a random image.
    
    v2: flush before using the surface with the decoder.
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f777699ed39e1c326938f84fc8f54198990cfa1
Author: Christian König <deathsimple at vodafone.de>
Date:   Sat Mar 24 13:08:01 2012 +0100

    st/vdpau: invert interlaced buffer checks
    
    That wasn't working as supposed.
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b6424143d8bf572cadd46adcbaa91d2a5598635
Author: Dave Airlie <airlied at gmail.com>
Date:   Fri Mar 23 16:17:33 2012 +0000

    intel: fix TFP at 16-bpp
    
    don't ask why I had to debug this.
    
    tested to fix g-s and kwin at 16-bpp on Ironlake.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6c5ad52b2473064f0b3e031a2e1b59480c68c43
Author: Dave Airlie <airlied at gmail.com>
Date:   Thu Mar 22 11:56:43 2012 +0000

    drisw: fix image stride calculation for 16-bit.
    
    If you ran g-s in 16-bpp we'd do a bunch of memory corruption.
    
    now it just misrenders for some other reasons.
    
    applies to stable.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba3a4d79a7bad959c0d9efbe0daa8d73c281d664
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 13 16:05:26 2012 +0000

    glsl: fix compiling warning from gcc 4.7
    
    ir_validate.cpp: In member function ‘virtual ir_visitor_status ir_validate::visit_leave(ir_swizzle*)’:
    ir_validate.cpp:458:66: warning: narrowing conversion of ‘ir->ir_swizzle::mask.ir_swizzle_mask::x’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing]
    ir_validate.cpp:458:66: warning: narrowing conversion of ‘ir->ir_swizzle::mask.ir_swizzle_mask::y’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing]
    ir_validate.cpp:458:66: warning: narrowing conversion of ‘ir->ir_swizzle::mask.ir_swizzle_mask::z’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing]
    ir_validate.cpp:458:66: warning: narrowing conversion of ‘ir->ir_swizzle::mask.ir_swizzle_mask::w’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing]
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b78a77f979b21a84aecb6fa4f19a2ed51a48c306
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar 13 14:53:25 2012 +0000

    glsl: initialise const force glsl extension warning in fake ctx
    
    valgrind complained about an uninitialised value being used in
    glsl_parser_extras.cpp, and this was the one it was giving out about.
    
    Just initialise the value in the fakectx.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=989e013b801095406ccbb22314dc263c6aeb0d5c
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Feb 26 20:20:19 2012 +0000

    makefile: add phony am--refresh target
    
    for some reason when I configure --with-dri-drivers="" the src/mesa/drivers/dri
    Makefile tries to call the am--refresh target in the toplevel Makefile,
    we don't have one, and I'm not sure what it should look like.
    
    This makes things continue on.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea663d56e2000ba02f53cc8a99ded78ccad0a126
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Mar 24 16:34:47 2012 +0000

    docs/GL3.txt: document ARB_blend_func_extended state
    
    I've written softpipe version in my tree, + gallium/mesa/glsl changes,
    however r600 currently hangs the GPU.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c778375a1356ffb8db1522bc3fc64c568c35cb1
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 23 18:37:16 2012 +0000

    glx/drisw: avoid segfaults when we fail to get visual
    
    piglit glx-tfp segfaults on llvmpipe when run vs a 16-bit radeon screen,
    
    it now fails instead of segfaulting, much prettier.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>




More information about the mesa-commit mailing list