Mesa (gallium-compute): 121 new commits

Francisco Jerez currojerez at kemper.freedesktop.org
Tue May 8 14:41:46 UTC 2012


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a65699ec35b8f484262fe8d6e0d2f4aac0ea862e
Author: Alexey Shvetsov <alexxy at gentoo.org>
Date:   Wed Apr 11 01:11:56 2012 +0300

    gallium/targets/pipe-loader: Prepend DESTDIR to the installation directory.
    
    Signed-off-by: Alexey Shvetsov <alexxy at gentoo.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e414110098d2dedb7b2c60fc50469d73f2c351b5
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Apr 20 16:56:46 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=76d400a698f8de5549401a1fe40e53aafc55332c
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Apr 20 16:56:19 2012 +0200

    clover: Import OpenCL state tracker.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=477531f593b1ba81c499b5d8d98ad3fda9d0b293
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=1c1aeb625ec2c5887a1a85824280de4f8b074c5f
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Apr 20 16:31:23 2012 +0200

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

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=559f1b835247f497078ec5aa2a14e9d509aaba57
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Wed Apr 25 22:16:26 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=8e0a870a35c62a63077378b4b8054ba44ce8b3a9
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=287950bc7a0ef303b7f2a3173481fb7e824ead85
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Wed Apr 25 22:16:00 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=9df5879f21c938d197eb122576e592163dc5285e
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=cfd878b76ccfe0df0737e160001370498d644388
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=4fde05482b33e61ea24ac588e98d403d4bb0501d
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=ee4589170d23484a6c653a67d47d19e41034e163
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=06e48f2e12e931954651ef97f17e1fd3da2f5e90
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=bffb1d81d90b15334bc3a5c0834dbaa31161673d
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=5ab5c8c4acd32fe70724ed38571d4dc00d94bd70
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=688f2592970fd3c3950d99c480f1081f03d2debc
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=4f947c52cf97f4fc36a359ae4515eb3453160ad2
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Mar 18 23:59:33 2012 +0100

    gallium/compute: Drop TGSI dependency.
    
    Add a shader cap for specifying the preferred shader representation.
    Right now the only supported value is TGSI, other enum values will be
    added as they are needed.
    
    This is mainly to accommodate AMD's LLVM compiler back-end by letting
    it bypass the TGSI representation for compute programs.  Other drivers
    will keep using the common TGSI instruction set.
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d493004b9567aff925f9f4238dd133cac5f2bd8e
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=c7518f9be045984378a305523a0c700398619b72
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 30 20:22:23 2012 +0200

    gallium/tgsi: Add support for atomic opcodes.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=070a26d884e8d44319cdf54ed3024d418a5b3764
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 30 20:21:38 2012 +0200

    gallium/tgsi: Add support for barriers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=553e940a05e81c1aaaea41b6d0bc7a31d3b35f29
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=0fe55ff95726db3df738f1f8985259f4aa5612ec
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 30 20:20:29 2012 +0200

    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 shader resource is intended for writing.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4ca3856752b723c977d121b792a18184eeca896
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 30 19:08:55 2012 +0200

    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 target data type.
    
    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=8dfd4f1b7abb7df8ab73cb4bf1d5aef115a368fe
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 30 18:28:36 2012 +0200

    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=98938fcd8144a775b5954633e6e139957540aa42
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=6f4187407e44eee6dfb1d2c31f322f037c433aa6
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 30 18:27:52 2012 +0200

    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=d4ca8520e1790ce3fafc8ac9bb7a5856626cb6fc
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue May 1 02:47:03 2012 +0200

    gallium: Add context hooks for binding shader resources.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d437736bdd95172f33697e2497b76d6ef7350ab1
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue May 1 02:38:51 2012 +0200

    gallium/tgsi: Split sampler views from shader resources.
    
    This commit splits the current concept of resource into "sampler
    views" and "shader resources":
    
    "Sampler views" are textures or buffers that are bound to a given
    shader stage and can be read from in conjunction with a sampler
    object.  They are analogous to OpenGL texture objects or Direct3D
    SRVs.
    
    "Shader resources" are textures or buffers that can be read and
    written from a shader.  There's no support for floating point
    coordinates, address wrap modes or filtering, and, unlike sampler
    views, shader resources are global for the whole graphics pipeline.
    They are analogous to OpenGL image objects (as in
    ARB_shader_image_load_store) or Direct3D UAVs.
    
    Most hardware is likely to implement shader resources and sampler
    views as separate objects, so, having the distinction at the API level
    simplifies things slightly for the driver.
    
    This patch introduces the SVIEW register file with a declaration token
    and syntax analogous to the already existing RES register file.  After
    this change, the SAMPLE_* opcodes no longer accept a resource as
    input, but rather a SVIEW object.  To preserve the functionality of
    reading from a sampler view with integer coordinates, the
    SAMPLE_I(_MS) opcodes are introduced which are similar to LOAD(_MS)
    but take a SVIEW register instead of a RES register as argument.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=285d7bbb296d80a13acde769ef6d19222b9bcc41
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Wed Apr 25 22:15:16 2012 +0200

    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.
    
    Reviewed-by: Marek Olšák <maraeo at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6aa7cd7f82a3695243e1ecb1c73cdb796b12523
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 13:25:08 2012 +0400

    radeon/llvm: add suport for cube textures
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e98e209528b2c7acb721a84a7cfda925aeed4d57
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 13:10:09 2012 +0400

    radeon/llvm: add support for CUBE ALU instruction
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=996fa375ec275ab5053855dc95f9cc4f301d596c
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 13:06:22 2012 +0400

    radeon/llvm: add support for some ALU instructions
    
    Add support for IABS, NOT, AND, XOR, OR, UADD, UDIV, IDIV, MOD, UMOD, INEG,
    I2F, U2F, F2U, F2I, USEQ, USGE, USLT, USNE, ISGE, ISLT, ROUND, MIN, MAX,
    IMIN, IMAX, UMIN, UMAX
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9be193430a9c50975bc2ce4724e5cc517502467
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 13:02:46 2012 +0400

    radeon/llvm: add missing cases for BREAK/CONTINUE
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e740b60845b56f9bb08ae751d80b058a27c73d5a
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 12:50:25 2012 +0400

    radeon/llvm: add support for AHSR/LSHR/LSHL instructions
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95ed0e9b6b445c70e920d340818fc0f84d45233e
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 12:47:47 2012 +0400

    radeon/llvm: add support for TXQ/TXF/DDX/DDY instructions
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8a120485444968c930f0ab675473692b221cb75
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 20:26:32 2012 +0400

    radeon/llvm: add support for VertexID, InstanceID
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3e7ae732c903235a57760e10de542f128c1fe62
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 17:38:01 2012 +0400

    radeon/llvm: fix live-in handling for inputs
    
    Set the input registers as live-in for entry basic block.
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=757f471ba99446a942107fd9dba6bfbfe1652c14
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 20:24:13 2012 +0400

    radeon/llvm: add support for v4i32
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06db74a753bb71adf5370d3f1133c43ae40aec72
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 13:17:00 2012 +0400

    radeon/llvm: fix ABS_i32 instruction lowering
    
    Swap source operands.
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a6a1cd75fc98895569a34d5d7dfdc9e90381691
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 13:14:58 2012 +0400

    radeon/llvm: use integer comparison for IF
    
    Replacing "float equal to 1.0f" with "int not equal to 0".
    This should help for further optimization of boolean computations.
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a88dfc521bff7255e27e2ef8efcd08f9db53747
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon May 7 20:22:29 2012 +0400

    radeon/llvm: use bitcasts for integers
    
    We're using float as default type, so basically for every instruction that
    wants other types for dst/src operands we need to perform the bitcast
    to/from default float. Currently bitcast produces no-op MOV instruction,
    will be eliminated later.
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f8c37967a66da6bc63b283b3eba69fd48eba2f6
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon May 7 15:04:08 2012 -0400

    r600g: Fix out of tree builds that use the LLVM backend
    
    https://bugs.freedesktop.org/show_bug.cgi?id=49567

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c425c3823fbd475dc83211fef47f7ea58421ed17
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon May 7 13:53:40 2012 -0400

    radeon/llvm: Remove references to DebugFlag and isCurrentDebugType()
    
    These weren't being used at all and they were causing build failures
    when LLVM was built with NDEBUG defined and mesa was not.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=49110

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=714b4f6184db84a738cf2d063980f0e19ab03b4b
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Apr 26 06:35:56 2012 -0700

    i965/Gen7: Work around GPU hangs due to misaligned depth coordinate offsets.
    
    In i965 Gen7, Mesa has for a long time used the "depth coordinate
    offset X/Y" settings (in 3DSTATE_DEPTH_BUFFER) to cause the GPU to
    render to miplevels other than 0.  Unfortunately, this doesn't work,
    because these offsets must be aligned to multiples of 8, and miplevels
    in the depth buffer are only guaranteed to be aligned to multiples of
    4.  When the offsets aren't aligned to a multiple of 8, the GPU
    sometimes hangs.
    
    As a temporary measure, to avoid GPU hangs, this patch smashes the 3
    LSB's of "depth coordinate offset X/Y" to 0.  This results in
    incorrect rendering to mipmapped depth textures, but that seems like a
    reasonable stopgap while we figure out a better solution.
    
    Avoids GPU hangs in piglit test "depthstencil-render-miplevels" at
    texture sizes that are not powers of 2.
    
    Reviewed-by: Chad Verace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a683012a80a3408b3b71f22b2a97d9eaaac11a46
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Apr 26 06:35:56 2012 -0700

    i965/Gen6: Work around GPU hangs due to misaligned depth coordinate offsets.
    
    In i965 Gen6, Mesa has for a long time used the "depth coordinate
    offset X/Y" settings (in 3DSTATE_DEPTH_BUFFER) to cause the GPU to
    render to miplevels other than 0.  Unfortunately, this doesn't work,
    because these offsets must be aligned to multiples of 8, and miplevels
    in the depth buffer are only guaranteed to be aligned to multiples of
    4.  When the offsets aren't aligned to a multiple of 8, the GPU
    sometimes hangs.
    
    As a temporary measure, to avoid GPU hangs, this patch smashes the 3
    LSB's of "depth coordinate offset X/Y" to 0.  This results in
    incorrect rendering to mipmapped depth textures, but that seems like a
    reasonable stopgap while we figure out a better solution.
    
    (Note that we have only ever observed this GPU hang on Gen6 when HiZ
    is enabled, so another possible stopgap would be to disable HiZ).
    
    Avoids GPU hangs in piglit test "depthstencil-render-miplevels" at
    texture sizes that are not powers of 2.
    
    Reviewed-by: Chad Verace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9819a027d08b38abb380526bed9f2908ffeb507
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Apr 13 21:50:08 2012 -0700

    fbo: Only reuse depth/stencil attachments if the parameters match.
    
    When the user attaches a texture to one of the depth/stencil
    attachment points (GL_STENCIL_ATTACHMENT or GL_DEPTH_ATTACHMENT), we
    check to see if the same texture is also attached to the other
    attachment point, and if so, we re-use the existing texture
    attachment.  This is necessary to ensure that if the user later
    queries what is attached to GL_DEPTH_STENCIL_ATTACHMENT, they will not
    receive an error.
    
    If, however, the user attaches buffers to the two different attachment
    points using different parameters (e.g. a different miplevel), then we
    can't re-use the existing texture attachment, because it is pointing
    to the wrong part of the texture.  This might occur as a transitory
    condition if, for example, if the user attached miplevel zero of a
    texture to GL_STENCIL_ATTACHMENT and GL_DEPTH_ATTACHMENT, rendered to
    it, and then later attempted to attach miplevel one of the same
    texture to GL_STENCIL_ATTACHMENT and GL_DEPTH_ATTACHMENT.
    
    This patch causes Mesa to check that GL_STENCIL_ATTACHMENT and
    GL_DEPTH_ATTACHMENT use the same attachment parameters before
    attempting to share the texture attachment.
    
    On i965 Gen6, fixes piglit tests
    "texturing/depthstencil-render-miplevels 1024 depth_stencil_shared"
    and "texturing/depthstencil-render-miplevels 1024
    stencil_depth_shared".
    
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ec0e55b63db3c1067f3bbf4563beb3b98a19288
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Sun Apr 15 10:35:01 2012 -0700

    i965: Fix mipmap offsets for HiZ and separate stencil buffers.
    
    When rendering to a miplevel other than 0 within a color, depth,
    stencil, or HiZ buffer, we need to tell the GPU to render to an offset
    within the buffer, so that the data is written into the correct
    miplevel.  We do this using a coarse offset (in pages), and a fine
    adjustment (the so-called "tile_x" and "tile_y" values, which are
    measured in pixels).
    
    We have always computed the coarse offset and fine adjustment using
    intel_renderbuffer_tile_offsets() function.  This worked fine for
    color and combined depth/stencil buffers, but failed to work properly
    when HiZ and separate stencil were in use.  It failed to work because
    there is only one set of fine adjustment controls shared by the HiZ,
    depth, and stencil buffers, so we need to choose tile_x and tile_y
    values that are compatible with the tiling of all three buffers, and
    then compute separate coarse offsets for each buffer.
    
    This patch fixes the HiZ and separate stencil case by replacing the
    call to intel_renderbuffer_tile_offsets() with calls to two functions:
    intel_region_get_tile_masks(), which determines how much of the
    adjustment can be performed using offsets and how much can be
    performed using tile_x and tile_y, and
    intel_region_get_aligned_offset(), which computes the coarse offset.
    
    intel_region_get_tile_offsets() is still used for color renderbuffers,
    so to avoid code duplication, I've re-worked it to use
    intel_region_get_tile_masks() and intel_region_get_aligned_offset().
    
    On i965 Gen6, fixes piglit tests
    "texturing/depthstencil-render-miplevels 1024 X" where X is one of
    (depth, depth_and_stencil, depth_stencil_single_binding, depth_x,
    depth_x_and_stencil, stencil, stencil_and_depth, stencil_and_depth_x).
    
    On i965 Gen7, the variants of
    "texturing/depthstencil-render-miplevels" that contain a stencil
    buffer still fail, due to another problem: Gen7 seems to ignore the 3
    LSB's of the tile_y adjustment (and possibly also tile_x).
    
    v2: Removed spurious comments.  Added assertions to check
    preconditions of intel_region_get_aligned_offset().
    
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c0f5d8324c4db2720247989ddc4a45315b55a85
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Thu May 3 16:02:50 2012 -0700

    intel: Disable ARB_framebuffer_object in ES contexts
    
    This patch removes ARB_framebuffer_object from the GLES1 and GLES2
    extension lists in intel_extensions_es.c.
    
    Fixes a crash in the Android browser on Ice Cream Sandwich.
    
    The Android browser crashed because it did the following, which is legal
    in GLES2 but not in ARB_framebuffer_object.
        glGenFramebuffers(1, &fb);
        glBindFramebuffer(GL_FRAMEBUFFER, fb);
        // render render render...
        glDeleteFramebuffers(1, &fb);
        // go do other stuff...
        glBindFramebuffer(GL_FRAMEBUFFER, fb);
        // This bind unexpectedly failed, and the app panics.
    
    The semantics of glBindFramebuffer specified by ARB_framebuffer_object (a
    desktop GL extension) and GLES2 specs are incompatible. The ideal solution
    to fix this is to create separate API entry points for glBindFramebuffer,
    one for GL and the other for GLES2. But, until that work is complete,
    disabling ARB_framebuffer_object in GLES2 contexts safely fixes the problem.
    
    Likewise, the semantics of glBindFramebuffer in ARB_framebuffer_object and
    of glBindFramebufferOES in OES_framebuffer_object (a GLES1 extension) are
    incompatible. Even though the functions have different names, the semantic
    difference still results in a bug because both API calls are implemented
    by a single function, _mesa_BindFramebufferEXT, which handles the semantic
    difference incorrectly. Again, disabling ARB_framebuffer_object in GLES1
    contexts safely fixes this problem.
    
    According to the ARB_framebuffer_object spec, the extension is an
    amalgamation of
        EXT_framebuffer_object
        EXT_framebuffer_blit
        EXT_packed_depth_stencil
        EXT_framebuffer_multisample
    By disabling this extension, however, no functionality is removed from
    GLES1 and GLES2 contexts because 1) the first three extensions are
    explicitly enabled in Intel's ES extension lists and 2) no functionality
    of the last extension is exposed in an ES context.
    
    Note: This is a candidate for the 8.0 branch.
    See-also: http://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg21006.html
    CC: Charles Johnson <charles.f.johnson at intel.com>
    CC: Sean Kelley <sean.v.kelley at intel.com>
    Reviewed-by: Ian Romanick <idr at freedesktop.org>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64c510bb72c7b81eb1fd96df47bdf62817a09fa7
Author: Brian Paul <brianp at vmware.com>
Date:   Mon May 7 07:30:04 2012 -0600

    mesa: bump version to 8.1.0 in configs/default

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecc7e5e85b65bf7c87e31126f893065d4466246a
Author: Marcin Slusarz <marcin.slusarz at gmail.com>
Date:   Mon May 7 14:05:35 2012 +0200

    nv50: handle VP without inputs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c19672f90a653a8bd6adcc35e294b7150b34f9e7
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 5 17:57:50 2012 +0200

    nvc0/ir: allow abs,neg source modifiers with ceil,floor,trunc

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28d6a268af3587cedb6a0e9deee7a98ecc8f82ba
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 5 16:35:49 2012 +0200

    nv50/ir/opt: don't lose saturation in tryCollapseChainedMULs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38a20281fcc2ed244aea0aaa268035533f48a183
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 5 13:30:03 2012 +0200

    nvc0/ir: fix lowering of textureGrad

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9dfac63ae0a8759e05dbde20c2cea05afc121def
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 5 13:28:19 2012 +0200

    nouveau: fix nouveau_scratch_runout_release bo count underflow

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5795d3b5aec767dc2d7901b432f9182121b8e46f
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Tue May 1 00:01:08 2012 -0700

    mesa: Add primitive restart support to glArrayElement
    
    When primitive restart is enabled, and glArrayElement is called
    with the restart index value, then call glPrimitiveRestartNV.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Brian Paul<brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ad0bc5af5679c1ea669a768449bec3fd67fdd74
Author: Baldo Davide <baldosoft at gmail.com>
Date:   Sat May 5 04:50:19 2012 +0100

    auxiliary/os: Add missing signal.h include.
    
    The signal.h include was missed in the commit
    bc16c73407d11bb6702cf7de9925bfaeb80a5272 which leads to broken
    compilations under Linux.
    
    Signed-off-by: José Fonseca <jose.r.fonseca at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cd7bee48f7caf7850ea64d40f43875d4c975507
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Mar 5 13:54:29 2012 -0800

    intel: Remove pointless software fallback for glBitmap on Gen6.
    
    We already have a meta path below that works just fine; no apparent
    regressions in oglconform.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46834
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4595288ba844def45cc858fab44fad3efa1ab4c8
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Apr 23 17:24:13 2012 -0700

    glsl: Fix regression in function out-parameter lvalue detection.
    
    When doing the var->assigned change in
    f2475ca424f7e001be50f64dafa5700f6603d684, I overzealously indented the
    second block of code into the "if (var)" test.  Revert these blocks to
    the way they were before, just taking advantage of "var" to avoid
    re-calling variable_referenced().
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49066

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3362c7d9b61462855f1e7d67da5d255de1b6ee7e
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Apr 23 17:12:04 2012 -0700

    mesa: Prevent buffer underrun when handling MESA_GL_EXTENSION_OVERRIDE.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc42910e98dc00760255cc4579da458de09175b9
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Apr 23 16:48:09 2012 -0700

    i965/fs: Fix regression in comparison handling from ANDs change.
    
    I had fixed up the logic ops for delayed ANDing, but not equality
    comparisons on bools.  Fixes new piglit fs-bool-less-compare-true.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48629

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2ee5a08bae6cdbbdafc1f1d9d6f3afbad2f7944
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Apr 23 16:10:12 2012 -0700

    glsl: Don't consider unused FS out variables as being statically assigned.
    
    I only considered var->assigned for FragColor and FragData, but
    ignored when it was false for out vars.  Fixes piglit
    write-gl_FragColor-and-not-user-output.frag
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49068

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcd57280ae687d6b7c11cb8ac8fb8cc4f01a646d
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Apr 23 09:46:15 2012 -0700

    i965: Add a comment about the state flag for sRGBEnabled.
    
    I thought this might be _NEW_COLOR, but it isn't.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7406404aba1817d5a87714f97a108a755943452
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Apr 23 14:14:11 2012 -0700

    intel: Return success when asked to allocate a 0-width/height renderbuffer.
    
    It seems silly that GL lets you allocate these given that they're
    framebuffer attachment incomplete, but the webgl conformance tests
    actually go looking to see if the getters on 0-width/height
    depth/stencil renderbuffers return good values.  By failing out here,
    they all got smashed to 0, which turned out to be correct for all the
    getters they tested except for GL_RENDERBUFFER_INTERNAL_FORMAT.  Now,
    by succeeding but not making a miptree, that one also returns the
    expected value.
    
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6508b0b9b0981662b9ae5bc559b4a6be524f7b86
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Apr 25 14:59:25 2012 -0700

    glsl: Always copy the index when cloning a variable.
    
    The index is also used for GL_ARB_blend_func_extended.  Cloning in
    i965 was dropping a non-ARB_explicit_attrib_location index.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7932e183c15a224adc4b04835f82f3c867a4a24
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Apr 25 13:19:28 2012 -0700

    i965: Add support for GL_ARB_draw_buffers_blend.
    
    Tested with piglit fbo-draw-buffers-blend and intel oglconform.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ef549d7cd9aa14ab7c404609f38e2e6195b4335
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Fri May 4 17:40:33 2012 +0200

    nv50: fix typo causing NULL-deref in nv50_resource_resolve
    
    Introduced in b328949a37fee7b0f68ed3e068ffc4426c083042.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dffc2fb4e659f41b30e80e23ceb833d53417fb8e
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Fri May 4 18:00:40 2012 +0200

    nv50/ir: move expansion of IMUL to later stage and handle memory operands

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=02fac2930581b9bea9f6d221eb6d6b471fc3b9c6
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu May 3 12:50:08 2012 +0200

    nv50: implement stream output

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a44ecdae8bde4767a6eea9b641d4fbe378a9269
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Tue Apr 24 23:21:41 2012 +0200

    nv50: enable array textures

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c66dc0ea8ecfa3048189648b5092de99a943d82d
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Apr 30 16:01:08 2012 -0600

    svga: specify 4-byte aligned vertex elements
    
    We haven't found a case where this is needed, but it would be prudent
    for some hosts, per Jose.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e039fd079b8089d2cc0204fab732cd3b5e96cca5
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 3 17:00:37 2012 -0600

    gallivm: fix comment typo

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0c380a7442a932edce03e0ddcf98af9d3e76f51
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 1 15:49:31 2012 -0600

    docs: another viewperf bug

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a36581ccc06693231011c3fe136207e73191b1ce
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 1 14:46:04 2012 -0600

    mesa: do more teximage error checking for generic compressed formats
    
    When glTexImage or glCopyTexImage is called with internalFormat being a
    generic compressed format (like GL_COMPRESSED_RGB) we need to do the same
    error checks as for specific compressed formats.  In particular, check if
    the texture target is compatible with the format.  None of the texture
    compression formats we support so far work with GL_TEXTURE_1D, for example.
    
    See also https://bugs.freedesktop.org/show_bug.cgi?id=49124
    
    NOTE: This is a candidate for the 8.0 branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5cc4b4aaf43d038a2788522613f283e5f4b9182d
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Mon Apr 30 18:57:38 2012 -0700

    scons: Do not build EGL on Solaris.
    
    The current EGL headers do not support Solaris.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51691f0767f6a75a1f549cd979a878a0ad12a228
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Sat Apr 28 23:19:42 2012 -0700

    darwin: Use ASL for logging
    
    Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf5db0a418b63d71385b43897a7ea9be7bb785d1
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Sat Apr 28 16:50:00 2012 -0700

    darwin: Make reported errors more user-friendly
    
    Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=244dc0521439379a0a44f81ba432aa04ca6c1a91
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Sun Apr 29 00:27:03 2012 -0700

    darwin: Fix an error message
    
    Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c384c5d4d733244c9922638eebb20b05f465df62
Author: Robert Hooker <sarvatt at ubuntu.com>
Date:   Wed May 2 19:04:57 2012 -0400

    egl_dri2: Fix out of tree builds with the wayland backend enabled
    
    Otherwise it fails like so:
    
      CC     egl_dri2.lo
    In file included from egl_dri2.h:40:0,
                     from egl_dri2.c:42:
    ../../../../../../src/egl/wayland/wayland-drm/wayland-drm.h:8:41:
    fatal error: wayland-drm-server-protocol.h: No such file or directory
    compilation terminated.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4fddb2ba21add1c1968330e5224ecead59da3995
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed May 2 15:30:13 2012 -0400

    gbm: Add gbm_bo_write entry point
    
    This new gbm entry point allows writing data into a gbm bo.  The bo has
    to be created with the GBM_BO_USE_WRITE flag, and it's only required to
    work for GBM_BO_USE_CURSOR_64X64 bos.
    
    The gbm API is designed to be the glue layer between EGL and KMS, but there
    was never a mechanism initialize a buffer suitable for use with KMS
    hw cursors.  The hw cursor bo is typically not compatible with anything EGL
    can render to, and thus there's no way to get data into such a bo.
    
    gbm_bo_write() fills that gap while staying out of the efficient
    cpu->gpu pixel transfer business.
    
    Reviewed-by: Ander Conselvan de Oliveira <conselvan2 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4789860c4416ba700ac5edeb692b59e33d45276
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon Apr 30 10:18:41 2012 -0400

    r600g/llvm: Mask write of pred_inst in llvm_if()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e522bd201e7cba526e19f7f0422d5cf781be6e8
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Apr 27 16:22:58 2012 -0400

    r600g/llvm: Lower ULT A, B, C to SETGT_UINT A, C, B

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2e08a40f5144a3533de9c3ede422a34b7a44255
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Apr 27 15:26:30 2012 -0400

    r600g: Print integer values of literal constants in shader dumps

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18617d7423b2c12aac9adbb8354fbf5d0c8ddfea
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Apr 27 15:15:19 2012 -0400

    r600g: Add support for reading BREAK_LOGICALZ_i32 from bytestream

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddb4dac13341d5b33b9e129ecb0e2abec30a27b6
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Tue Apr 24 13:31:07 2012 -0400

    r600g/llvm: Don't duplicate R600 intrinsics installed by LLVM
    
    At this point, in order for OpenCL to work correctly with r600g, OpenCL
    specific intrinsics need to be defined in the LLVM tree.  So, we need
    to check for these intrinsics in the LLVM include directory to make sure
    not to re-define them.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bd3dafeca90f1293acd9b9ab63bf617139bfacf
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed May 2 14:51:04 2012 -0400

    r600g: Fix the evergreen offset/end register definitions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5a10dba6464d6cc40b3abcd6b704fb087e1056c
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Apr 2 16:26:05 2012 +0000

    glsl: report errors via GL_ARB_debug_output
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c99906cf5c8825ada0699f61926864e568ca69a
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Apr 2 16:14:31 2012 +0000

    glsl: add gl_context member
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=58fee81c78c95b1b086aa39aa4e26762c8943680
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Apr 2 16:11:11 2012 +0000

    mesa: add _mesa_shader_debug()
    
    This should be the one entrypoint libglsl needs
    for GL_ARB_debug_output.
    
    v2: added comments.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48e8a010aebbb40c75698e2aa8854d129c89f359
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Apr 2 15:39:38 2012 +0000

    glsl: consolidate error/warning code
    
    And lay the groundwork for GL_ARB_debug_output.
    
    v2: Add descriptive comments.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8fb30abf1131072c855f2539db6455fac65dcb0
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed May 2 11:53:13 2012 -0400

    radeon/llvm: Fix MachineInstr dump

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4731f1f52d4085f2ff35dcf58cb129f79d97a0b6
Author: Adam Rak <adam.rak at streamnovation.com>
Date:   Tue Apr 17 15:56:02 2012 -0400

    r600g: fixed the bug with VTX fetches in TEX clauses for evergreen
    
    Signed-off-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0f6274489d4e4b9ce48cc377f502b0ccf64fae6
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Tue Mar 20 13:33:37 2012 -0400

    winsys/radeon: Get max_pipes from the kernel
    
    Signed-off-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e42df8e10a83e76565474f82330d34403da71b49
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Feb 29 16:37:53 2012 -0500

    r600g: Add support for reading vertex fetches from bytestream
    
    Signed-off-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f50f939ef85bb058c1401b5dad8340aa4f96aec
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon Feb 27 15:47:34 2012 -0500

    r600g: Add support for reading native instructions from the LLVM bytestream
    
    Signed-off-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94a6a363792e8cb57a9f15778a3f3440d5b754ab
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon Feb 27 15:42:48 2012 -0500

    r600g: Add FC_NATIVE instruction
    
    This is a pseudo instruction that enables the LLVM backend to encode
    instructions and pass it through r600_bytecode_build()
    
    Signed-off-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a26454e979251db25bab68685835fa32c099429
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Apr 22 20:51:43 2012 +0100

    r600g: bypass alpha for integer types (v2)
    
    This moves the alpha test control to derived state and disables alpha
    testing for integer fbs.
    
    fbo-blending test in piglit gets further when we do this (not a pass
    but less fail).
    
    v2: drop the fb_sx_alpha_test_control
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=494619ebacb632a879ebeecf0a1d732c10ddf25b
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Apr 25 16:35:05 2012 +0100

    gallivm: Use debug_printf in lp_build_printf.
    
    So that its output can be seen on GUI window apps.
    
    Tested-by: James Benton <jbenton at vmware.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ad2cb18857c1cd75ab073e8662700d1761c20ac
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Feb 23 09:48:08 2012 +0000

    gallivm: Avoid LLVMAddGlobalMapping() in lp_bld_assert().
    
    Brittle, complex, and unecesary. Just use function pointer constant.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cd76b800bed70435f499c6c498a487a5056a731
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Feb 23 09:21:26 2012 +0000

    gallivm: Add a lp_build_const_func_pointer() helper.
    
    To be reused in all places where we want to call C code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0005bd9da2b343accad423708eba36a00035c7ee
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Feb 23 09:44:41 2012 +0000

    gallivm: Cleanup/simplify lp_build_const_string_variable.
    
    - Move to lp_bld_const where it belongs
    - Rename to lp_build_const_string
    - take the length from the argument (and don't count the zero terminator twice)
    - bitcast the constant to generic i8 *

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c23fd547c060c4137eab0f878a1028c5903384eb
Author: James Benton <jbenton at vmware.com>
Date:   Wed Apr 25 11:19:07 2012 +0100

    gallivm: Added lp_build_const_mask_aos_swizzled
    
    Allows the creation of const aos masks which have the mask swizzled
    to match the correct format.
    
    Updated existing mask creation code to use the swizzled version where
    necessary (tgsi register masks and llvmpipe aos blending).
    
    Signed-off-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d1f414103bb294d30cac8fecddff0b2ab694810
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Apr 25 15:49:45 2012 +0100

    gallivm: Move loop var declaration to beginning of scope.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f64fe7d333ef5f00f1d13d19c9b986abe21a524c
Author: James Benton <jbenton at vmware.com>
Date:   Thu Apr 19 18:13:14 2012 +0100

    gallivm: added a debug function which allows llvm to print vectors of 16 unsigned ints
    
    This is useful for debugging the linear llvm path as it handles pixels in this format
    
    Signed-off-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16b081f1b0acf3158423c9fbed69c85807ce5276
Author: James Benton <jbenton at vmware.com>
Date:   Thu Apr 19 18:13:13 2012 +0100

    llvmpipe: add masking support to aos blend
    
    Signed-off-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bc58d941ac32d10c6b4c601e0c4c6e00876d738
Author: James Benton <jbenton at vmware.com>
Date:   Wed Apr 25 11:19:06 2012 +0100

    llvmpipe: Check when a shader does not satisfy 0 < imm < 1.
    
    Signed-off-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c426e63aa064debc23f9819c3862f357f1726bce
Author: James Benton <jbenton at vmware.com>
Date:   Tue May 1 16:56:30 2012 +0100

    gallivm: fixed memory leak in lp_build_tgsi_aos
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b0f4628d6fb8276a9f1c336a785a838b602bca8
Author: James Benton <jbenton at vmware.com>
Date:   Wed Apr 18 15:25:34 2012 +0100

    llvmpipe: Added support for color masks in AoS blending.
    
    Signed-off-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=85d09d1c61d3e5ab2c2ae6fc74a30ea6a572f25e
Author: James Benton <jbenton at vmware.com>
Date:   Thu Apr 19 13:13:17 2012 +0100

    gallivm: added aligned pointer get/set

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=630fa2688634365c03edf2a189cf9225899fbcc5
Author: James Benton <jbenton at vmware.com>
Date:   Thu Apr 19 13:02:57 2012 +0100

    gallivm: llvm c-style for loops, allows us to create loops with conditions on entry, rather than condition check on loop

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83a02427e576a5126a618c13bc3e12ff2b4a3e0a
Author: Viktor Novotný <noviktor at seznam.cz>
Date:   Tue May 1 15:23:51 2012 +0200

    dri/nv10-nv20: Add support for S3TC
    
    Signed-off-by: Viktor Novotný <noviktor at seznam.cz>
    Signed-off-by: Francisco Jerez <currojerez at riseup.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d5efe96ee710ca1dd5f745f74a5bbfa4fd42fd9
Author: Viktor Novotný <noviktor at seznam.cz>
Date:   Tue May 1 15:23:50 2012 +0200

    dri/nouveau: Add general support for compressed formats.
    
    Signed-off-by: Viktor Novotný <noviktor at seznam.cz>
    Signed-off-by: Francisco Jerez <currojerez at riseup.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b389b608d8d853c1f9383b04a222d96a5a096178
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 1 14:46:12 2012 -0700

    glsl: Remove some completed tasks from the old "TODO" file.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d742d812d82ef61de1f41a18c8251db9b001bdd1
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Tue May 1 16:40:53 2012 -0400

    radeon/llvm: Fix build for updated LLVM 3.1 release branch

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07f5dabc01e9a85073ffd333c37549ec5ae75c7a
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Apr 25 10:50:06 2012 -0600

    softpipe: use any_swizzle() helper in sp_tex_sample.c
    
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5e44c2cfb93ff0cfc6141dda6bdaa59a11a5920
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Apr 25 10:46:09 2012 -0600

    softpipe: whitespace, comment clean-ups in sp_tex_sample.c
    
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=92d899303a0498e53b66fe19658a2f7fd6dc9a26
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Apr 25 10:42:42 2012 -0600

    softpipe: implement coord clamping for texel fetches (TXF)
    
    The GL spec says out of bounds fetches produce undefined results.
    Use clamping to avoid failed assertions or crashes.
    
    Fixes failed assertion in https://bugs.freedesktop.org/show_bug.cgi?id=49125
    but the test still fails.
    
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b610d55160cf77b8d8de0a7bc58c75985ba8747
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Apr 20 07:58:59 2012 -0600

    xlib: use _mesa_is_winsys/user_fbo() helpers
    
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4433b0302d0aa9dc61002e8bb4fd1b752b0be338
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Apr 20 07:58:59 2012 -0600

    intel: use _mesa_is_winsys/user_fbo() helpers
    
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=264b584294dc1c00c53f6a0622b7e6e55e8dce37
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Apr 20 07:58:59 2012 -0600

    nouveau: use _mesa_is_winsys/user_fbo() helpers
    
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47941bfaea6e8a60e2c31f7a2c8c233f2a10ecb1
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Apr 20 07:58:59 2012 -0600

    radeon: use _mesa_is_winsys/user_fbo() helpers
    
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff10dbf35f1c083d38bbdbec30cadf6703b609e5
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Tue May 1 13:08:26 2012 -0400

    radeon/llvm: Add subtarget feature: DumpCode
    
    With this feature enabled, the LLVM backend will dump the MachineIntrs
    prior to emitting code.  The mesa env variable R600_DUMP_SHADERS will enable
    this feature in the backend.




More information about the mesa-commit mailing list