Mesa (pipe-video): 110 new commits

Christian König deathsimple at kemper.freedesktop.org
Sun May 22 20:44:23 UTC 2011


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=311eb749a1ab7ffd417bc456345d63eba75e3fec
Author: Christian König <deathsimple at vodafone.de>
Date:   Sun May 22 18:36:47 2011 +0200

    [g3dvl] rework resource format handling

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5705fb1dca061b097e568687101af396ec9e8d4c
Author: Christian König <deathsimple at vodafone.de>
Date:   Sun May 22 18:28:09 2011 +0200

    r600g: revert commit 36b322dffd2429130f132f55f68acb1a23ba1658 for now
    
    Disable scaled textures, since they didn't work 100% right now.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa63ebc48a2ee1ee9afbf2112d4d25e8a9a8d1e8
Merge: 120b55a96e30f1f74ba3448665cef3d724fed647 3c5e74186244f2d77cc711d2b487283459ed06ad
Author: Christian König <deathsimple at vodafone.de>
Date:   Sat May 21 16:43:12 2011 +0200

    Merge remote-tracking branch 'origin/master' into pipe-video

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c5e74186244f2d77cc711d2b487283459ed06ad
Author: Christian König <deathsimple at vodafone.de>
Date:   Sat May 21 15:37:29 2011 +0200

    r600g: fix "Fixed-Point Data Conversions"
    
    According to OpenGL 3.1 chapter 2.1.5 the representation without zero
    should only be used for vertex attribute values, but not for textures
    or frame-buffers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=120b55a96e30f1f74ba3448665cef3d724fed647
Author: Christian König <deathsimple at vodafone.de>
Date:   Sat May 21 15:37:29 2011 +0200

    r600g: fix "Fixed-Point Data Conversions"
    
    According to OpenGL 3.1 chapter 2.1.5 the representation without zero
    should only be used for vertex attribute values, but not for textures
    or frame-buffers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9be8524af753791d26fbd65417c5380b4d934296
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri May 20 16:25:59 2011 -0700

    i965: Fix sampling on Ivybridge after headerless change.
    
    Fixes a regression since 90e922267a89fa9bef254bb257405531ceff7356.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24de02acaca2ed2e5149a6a026b8707cd0d6d27f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri May 20 16:28:29 2011 -0700

    i965: Remove "TXD" from justification of sampler message headers.
    
    The coordinate offsets set in the m1 header are for textureOffset;
    they have nothing to do with textureGrad (TXD).
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e48560926d43dfa8fbc148d0f1f6a3063fede48
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed May 18 16:28:28 2011 -0700

    i965/gen7: Add support for rendering to depthbuffer mipmap levels > 0.
    
    The same as 3e43adef95ee24dd218279d2de56939b90edcb4c but for Gen7.
    
    This doesn't quite fix GL_ARB_depth_texture/fbo-clear-formats; there's
    still a 1 pixel wide black line on the right edge of the smaller squares.
    
    The results were entirely wrong before, and are at least close now.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=733fa000ce6792cb4f4d50537040441bdd8c6341
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Fri May 13 13:03:13 2011 +0200

    st/egl: Add support for EGL_DRM_BUFFER_USE_CURSOR_MESA

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea90eca44b790119f0d1fbe45cac120a374cb0ca
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Fri May 13 11:55:15 2011 +0200

    st/dri: Support dri2 useflags in dri2_create_image

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca79036fe8170a87fe8118fb812320c2536b6d46
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Fri May 20 09:33:47 2011 +0200

    st/egl/wayland: Deal with wayland visual changes
    
    Since wayland 4bde293ff8109d55eeaee8732f5a6ee0c8cd4bd9 we cant
    lookup visuals, as we dont receive the visual token events.
    
    The format for pixmap-images thus has to default to argb for now.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e7d4d4e0c74bff105a66c0cd0f427e2b287c9e3
Author: Thierry Reding <thierry.reding at avionic-design.de>
Date:   Fri May 20 08:26:18 2011 +0200

    mesa: Emit definition of GLAPIENTRYP in es_generator.py.
    
    GLES uses GL_APIENTRYP instead of GLAPIENTRYP, which breaks with the
    latest API table generation code. This fixes the issue by emitting a
    definition for GL_APIENTRYP when generating the GLES files.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=075d2bfb72916bf59caae98dccdc211b929bb5e8
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu May 19 17:44:06 2011 +0100

    glapi: More type-checking in Get_xxx too.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a436b3b2d4524447c59d8f4003895d626cab309c
Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri May 20 11:54:18 2011 +0100

    gallivm: Fix for dynamically linked LLVM 2.8 library.
    
    This prevents the error
    
        prog: for the -disable-mmx option: may only occur zero or one times!
    
    when creating a new context after XCloseDisplay with DRI drivers linked
    with a shared LLVM 2.8 library.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f59b321784e7c16bc91696303886c1ce7270960
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 19 21:23:39 2011 -0600

    r300: move declaration before code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38f89c7008b5ed9a70439f4e6590f00a4e220b10
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 19 19:40:32 2011 -0600

    st/glx: define/set new ST_CONTEXT_FLAG_bits

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1929d52fd907b4e42e31ad459dd50a1de53df26c
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 19 19:31:01 2011 -0600

    st/glx: pass major, minor, context flags, etc to XMesaCreateContext()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1cd1cc871b79cce52ccd033c53fa57e410c9a6a
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 19 19:27:51 2011 -0600

    st/glx: implement glXCreateContextAttribsARB()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81183b1e3e6a23987817c4b29ab15bc37eae9711
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 19 19:25:49 2011 -0600

    st/glx: pass version, context flags, etc to create_context()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7be3e507317a0e731fef91a1505f8500e8d1c050
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 19 19:21:21 2011 -0600

    st/glx: refactor create-context functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=43bdabd47d98975b56a759954fb5f37d2942c101
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 18 16:19:06 2011 -0600

    mesa: fix vertex array enable checking in check_valid_to_render()
    
    In particular, this fixes the case where a vertex shader only uses
    generic vertex attributes (non-0th).  Before, we were no-op'ing the
    glDrawArrays/Elements().
    
    This fixes the new piglit pos-array test.
    
    NOTE: This is a candidate for the 7.10 branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be0a2f62f3a5bc6f05c3c7c6b674f2688aee031d
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Thu Apr 14 23:36:51 2011 +0200

    mesa: handle some srgb cases in the fast path in _mesa_get_teximage
    
    Previously, always did unorm8->float/nonlinear-to-linear conversion (using
    lookup table), then convert back to nonlinear (using the expensive math
    func pow among others), and finally convert back to int (assuming caller
    wants unorm8), because the float texture fetch function is used for getting
    the actual texel values. This should probably all be changed at some point,
    but for now simply enable the memcpy path also for srgb formats (but if for
    instance swizzling is required, still the whole conversion will be done).

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=339544f4bbef9be1b4b3465f28482b9699a99692
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed May 11 15:28:19 2011 -0400

    wayland-drm: Use new generic error event

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec4dfc2aad16ed3d04f47657e9f2cb22e791d511
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu May 19 16:49:49 2011 +0100

    glapi: Implement SET_xxx as inline functions instead of macros.
    
    In order to have the benefit of type checking, and detect missing
    GLAPIENTRY keywords on public entrypoints.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4a98688113ef189ed2017b12d41915e2bc034de
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu May 19 16:39:57 2011 +0100

    mesa: add another missing GLAPIENTRY keyword
    
    NOTE: this is a candidate for the 7.10 branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=116133af3499947500a6d0c877fbc8f564ee4c76
Author: Maxim Levitsky <maximlevitsky at gmail.com>
Date:   Thu May 19 12:50:28 2011 +0200

    nv50: add support for user clip planes
    
    Clip distance is calculated each time vertex position is written
    which is suboptiomal is some cases but very safe.
    User clip planes are an obsolete feature anyway.
    
    Every time number of clip planes increases, the vertex program
    is recompiled.
    That ensures no overhead in normal case (no user clip planes)
    and reasonable overhead otherwise.
    
    Fixes 3D windows in compiz, and reflection effect in neverball.
    Also fixes compiz expo plugin when windows were dragged and each
    window shown 3 times.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfaa458445978b5210e6866256d19448db2c6dd0
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Mon May 16 16:29:53 2011 -0400

    wayland: Fix link order for libwayland-drm.a

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e43adef95ee24dd218279d2de56939b90edcb4c
Author: Eric Anholt <eric at anholt.net>
Date:   Fri May 13 12:13:40 2011 -0700

    i965: Add support for rendering to depthbuffer mipmap levels > 0.
    
    Fixes
    GL_ARB_depth_texture/fbo-clear-formats
    GL_EXT_packed_depth_stencil/fbo-clear-formats

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a98dd64af750fb6dae54b2dc02e0c5a3711156af
Author: Eric Anholt <eric at anholt.net>
Date:   Fri May 13 11:54:15 2011 -0700

    i965: Stop caching the combined depth/stencil region in brw_context.c.
    
    This was going to get in the way of separate depth/stencil (which
    wants to know about both, and whether they are the same rb), and also
    wasn't a sufficient flag for the fix in the following commit.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64f8ddaf9b89e99396862fa38af631dd08b8c0c5
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 12 14:19:51 2011 -0700

    i965/gen6: Add support for point min/max size from ARB_point_parameters.
    
    Fixes glean pointAtten.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=90e922267a89fa9bef254bb257405531ceff7356
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 12 10:30:23 2011 -0700

    i965/fs: Don't emit a header on gen5+ sample messages unless required.
    
    Improves glbenchmark egypt performance 0.6% +/- 0.4% (n=6).
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bbc7915f16a8b0dcead3f34aa1b4f0328147bea
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 12 08:49:53 2011 -0700

    i965/fs: Fix GPU hang on texture2d-bias on pre-Ironlake.
    
    In the 16-wide rework, I missed that we were setting some things to be
    SIMD16 mode (corresponding to their setup in emit_texture_gen4()).
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b126a0c0cb30b1e2f2df1953fe14d8596d1cf4f7
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Nov 2 09:11:17 2010 -0700

    i965: Add support for correct GL_CLAMP behavior by clamping coordinates.
    
    This removes the stupid strict-conformance fallback code I broke when
    adding ARB_sampler_objects.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36572
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7592f005608e6c03d53c18d27d9af84bde802014
Author: Eric Anholt <eric at anholt.net>
Date:   Wed May 11 13:08:03 2011 -0700

    i965/fs: Drop the viewport index/rtai clearing in gen6 fb writes.
    
    These fields are documented to be in the payload, and though the FB
    write docs say they *aren't* in the payload, for all other fields the
    payload and header is structured so that no overwriting is required
    except for non-default options.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=136eb2bde769713b100351ff96bceb970f068c0a
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 10 12:55:12 2011 -0700

    i965/fs: Add support for "if" statements in 16-wide mode on gen6+.
    
    It turns out there's nothing in the hardware preventing this.  It
    appears that it ought to work on pre-gen6 as well, but just produces
    GPU hangs.
    
    Improves glbenchmark Egypt framerate 4.4% +/- 0.3% (n=3), and Pro by
    2.6% +/- 0.6% (n=3).
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27b03926618ddcafabb7b61e652fe6458b017b24
Author: Eric Anholt <eric at anholt.net>
Date:   Wed May 11 12:43:28 2011 -0700

    i965/fs: Fix discard and alpha test in 16-wide.
    
    As of gen6, alt-mode (which we use) MOVs of floats are not raw --
    they'll modify infs/nans.  This broke discard and alpha test in
    16-wide, where apparently the upper 8 bits of the pixel enables being
    set were causing the whole value to get trashed upon being moved.
    Treating the values as UD instead of float makes sure they get
    preserved.  While I'm here, replace the two 8-wide moves of the halves
    of the header with a single compressed move.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36648
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=367020d87ce8c27aeb58b3887fbd29d216fdc151
Author: Eric Anholt <eric at anholt.net>
Date:   Wed May 11 14:07:44 2011 -0700

    i965/gen6: Fix blending state when no color buffer is bound.
    
    This is part of fixing fbo-alphatest-nocolor -- a regression in
    35e8fe5c99b285f348cb8a1bba2931f120f7c0a1 after the initial regression,
    that had us using a garbage BLEND_STATE[0] (in particular, the alpha
    test enable) if no color buffer was bound.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51761a1aefd31b7df12edd9467ac630b9cbbbbc9
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 10 15:30:11 2011 -0700

    i965/fs: Cut an instruction and a temporary from gen6 discard statements.
    
    I thought I was thwarted initially when I couldn't do conditional mod
    on a MOV, and couldn't use two immediate constants in one instruction.
    But g0 != g0 is also a way to produce a failing comparison.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5dd5be69f099211db027b6e39150cacefcfdf8b6
Author: Eric Anholt <eric at anholt.net>
Date:   Mon May 9 14:58:39 2011 -0700

    i965/fs: Fix compiler warnings about dead code from 963431829055f63ec94d

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61c67eca7dbcef4b7b1398f5a9e0193597f304ed
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed May 18 18:00:55 2011 +0100

    gallivm: Tell LLVM to not assume a 16-byte aligned stack on x86.
    
    Fixes fdo 36738.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a98aabe0bcea42cfdc982001ae4876e3d9b1214
Author: Andreas Faenger <a.faenger at e-sign.com>
Date:   Wed May 18 08:14:33 2011 -0600

    swrast: anisotropic filtering extension
    
    Anisotropic filtering extension for swrast intended to be used by osmesa
    to create high quality renderings.
    Based on Higher Quality Elliptical Weighted Avarage Filter (EWA).
    A 2nd implementation using footprint assembly is also provided.
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=707eadcb7f603e803978a541a16e9893663c33e2
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 18 08:14:32 2011 -0600

    mesa: simplify error check in _mesa_MapBufferRange()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=496bf04905197dc46c2dffe281008bd7f5edf8a8
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 18 08:14:32 2011 -0600

    mesa: only update array _MaxElement if array is enabled
    
    Fixes failed assertion when calling _mesa_print_arrays() debug function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de1df26b5c11a45f2b1ff2ddc7b8ec764356aa94
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 18 07:50:21 2011 -0600

    mesa: check that flex/bison are installed
    
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=36651
    
    NOTE: This is a candidate for the 7.10 branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e0bb02358d627e784a2b7041d6e2e23e3dfd2c5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 17 23:53:52 2011 -0700

    i965: Rename IS_GT1 and IS_GT2 to IS_SNB_GT1 and IS_SNB_GT2.
    
    This should help distinguish Sandybridge GT1/GT2 from Ivybridge GT1/GT2.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2758e65f28cc68411775ec41c53f773268cddc05
Author: Tapani Pälli <tapani.palli at gmail.com>
Date:   Mon May 16 16:56:43 2011 +0300

    add $SELINUX_LIBS to EGL and OpenVG lib deps
    
    Correctly links against selinux library when MESA is built with --enable-selinux option.
    
    Fixes bug #36333 in Freedesktop bugzilla
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb31ecf4fb5b2dc9bad801397562535bf38ccf9b
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed May 18 17:27:39 2011 +1000

    mesa/st: split updating vertex and fragment shader stages.
    
    this seems like a logical thing to do and sets the correct st flags
    for vertex textures.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bd8647b54054a59bdb4f0c170c4481eaadc81ff
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon May 16 09:44:10 2011 +1000

    st/mesa: only memset sampler when about to use it.
    
    This function was taking a lot more CPU than required due to it memsetting
    a bunch of memory that didn't require it from what I can see.
    
    We should only memset here when we are about to fill out the sampler,
    otherwise we end up doing a bunch of memsets for everytime this function
    is called, basically setting 0 memory to 0.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecc051d65b6e17115439fb3609cccfd59f6272bf
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri May 13 14:16:31 2011 +1000

    r600g: bump domain selection up one layer.
    
    this is taken from a patch from Mathias Froehlich, just going to
    stage it in a few pieces.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e98318fc1722171a07d867a99ab7608ecf758cd
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 12 21:05:30 2011 -0700

    i965: Instead of fallback on missing region, just bind a null renderbuffer.
    
    The change for GPU hanging in 13bab58f04c1ec6d0d52760eab490a0997d9abe2
    fell back even when rb == NULL, which is wrong for GLES2 and caused
    segfaulting in GLES2 conformance.  For the GPU hang case (where the
    broken 2D driver failed to allocate a BO for the window system
    renderbuffer), it also would assertion fail/segfault immediately after
    the fallback setup when the renderbuffer map failed.
    
    Fixes GLES2 conformance packed_depth_stencil.
    
    Signed-off-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=461e193971db4ac456be0d383e9aebf15868542a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 17 12:53:55 2011 -0700

    i965: Updated fixed-point sizes in Ivybridge SAMPLER_STATE.
    
    Texture LOD Bias is now S4.8 instead of S4.6;
    Min LOD, and Max LOD are now U4.8 instead of U4.6.
    
    Fixes piglit test tex-miplevel-selection.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ead7d73a5143ccfc55e6c00b8ab5ba0b893e5f33
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 17 14:17:21 2011 -0700

    i965: Ivybridge uses the Gen4 SAMPLER_BORDER_COLOR_STATE.
    
    Volume 5c 1.13.7 lists it as [PreDevILK] and [DevIVB+].
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2c1f8ff1d98f03be79892b7730372afdb94ba58
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Apr 26 12:25:56 2011 -0700

    egl: Recognize Ivybridge PCI IDs.
    
    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=1b3d354743269ac1da80984da55d7545974f7345
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 22 16:45:52 2011 -0700

    intel: Recognize new Ivybridge PCI IDs.
    
    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=7f5e0d2a908d4f7ba781d70731172a07b640f401
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri May 13 09:25:27 2011 -0700

    i965: Disable register spilling on Ivybridge for now.
    
    The data port messages for this are rather different.  For now, fail to
    compile rather than hanging the GPU.
    
    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=344283de5d3f4e2bfa10455f6b974cf731184b55
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed May 11 02:18:24 2011 -0700

    i965: Fix RNDZ and RNDE on Sandybridge and Ivybridge.
    
    On gen4/5, the RNDZ and RNDE instructions return floor(x), but set special
    "round increment bits" in the flag register; a predicated ADD (+1) fixes
    the result.
    
    The documentation still lists '.r' as existing, and says that the
    predicated add is necessary, but it apparently lies.  According to the
    simulator, BRW_CONDITIONAL_R (7) is not a valid conditional modifier
    and the RNDZ and RNDE instructions simply produce the correct value.
    
    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=199a2f90abdd5dd11f8e2b95e587401d3b46f3ff
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed May 11 01:49:10 2011 -0700

    i965: Fix data port reads on Ivybridge.
    
    These also need to use gen7_dp.
    
    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=2a95568f64a6641a49a2d4855272e9be2ac2db6d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed May 11 07:54:57 2011 -0700

    i965: Avoid register coalescing away MATH workarounds on Ivybridge.
    
    The MATH instruction cannot handle source modifiers, even on Gen7.
    So, apply this workaround for Sandybridge on Ivybridge as well.
    
    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=6e918163dfbdc829f31a0aefc07248c49b890d1d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 30 01:30:55 2011 -0700

    i965: Make the CONT instruction point to the WHILE instruction.
    
    This fixes piglit test glsl-fs-loop-continue.shader_test on Ivybridge.
    According to the documentation, the CONT instruction's UIP field should
    point to the WHILE instruction on both Sandybridge and Ivybridge.
    
    The previous code made UIP point to the implicit DO instruction, which
    seems incorrect.  I'm not sure how it could have worked on Sandybridge.
    
    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=77397ef96edbc17a698ae2a02ec4807b1059c036
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 30 01:17:52 2011 -0700

    i965: Add support for loops on Ivybridge.
    
    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=64ce592679a5b08d66e3cbbf964f9e695e14aee1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 15 23:53:40 2011 -0700

    i965: Add support for IF/ELSE/ENDIF control flow on Ivybridge.
    
    Ivybridge's IF instruction doesn't support conditional modifiers.
    It also introduces UIP, which must point to the ENDIF instruction.
    
    ELSE and ENDIF remain the same except that JIP moves from dst to src1.
    
    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=ff6e3c73f6553cd29b915497b5b00e3ef158a27d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 29 14:19:04 2011 -0700

    i965: Add support for Ivybridge texturing messages.
    
    Ivybridge puts the shadow comparator first, then lod/bias, and finally
    the coordinate---unlike previous generations which always reserved four
    slots for the coordinate at the beginning.
    
    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=36f8de02e71ee5c2ca55d86c486eb00d043ae1f5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 29 01:43:10 2011 -0700

    i965: Fix sampler message descriptor on Ivybridge.
    
    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=3f44043da37bcd0c481ceddf4f878ddb3419b763
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Apr 28 22:46:15 2011 -0700

    i965: Fix SAMPLER_STATE on Ivybridge.
    
    Most of this code copied from brw_wm_sampler_state.c.
    
    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=3984372104ec6ac5986dedb07b8ca99d53dede18
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 29 01:18:20 2011 -0700

    i965: Mark some brw_wm_sampler_state.c helper functions as non-static.
    
    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=b2b6cc662271d611462532222ef2fcc30042bd0f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 27 18:12:20 2011 -0700

    i965: Update SURFACE_STATE for Ivybridge.
    
    I'm still not happy with the amount of code duplication here, but it
    will have to do for now.
    
    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=c12a93d5c452da16ff0c8955e55770b8eda28036
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 27 18:11:31 2011 -0700

    i965: Mark a few more brw_wm_surface_state functions as non-static.
    
    I need to reuse them.
    
    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=70c6cd39bd9396b0d3f9e84df41fd8bef1f26cc4
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 27 18:03:49 2011 -0700

    i965: Change brw_format_for_mesa_format to a non-static function.
    
    This will make it easier to share between files.
    
    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=62b79b4bb9d8a4a8679c3d1e1f5455ce33d7b90a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Apr 19 15:38:10 2011 -0700

    i965: Set Address Modify Enable in VERTEX_BUFFER on Ivybridge.
    
    Otherwise, Ivybridge seems to ignore the newly supplied data, giving us
    rubbish for vertices.
    
    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=09d881bf7420c97a0f684283c24b8ec3e42404ff
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Apr 26 17:24:38 2011 -0700

    i965: Enable channel masks in Ivybridge's URB_WRITE_HWORD header.
    
    This shouldn't be done using MRFs, but until I have a proper solution
    for dealing with MRFs, this allows my hack to keep 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=97d4d6f77e885d2c343697f26a5ecf821caaf13b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Apr 18 23:59:30 2011 -0700

    i965: Fix the URB write message descriptor on Ivybridge.
    
    The message header is still incorrect, but this is a start.
    
    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=ce526a7452abf552af38b86bd3546d6ff9a83194
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Apr 18 23:38:21 2011 -0700

    i965: Fix render target writes on Ivybridge.
    
    Ivybridge shifts the data port messages by one bit.
    
    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=482e8a6cd59292c58b11a9282632aaa9b24f44ae
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 00:32:46 2011 -0700

    i965: Mad hacks to avoid using MRFs on Ivybridge.
    
    Ivybridge's SEND instruction uses GRFs instead of MRFs.  Unfortunately,
    a lot of our code explicitly uses MRFs, and rewriting it would take a
    fair bit of effort.  In the meantime, use a hack:
    
    - Change brw_set_dest, brw_set_src0, and brw_set_src1 to implicitly
      convert any MRFs into the top 16 GRFs.
    - Enable gen6_resolve_implied_move on Ivybridge: Moving g0 to m0
      actually moves it to g111 thanks to the previous hack.
    
    It remains to officially reserve these registers so the allocator
    doesn't try to reuse them.
    
    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=550ad737f77cfae9abf2db1638711713ad9d920e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Apr 12 11:51:36 2011 -0700

    i965: Emit 3DPRIMITIVE Ivybridge-style.
    
    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=fa4b23581b4ee8a07400364dccbd61b749c2d1d1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Apr 14 14:56:19 2011 -0700

    i965: Don't use the GS for breaking down quads on Ivybridge.
    
    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=d58400eb4a2605640267436f63d9e856fb3c1f96
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 00:53:46 2011 -0700

    i965: Emit extra 0's in 3DSTATE_MULTISAMPLE on Ivybridge.
    
    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=8c8985bdd714f43a96ce922a7c0284d50aec3d1a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 8 23:51:21 2011 -0700

    i965: Add depth buffer support on Ivybridge.
    
    This also disables the HiZ and separate stencil buffers.  We still need
    to implement stencil.
    
    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=bc08d4ebb832769aacb4aecaaf1e490f97c53d65
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Feb 8 17:27:37 2011 -0800

    i965: Upload sampler state pointers on Ivybridge.
    
    Since we currently only support sampling in the fragment shader, we only
    bother to emit the PS variant.  In the future we'll need to emit others.
    
    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=a94fe79464df088d8e26386d3f0db9a231bfdb61
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 20 18:23:38 2011 -0700

    i965: Disable binding table pointers for unused pipeline stages.
    
    This may not be necessary, but it seems like a good idea.
    
    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=706dbf85f15d42c320481dabe2a3db0c2cbbebb8
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Feb 22 13:30:34 2011 -0800

    i965: Upload binding table pointers on Ivybridge.
    
    Ivybridge uses per-stage commands to update binding table pointers.
    
    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=e0e2c045965f7bd4becae3dce8394f8455184e0d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Feb 22 13:30:02 2011 -0800

    i965: Split BRW_NEW_BINDING_TABLE dirty bit into one per stage.
    
    Ivybridge can update each stage's binding table pointer independently,
    so we want separate dirty bits.  Previous generations can simply
    subscribe to all three dirty bits and emit as usual.
    
    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=bac10b58de69108bdb2cc3358733e2648ab7c5d2
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 02:30:34 2011 -0700

    i965: Explicitly disable unused pipeline stages on Ivybridge.
    
    This may not be strictly necessary, but seems wise.
    
    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=6b2010df7d55ad9feacbbcf708a83a66cdf91aaf
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 01:16:06 2011 -0700

    i965: Initial Ivybridge VS state.
    
    Copied from gen6_vs_state.c; reuses create_vs_constant_bo from there.
    
    The 3DSTATE_VS command is identical but 3DSTATE_CONSTANT_VS is not.
    
    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=18402fbf79e96d7afb6b690906a7656f01a92b9d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Feb 9 00:49:59 2011 -0800

    i965: Initial Ivybridge Viewport state setup.
    
    SF and CLIP viewport state has been combined into SF_CLIP_VIEWPORT;
    SF_CLIP and CC state pointers can now be uploaded independently.
    
    Some portions of the hardware documentation refer to separate upload
    commands for SF and CLIP; these are outdated and incorrect.
    
    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=81fd03fe56372c5c702bf257e821cea71ee25448
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Mar 28 13:12:21 2011 -0700

    i965: Initial Ivybridge Clip state setup.
    
    Copied from gen6_clip_state.c.
    
    This enables early culling and sets the necessary fields.  Otherwise, it
    is entirely the same, so I doubt this patch is strictly necessary for a
    functional driver.
    
    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=24d0ed72c1817b624e3021b12a0987b2c5edd71b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Feb 9 01:05:40 2011 -0800

    i965: Initial Ivybridge CC state setup.
    
    The state itself still seems to be the same; the only change is that
    each part (CC, BLEND, DEPTH_STENCIL) can now be uploaded independently.
    Thus, we still rely on the code in gen6_cc.c to set up the state.
    
    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=a924d69b57a82c02f2d4fba3fc0b31bf6a4f744e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Feb 2 16:00:08 2011 -0800

    i965: Initial Ivybridge WM/PS state setup.
    
    Copied from gen6_wm_state.c.
    
    The main change from Sandybridge seems to be that 3DSTATE_WM was split
    into two separate state packet commands: 3DSTATE_WM and 3DSTATE_PS.
    
    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=7d608d0c331c101088273655708965fb9f1be56e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jan 5 01:21:06 2011 -0800

    i965: Initial Ivybridge SF/SBE state setup.
    
    Copied from gen6_sf_state.c.
    
    The main change from Sandybridge seems to be that 3DSTATE_SF was split
    into two separate state packet commands: 3DSTATE_SF and 3DSTATE_SBE
    ("setup backend").  The bit-offsets are even the same - only the DWords
    numbers have shuffled around a bit.
    
    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=3dc4bc1f78db876d2dcb76153ecf9992fcce73e4
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 29 00:29:02 2011 -0700

    i965: Make gen6_sf_state.c's get_attr_override non-static.
    
    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=8832920c298f4e13ffd5e53feeba509be69edb16
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Mar 27 01:18:41 2011 -0700

    i965: Initial Ivybridge URB space partitioning, including push constants.
    
    Currently this always reserves 16kB for push constants, regardless of
    how much space is needed, and partitions it evenly betwen the VS and FS.
    This is probably not ideal, but is straightforward.
    
    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=477e2fe0318c79978dedd51a5a6039cf05fc59fb
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 01:57:31 2011 -0700

    i965: Set maximum number of threads for Ivybridge.
    
    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=235fa21a0950150bcb78851e2d0cd2deeb1536f8
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Feb 3 11:10:23 2011 -0800

    i965: Split out tracked state atoms for Ivybridge.
    
    Currently, gen7_atoms is a verbatim copy of gen6_atoms; future commits
    will update it to contain gen7-specific state.
    
    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=89a82d72cafc1efbcf099e5229ba9b1cb53504f0
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 15:19:22 2011 -0700

    intel: Initial IS_GEN7 plumbing.
    
    Currently, IS_GEN7, IS_IVYBRIDGE, IS_IVB_GT1, and IS_IVB_GT2 all return
    false.  This allows me to write the code for them before actually adding
    the PCI IDs and thus enabling the hardware.
    
    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=d55471768e308853432de7d18f663034ddbc8599
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat May 14 23:42:46 2011 -0700

    i965: Rename max_vs_handles to max_vs_entries for consistency.
    
    The documentation uses the term "vertex URB entries", the code talks
    about "entry size", and so on.  Also, handles are just "pointers" to
    entries (actually small integers).
    
    Also rename max_gs_handles to max_gs_entries.
    
    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=d0f0d064825c457964614bee8fedcf31526a0775
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 14:17:15 2011 -0700

    i965: Convert BRW_NEW_* dirty bits to use an enum.
    
    This will make it much easier to add new dirty bits.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Chad Versace <chad.versace at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c638180fc715aff84422c1092926120af966d417
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 13:40:00 2011 -0700

    i965: Rework IF/ELSE jump target back-patching.
    
    The primary motivation for this is to better support Ivybridge control
    flow.  Ivybridge IF instructions need to point to the first instruction
    of the ELSE block -and- the ENDIF instruction; the existing code only
    supported back-patching one instruction ago.
    
    A second goal is to simplify and centralize the back-patching, hopefully
    clarifying the code somewhat.
    
    Previously, brw_ELSE back-patched the IF instruction, and brw_ENDIF
    back-patched the previous instruction (IF or ELSE).  With this patch,
    brw_ENDIF is responsible for patching both the IF and (optional) ELSE.
    
    To support this, the control flow stack (if_stack) maintains pointers to
    both the IF and ELSE instructions.  Unfortunately, in single program
    flow (SPF) mode, both were emitted as ADD instructions, and thus
    indistinguishable.
    
    To remedy this, this patch simply emits IF and ELSE, rather than ADDs;
    brw_ENDIF will convert them to ADDs (the SPF version of back-patching).
    
    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=5936d96d33e767aa99f6afa92f2a6582ff04df23
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 12:25:18 2011 -0700

    i965: Move IF stack handling into the EU abstraction layer/brw_compile.
    
    This hides the IF stack and back-patching of IF/ELSE instructions from
    each of the code generators, greatly simplifying the interface.
    
    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=774fb90db3e83d5e7326b7a72e05ce805c306b24
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 11:49:57 2011 -0700

    i965: Get a ralloc context into brw_compile.
    
    This would be so much easier if we were using C++; we could simply use
    constructors and destructors.  Instead, we have to update all the
    callers.
    
    While we're at it, ralloc various brw_wm_compile fields rather than
    explicitly calloc/free'ing them.
    
    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=ebeea9857339da5f0f0455c45a8350190bbad189
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 11:41:32 2011 -0700

    i965/gs: Move generation check for bailing earlier.
    
    On Sandybridge, we don't need to break down primitives.  There's no need
    to bother setting up brw_compile and such if it's not going to be used;
    bail as early as possible.
    
    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=c6175d78705aaca23fc5561a3a73be0b6a952b27
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 22:00:17 2011 -0700

    i965: Add _NEW_LIGHT to Gen6 clip state dirty bits.
    
    ctx->Light.ProvokingVertex depends on _NEW_LIGHT.
    
    Found by inspection.
    
    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=355944087365a963d01deb5fcd6727dfd5360470
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 17 21:24:05 2011 -0600

    mesa: add some missing GLAPIENTRY keywords
    
    NOTE: this is a candidate for the 7.10 branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=217cd216eac65983004ca77a9e49dbfad1b720b6
Author: Tom Stellard <tstellar at gmail.com>
Date:   Tue May 17 18:51:20 2011 -0700

    r300/compiler: Fix bug in rc_get_variables()
    
    Variables that write to the same source select need to pe paired
    together otherwise the register allocator might fail.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=36753

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=390196ecc73cd5d6bed48bf460d1abf70deb0eb4
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue May 17 01:16:27 2011 +0200

    u_vbuf_mgr: fix max_index computation when src_offset is abused as buffer_offset

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3ac28a736c56cbdee0daa6e30c7a8b984a90ec6
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat May 14 04:42:29 2011 +0200

    mesa: make RGB9_E5 non-renderable on swrast again
    
    _BaseFormat for RGB9_E5 is GL_RGBA due to the previous revert.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=947190ab4bbc8ea99bda3c464013af2a87c3286d
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat May 14 04:38:36 2011 +0200

    Revert "mesa: set reasonable defaults in update_wrapper"
    
    This reverts commit 1d5f16ff8fae936f2e920800b169cf7736a8052a.
    
    It breaks fbo-readpixels on swrast.
    For some reason, swrast likes GL_RGBA and CHAN_TYPE.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1309d2ea723613f1e755dd7785d22456dd39bb08
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 10 16:51:12 2011 -0700

    i965: Pass brw_compile pointer to brw_set_src[01].
    
    This makes it symmetric with brw_set_dest, which is convenient, and will
    also allow for assertions to be made based off of intel->gen.
    
    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=2b8e7215eb314aded42d6f13e1f5d6bbae7c7c9c
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun May 15 00:21:45 2011 -0700

    i965: Fix "Paramater" typo in gen6_wm_state.c.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8033a5651fbf6f82258d8f0e846cc7324d744da
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Mon May 16 10:36:36 2011 +0200

    egl: Compile wayland-drm.a into libEGL independent of egl_dri2
    
    Fixes egl_gallium when egl_dri2 is not enabled.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9aa3bbda44470c0a92c675abf4bbab83aba3fb7
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat May 14 18:04:08 2011 +1000

    st/mesa: overhaul vertex/fragment sampler and sampler views.
    
    This fixes piglits fragment-and-vertex-texturing test on llvmpipe for me.
    
    I've no idea if someone had another plan for this that is smarter than what
    I've done here, but what I've basically done is
    
    split fragment and vertex sampler and sampler_view setup function, factor
    out the common chunks of both.
    
    side-cleanups:
    drop st->state.sampler_list - unused
    don't update border color if we have no border color.
    
    should fix https://bugs.freedesktop.org/show_bug.cgi?id=35849
    
    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=bc16c73407d11bb6702cf7de9925bfaeb80a5272
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun May 15 16:41:54 2011 +1000

    gallium: block signals for new thread when spawning threads
    
    I'm hard pressed to think of any reason a gallium thread would want to
    receive a signal, especially considering its probably loaded as a library
    and you don't want the threads interfering with the main threads signal
    handling.
    
    This solves a problem loading llvmpipe into the X server for AIGLX,
    where the X server relies on the SIGIO signal going to the main thread,
    but once llvmpipe loads the SIGIO can end up in any of its threads.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>




More information about the mesa-commit mailing list