Mesa (gallium-xlib-rework): 205 new commits

Keith Whitwell keithw at kemper.freedesktop.org
Fri Jan 9 10:08:19 UTC 2009


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3734593aea202e99e77febea7b86c904080939f
Merge: 221352bbd79a0ea92ce31cffb65537f62ee5668e 5cad143e545775acacee294049345c6a3868c51d
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Jan 9 10:08:06 2009 +0000

    Merge commit 'origin/gallium-0.2' into gallium-xlib-rework
    
    Conflicts:
    
    	progs/glsl/Makefile

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5cad143e545775acacee294049345c6a3868c51d
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jan 8 12:42:25 2009 +0000

    glut: Unlist file.
    
    Again..

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=500e05d437adb14e9dd5e36b07f1b7554ba9563e
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jan 8 12:42:00 2009 +0000

    gdi: Add newline at end of file.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab3a9f1eeda5b216099763f6eb932da723309f4a
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jan 8 12:41:45 2009 +0000

    gallium: Replace uint64 by standard uint64_t.
    
    uint64 is not (so?) standard, and often redefined by third parties,
    causing name clashes.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=395edbc5151b2ce9dd77a22d104ce886e9326354
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jan 8 12:31:36 2009 +0000

    draw: Predeclare struct.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3ee0aa1bb7c3f9dfc5b13b4e72522c10a22ad05
Merge: 2d3953fd5ff91d9717d806a1fa3c8537efb8b67c f8f9a1b620d31d1a59855fd502caed325d4a324f
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jan 8 12:31:14 2009 +0000

    Merge commit 'origin/gallium-0.1' into gallium-0.2
    
    Conflicts:
    
    	src/gallium/auxiliary/tgsi/tgsi_exec.c
    	src/gallium/drivers/cell/spu/spu_command.h
    	src/gallium/include/pipe/p_shader_tokens.h
    	src/mesa/main/config.h
    	src/mesa/main/mtypes.h
    	src/mesa/shader/prog_execute.c
    	src/mesa/shader/slang/slang_emit.c
    	src/mesa/state_tracker/st_program.c
    	src/mesa/state_tracker/wgl/stw_wgl.h
    	src/mesa/state_tracker/wgl/stw_wgl_pixelformat.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d3953fd5ff91d9717d806a1fa3c8537efb8b67c
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Jan 7 12:02:06 2009 +0000

    mesa: Add _mesa_snprintf.
    
    On Windows snprintf is renamed as _snprintf.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b57797f3a81bd04a992868c48a6d98d66e692f3d
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 14:21:27 2009 -0700

    mesa: fix GL_DEPTH_CLEAR_VALUE casting

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f5c71afd9b5b2f73721d443c3ccffdf8663aee0
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 14:18:45 2009 -0700

    mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)
    
    (cherry picked from commit 8124faf89d638285d8e9aa93adc3ca7f4ee729f3)
    
    Conflicts:
    
    	src/mesa/main/get.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a86776dba4cb328f5ed5f97c46d262ee6b90456a
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 19:18:13 2009 +0000

    mesa: Move var declaration to top of scope.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73d02d70b8c98c0e64e7816795565ed5f5bf3639
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:45:12 2009 +0000

    wgl: Do not provide DllMain inside the state tracker.
    
    MS CRT libraries already provide a default DllMain entrypoint, and
    MS Linker will complain if it finds the same symbol in two different
    libraries. Therefore the DllMain has to be in (each) winsys.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e59eb5fc969777ea9590af3710c3ec9373ce043b
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:22:54 2009 +0000

    gdi: Fix warning.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19641a9295f5d14919480124575c6727a0ad79cf
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:21:47 2009 +0000

    wgl: Ensure public symbols get the proper DLL linkage attributes.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c0d8d89fa216771f7f2a75a71519e035dd20d9f
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:20:23 2009 +0000

    glut: Fix build.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2105b61846aad8d0c12dec00ef0c9ebdaacd0d4a
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:20:12 2009 +0000

    mesa: Ensure gl* symbols are marked as dllexport on windows.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1781d7fa3880ffb6d3062414704fb4d29e9297ad
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:16:38 2009 +0000

    scons: Choose the appropriate MSVC CRT.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0db6804699e9d01a7957f853ce6ebfccbcd9906f
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:01:11 2009 +0000

    mesa: Use explicit casts when precision is lost.
    
    Silences MSVC.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca337076b3be03469f0170c1bf85d9611831886c
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jan 8 12:04:03 2009 +0000

    mesa: Fix windows build when UNICODE is defined.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8f9a1b620d31d1a59855fd502caed325d4a324f
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Jan 7 12:02:06 2009 +0000

    mesa: Add _mesa_snprintf.
    
    On Windows snprintf is renamed as _snprintf.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a055520bfba38b160a79f41a6c9df377150e0a10
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 14:23:07 2009 -0700

    add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file
    
    (cherry picked from commit 816fbeaa813e5cdca314a39677c74c8dc700d35a)
    
    Conflicts:
    
    	src/mesa/main/get.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d14d494dcda3d80ec2cf452551c680ffb432e306
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 14:21:27 2009 -0700

    mesa: fix GL_DEPTH_CLEAR_VALUE casting

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3be5e4a050561e25854f38aa221bbf657848762
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Thu Sep 25 19:57:34 2008 -0600

    mesa: fix cast/conversion for optional code
    
    (cherry picked from commit 1e3a44fab068f00378613456036716d0c3772969)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bec14ebf5e4253cdb9e7610273cdd38360394404
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 14:18:45 2009 -0700

    mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)
    
    (cherry picked from commit 8124faf89d638285d8e9aa93adc3ca7f4ee729f3)
    
    Conflicts:
    
    	src/mesa/main/get.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=22ff5a7a0bad0a9a75a8bcd57e97780c66666249
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 13:59:14 2009 -0700

    mesa: pass ctx to link_uniform_vars() to fix build error

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3740a06e28f4cd09e2a3dce2da60320aa9304df1
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 19:18:13 2009 +0000

    mesa: Move var declaration to top of scope.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5da0401398239a2b445e11945144d073d77f0f03
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:45:12 2009 +0000

    wgl: Do not provide DllMain inside the state tracker.
    
    MS CRT libraries already provide a default DllMain entrypoint, and
    MS Linker will complain if it finds the same symbol in two different
    libraries. Therefore the DllMain has to be in (each) winsys.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a40ad7ded44e8331ccd9a6d477a2f1716baf6d16
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:22:54 2009 +0000

    gdi: Fix warning.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3ead57feba757ac633f0bc142dd1300cc6c7037
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:21:47 2009 +0000

    wgl: Ensure public symbols get the proper DLL linkage attributes.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f98f553c4c7326140f5f7f56486d58fde3e1bdc6
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:20:23 2009 +0000

    glut: Fix build.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f46389a28e120e2f7725c327f55e0f644391db5
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:20:12 2009 +0000

    mesa: Ensure gl* symbols are marked as dllexport on windows.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26ba5ce0e8fc54d330a0f26d0c5ab76e250fae3a
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:16:38 2009 +0000

    scons: Choose the appropriate MSVC CRT.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ebb8f78e780ffa6f5f7082d0e36a792bceca321
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 6 16:01:11 2009 +0000

    mesa: Use explicit casts when precision is lost.
    
    Silences MSVC.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb45adeb9e5db7163007410f0461041e1111b6b3
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 5 13:12:12 2009 -0700

    mesa: fix a GLSL swizzled writemask bug
    
    This fixes cases such as:
      vec4 v4;
      vec2 v2;
      v4.xz.yx = v2;
    The last line now correctly compiles into MOV TEMP[1].xz, TEMP[0].yyxw;
    Helps to fix the Humus Domino demo.  See bug 19189.
    
    (cherry picked from commit 9736d8f03364068c9ca786f88a4c2881d98d5768)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e25c363bee7cda8353ee4a5fe3072094affca46
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 17:30:08 2009 -0700

    mesa: fix warning about possibly undefined var in GLSL compiler
    
    (cherry picked from commit 724ed5b84bc2491da244d091de889d5b35503b5d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e0b601e311ec2f9f8e6205e6a2e6a7642009a96
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 09:20:55 2009 -0700

    mesa: fix another "out of samplers" problem
    
    Now only the samplers that are actually used by texture() functions are
    saved in the uniform variable list.  Before, we could run out of samplers
    if too many were declared while only some of them were actually used.
    
    (cherry picked from commit 1fad6ccb756ae33ca3115f59c99ca8abbeb0321e)
    
    Conflicts:
    
    	src/mesa/shader/slang/slang_link.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7bfe6a9375b413d92982e065fb48c810d144c632
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 1 08:07:54 2009 -0700

    mesa: updated comments about GLSL constants
    
    (cherry picked from commit dfada459aabf1a02dc2dbdb6644283fc95df2586)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=158d3febd859f46fe2b96db55c7145e19b82f52e
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 17:50:39 2008 -0700

    mesa: fix bug in evaluation of structure fields
    
    Fixes incorrect size information.  See bug 19273.
    
    (cherry picked from commit e8d7db31e2a6784c765911233cb3d888f612837f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b66fe32c52f1920297a6af0391b99f54eb8b310e
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 17:11:32 2008 -0700

    mesa: allow variable indexing into the predefined uniform variable arrays
    
    This allows code such as "vec4 a = gl_LightSource[i].ambient;" to work.
    
    When a built-in uniform array is indexed with a variable index we need to
    "unroll" the whole array into the parameter list (aka constant buffer) because
    we don't know which elements may be accessed at compile-time.  In the case of
    the gl_LightSource array of size [8], we emit 64 state references into the
    parameter array (8 elements times 8 vec4s per gl_LightSourceParameters
    struct).
    
    Previously, we only allowed constant-indexed references to uniform arrays
    (such as gl_LightSource[2].position) which resulted in a single state reference
    being added to the parameter array, not 64.  We still optimize this case.
    
    Users should be aware that using "gl_LightSource[i].ambient" in their shaders
    is a bit expensive since state validation will involve updating all 64
    light source entries in the parameter list.
    
    (cherry picked from commit c6537ac8b8130cf2271c8d1e51137a575073c762)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=efe91b0000d162deb20486ef6d5e016a11428499
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 17:03:09 2008 -0700

    mesa: better error message when running out of GLSL samplers
    
    (cherry picked from commit ca0540e25c86b8095511868b0cbe96d7e85f7437)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=681ff412f9828684bda8d156181f06360752c72d
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Tue Dec 16 15:25:58 2008 -0700

    mesa: disable debug output
    
    (cherry picked from commit 3be8d6db9e8bfbd1b3ebf9ac382857ad1e6ef753)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2009111cc839ff3ba5df7c3a9170d31f706fa79
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Tue Dec 16 14:29:52 2008 -0700

    mesa: fix some GLSL array regressions
    
    array.length() wasn't working.
    Swizzle mask for accessing elements of float arrays was incorrect.
    
    (cherry picked from commit 368df1615ef65afed96a44e1f43ade8cc703696f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ced2647fb6787170545205eb01afe167c6604ea
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Dec 15 18:30:40 2008 -0700

    mesa: updated GLSL docs
    
    (cherry picked from commit c4341fe80acf75bf5417ffeb85fe6902218b752a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c18860ad1cd96674a2ff72e3fd6185d7356e9fff
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Dec 15 18:24:16 2008 -0700

    mesa: bump glsl grammar revision
    
    And update some copyrights.
    
    (cherry picked from commit 4561307a27e07e37319fdf993c37f2c1b85ee3e9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6045a6a908e230f3666f0dcf4defae305573accd
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Dec 15 18:18:08 2008 -0700

    mesa: more re-org of variable declarations in glsl compiler
    
    (cherry picked from commit 49543d7177fabc848822431891266e33bc13c818)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ceb800a107b42fe96cc68f02ab743be2b8a38299
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Dec 15 16:57:37 2008 -0700

    mesa: more comments, clean up
    
    (cherry picked from commit a1229cc9e7c78c59cad8d0df30b1f28d9bc81faf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b5b05c894bae7e82ef87eb06f63dc05ded9378a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Dec 15 16:49:32 2008 -0700

    mesa: added comments, remove unused code
    (cherry picked from commit a66ff046cc169c6479b00b1e7fc5d87b93ad60ed)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be620a66eb7b9b0512c31d9a026fa6f8a7ab05a6
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Dec 15 16:44:55 2008 -0700

    mesa: checkpoint: handle uniform vars in _slang_gen_var_decl()
    
    This allows uniform declarations with scalar/array initializers.
    The code is rough though, and will be cleaned up.
    
    (cherry picked from commit aa1b90463676ea71f24c1956dcf51deec1bf664c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0a39f3d65aeb04d750dfb0885e87da1185a9296
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 18:00:47 2008 -0700

    mesa: place glsl constant arrays in constant memory
    
    For example, a declaration like
       const float[3] xxx = float[3](1.1, 2.2, 3.3);
    will place the array in the constant buffer whereas a regular, non-const array
    would be placed in the temporary register file.
    Next up: do the same thing for uniform arrays.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f0462abe7075db92e7f5c30cec692497be514f0
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 18:00:19 2008 -0700

    mesa: remove old size=4 limit
    
    (cherry picked from commit 0da44c62cc91c60d392f6e57aa047473b67ffb9b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e153275ae80e04de2fbc33313327a4a7cc754649
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 16:20:31 2008 -0700

    mesa: code clean-up in glsl compiler
    
    (cherry picked from commit d4be09fb2b4a2a45a95a388f536aee566e05f96a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70050191ed39bab72b90ec891c413669d0f5a33f
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 16:02:31 2008 -0700

    mesa: remove unneeded swizzle init code in glsl compiler
    
    (cherry picked from commit 240e211c711b0ebfe6c3daa6cb70a3fa8fc8b656)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d6804bd2820fe76a46e9f9d6ae0f8ff0b20aead
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 15:34:58 2008 -0700

    mesa: disable glsl debug output
    
    (cherry picked from commit 4d49fc83f11ec2f333e06e94af5ac0d24b93caa8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ceaf57524b6daaba3b083f441a8e0a98f98cebde
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 15:11:08 2008 -0700

    mesa: remove unused varpool code in glsl compiler
    
    (cherry picked from commit 81253be3347312eb7539eb61ee9362f76370eba7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71ef9e3775a8d091a7aaacac9bd3dcaecd3b075e
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 15:07:21 2008 -0700

    mesa: basic array constructors work now
    
    For example: float[3] xxx = float[3](1.1, 2.2, 3.3);
    
    Optimizations for const-qualified arrays next.
    
    (cherry picked from commit 5c0c5e5af9c72c170991f48628673faba85bc6f4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae701a12019a59cfd22ca72db9bcca9e1d87f93a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 15:01:00 2008 -0700

    mesa: copy array_len in slang_fully_specified_type_copy()
    
    (cherry picked from commit c20d00f04bdbdc0d3abdae8984ff5c874c4f0a10)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91535b8a617b78b1f5e3d2325ca8832d255857a2
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 15:00:06 2008 -0700

    mesa: remove incorrect array_len assignment
    
    (cherry picked from commit 9016331d0fd0783d1e46c9d4b651797d6af4a60f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2ca0c0430433893876179a39f85a428862eabb2
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 13:18:30 2008 -0700

    mesa: array size fix in _slang_typeof_operation()
    
    (cherry picked from commit 87a00959ba40ee0aeaebbc8a86ca081cf3b81c75)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47331842d4956fb7ccff002d9b86097749345d99
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 13:05:29 2008 -0700

    mesa: fix some more GLSL 1.20 array things.
    
    Function that return arrays should work now.
    
    (cherry picked from commit 8571401d7d7c9c91c6f053e5dc8c94a4567140fe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d7d6cfbc2d8518837f3df375eb643abd397235a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 10:32:56 2008 -0700

    mesa: more glsl function renaming
    
    (cherry picked from commit d5367622a3f1cffe67af0fb6fca99ad02eefd374)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18dd05fbc57a1d4d75f8a5244345dd6fb1066e53
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 10:29:15 2008 -0700

    mesa: use _slang_alloc()
    
    (cherry picked from commit b4019483dea406e997ae1c6b61b41cc49786c8ce)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c22801841ce9415f5a34b86a62e43cf38ef70d66
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 10:22:47 2008 -0700

    mesa: glsl compiler function renaming
    
    (cherry picked from commit 456a4e274ff60122ab7e23dad2d462be3d910599)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fc529bcff1de621de3f9cb6bf7e2b4f00b26d3a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 10:17:58 2008 -0700

    mesa: more glsl type/function movement
    
    (cherry picked from commit 9a174ef4090189e19831092bb2bae4bfc5396968)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5cd8fef91edf1d23888d0dc074ace91ef3f147a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 10:11:41 2008 -0700

    mesa: move some glsl compiler functions to different files to be more consistant
    
    (cherry picked from commit aeeb9bca2712dbf8540486fc584e214a8af4c7c4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbc55bfbb852e16b445fb62dca3399949f87dfaf
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 10:03:31 2008 -0700

    mesa: move _slang_locate_function() to different file
    
    (cherry picked from commit ea9dc3879f4cbbaa8ce9e305884a4afdc1fdd28a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7e3f85fd6ba0feb1c435b4e2f0a27016f7955cf
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 09:58:18 2008 -0700

    mesa: remove unused fixup table code in glsl compiler
    
    (cherry picked from commit 19ca2908be5df2240d694c67c6f190982e9f7922)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=593073a3b39486398f245800633d6eeaf7989f5c
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Dec 12 09:56:13 2008 -0700

    mesa: checkpoint: GLSL 1.20 array constructors
    
    (cherry picked from commit ade777ea1b62e2280c9f05fa09927a8f9bb63f4f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d293f66877486a37682bd0537ea1d3c5fc126db
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Thu Dec 11 19:34:43 2008 -0700

    mesa: consolidate variable declaration initializer code for globals too
    
    (cherry picked from commit 1737f2dbdd8d9d6b1da140340323cbf83f7bd592)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bc2fa0f827989be248fe29a195c2110293e42db
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Thu Dec 11 19:28:22 2008 -0700

    mesa: move variable initializer IR generation into _slang_gen_var_decl()
    
    More code consolidation coming...
    
    (cherry picked from commit 2760bca1e13e62943affd762ed560bc30fbcc27a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de4f2088666020fb167779af7f632ae7f091f65a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Thu Dec 11 19:10:58 2008 -0700

    mesa: simplify some glsl variable declaration code
    
    (cherry picked from commit 05ed9f7fe934249eaa5a16123b5b5f7f62b0ad26)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6095b7e22499c0af7a211d48cc0aaccf06a1ed2d
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Thu Dec 11 18:49:28 2008 -0700

    mesa: glsl clean-ups
    
    (cherry picked from commit 929eb00b32dfea9b1ac58923c88d5573872adea1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b28d5ecd6e034f27cb550d1592f22b052d5cd5a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Thu Dec 11 18:02:19 2008 -0700

    mesa: checkpoint commit of GLSL 1.20 array syntax.
    
    This allows things like float[3] x = float[3](1., 2., 3.);
    
    Parsing and AST construction now.  Codegen not working yet.
    
    (cherry picked from commit 2dc3de016cd0306bf5b492ed781e824864788f11)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f8109dd06ddbb14756951b5bc6de62cb212e891
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Tue Dec 9 14:30:42 2008 -0700

    mesa: in slang linker, replace assertion with link error when max samplers exceeded
    
    (cherry picked from commit e8f5c1a5e89fe43ddfa277d7392dcaf8ac1d6c88)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=525145a9f6968851ed97fb647261df3d8028e105
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Mon Dec 1 18:32:47 2008 -0700

    mesa: fix conditional in save_Lightfv(), bug 18838
    
    (cherry picked from commit 1e2f57425153d73646fde7c91c16aa5559491556)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aeb3caeba5be5897bce4c25b84496a171711952b
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Nov 26 09:35:26 2008 -0700

    mesa: add missing type check for function calls
    
    (cherry picked from commit 001b1cbb0dacf76dd09cda56840c30226abd3534)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e42ed1ed0bb2c429f94dd10b193cf1b0892870bf
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Nov 26 09:35:08 2008 -0700

    mesa: add missing size check for assignment optimization
    
    (cherry picked from commit aa40de5c6f7f70844d4a4c726456cceaee9f0e4d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96cab36e2ea39a8a9a8f70465c83f8520f3c9574
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Nov 26 09:02:37 2008 -0700

    mesa: remove debug code
    
    (cherry picked from commit fea3a32e17502ac16ec9a12dc9d18742cea2efd5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8cf2f00760b4d2299f0880b7e6896bb2d71407b
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Tue Nov 25 09:02:27 2008 -0700

    gallium: added centroid/invarient fields to declarations
    
    (cherry picked from commit 4de360e67d83cd6503fb8ad053bb8afe507db5fa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06f2139b8285d9f8a3a33b633d14dde48e0112fe
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 17:18:56 2008 -0700

    mesa: added support for GLSL 1.20 array.length() method
    
    This is the only method supported in GLSL 1.20 so we take a few short-cuts.
    
    (cherry picked from commit 8d95e66cf78921cd067c4bcf6a1053a7ec3a2ed4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d450ede4c41915f9e07d9881236d3ad0c435a19f
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 15:28:21 2008 -0700

    mesa: support for GLSL 1.20 array types
    
    This allows syntax like "float[8] foo, bar;"
    
    (cherry picked from commit 0fab514ff5e7887767936427b5e02b676abebf3a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89acfecd0bfbad7da35e9b88a2fe2030275fdf8f
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 14:36:00 2008 -0700

    mesa: pass shader centroid/invariant info through to the TGSI shader
    
    (cherry picked from commit c5b52b5e0e6f6e47c3953076fa788921b1c5a5e2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc48ae97dcd84acf691b33b0ea2e76c5fdfe18e1
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 10:02:44 2008 -0700

    tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization
    
    (cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a48b004c442ec89905ee1dfdd778c9bca603732c
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 13:04:04 2008 -0700

    mesa: add gl_program::Input/OutputFlags[] array
    
    These arrays will indicate per-input or per-output options for vertex/fragment
    programs such as centroid-sampling and invariance.
    
    (cherry picked from commit b730d0d3e9b202b17a0815cb820fc9905f35cb98)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71c900abc76198ecf97e0cd7585ade430827db3f
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 09:28:25 2008 -0700

    mesa: copy centroid/invariance/precision info in parse_init_declarator()
    
    (cherry picked from commit a2037137385671c0673d1de6eb1c36dbd3cd78f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=674d7181f80750e171f278b41ff98fb0c755a095
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 09:25:05 2008 -0700

    mesa: check that varying variable qualifiers agree
    
    (cherry picked from commit dc1107c08d0ccbeeb063f2e46be598f16cbe9f21)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19111c5efc990df7f972c97f53bf6335ac43ad27
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 09:13:14 2008 -0700

    mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
    
    (cherry picked from commit 0e2f757413a68f0edb6643ea23ad8d879d077f11)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c249ac6d149c6b789df68ed14bdd5bb7395bfa00
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 09:05:49 2008 -0700

    mesa: set flags for varying vars
    
    (cherry picked from commit 3197954554bfc492283c7db009d10ab408664cad)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af988262e318629cc29d11171889c5bc5efd3096
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 09:04:52 2008 -0700

    mesa: rename program parameter flags to match other Mesa conventions
    
    (cherry picked from commit f490ec9797a396da9d182f1ad4393f1c5c2df440)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64de78723cb140d6de24678d298f58cd24aed02c
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 09:04:11 2008 -0700

    mesa: copy Flags in _mesa_clone_parameter_list()
    
    (cherry picked from commit 08b825a77179a9e7ed902c9c57387f127cd007bc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a92af00e2adc1f3557ee69705c49e032286b2da2
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 09:03:47 2008 -0700

    mesa: dump/debug varying vars list
    
    (cherry picked from commit 3f6668a4bf28109eb806be019fb235663572b7da)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36f9d3fa9a4a7b5c25821c5099824c8e3b6ebc95
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 08:43:38 2008 -0700

    mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation
    
    Plus, update the print/debug code.
    
    (cherry picked from commit 777a5c4f2e7c6c6ec0227a239b1af6c6b86dfab2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee3da89b197fa0aa063be6fcabddec284cc00bec
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 08:33:49 2008 -0700

    mesa: add Flags field to gl_program_parameter
    
    Only one flag defined so far: PROG_PARAM_CENTROID_BIT
    
    (cherry picked from commit 0f228d7ab3b7c03328df369b8db50c469ac5dcd6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=716ccb11a25bdec19921e931bc7bcfb39c94896c
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Nov 21 17:22:16 2008 -0700

    mesa: issue error, don't crash, when calling a prototyped, but undefined function
    
    Bug #18659.
    
    (cherry picked from commit 4f05893415a2d6f29b29f4daf991ea95a1891a81)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db2cde413c9d2843a6108db5e5f9b2f112a11fcf
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Nov 21 14:24:28 2008 -0700

    mesa: better variable name: s/aux/store/
    
    (cherry picked from commit b63a31b36f2e1a198c214f41e0518991b1a8fa49)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=515a43da163d4662591969cd0be7601ac98bc75b
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Nov 19 16:04:37 2008 -0700

    mesa: minor comment reformattting
    
    (cherry picked from commit bab4e78734dc462387fea32f0b05103e31f2d6f6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=620a2bad22e9fe2418f39b3e2d9dccdcc56512d3
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Nov 19 15:08:46 2008 -0700

    mesa: glsl compiler debug code
    
    RETURN0 macro reports file/line before returning zero.
    
    (cherry picked from commit bf7f9d2143a892bc11a5e2b84e3d6d3ed69fb5e8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e779e33261ca42c8acebac216e1b070782e730f2
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Nov 19 14:12:25 2008 -0700

    mesa: rework GLSL array code generation
    
    We now express arrays in terms of indirect addressing.  For example:
      dst = a[i];
    becomes:
      MOV dst, TEMP[1 + TEMP[2].y];
    At instruction-emit time indirect addressing is converted into ARL/
    ADDR-relative form:
      ARL ADDR.x, TEMP[2].y;
      MOV dst, TEMP[1 + ADDR.x];
    This fixes a number of array-related issues.  Arrays of arrays and complex
    array/struct nesting works now.
    There may be some regressions, but more work is coming.
    
    (cherry picked from commit ae0ff8097b85d3537a7be1674d55a44a9bd6018e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef4bd18a50ec9989fdcff97c10721e748e897c7b
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Nov 14 13:19:42 2008 -0700

    mesa: don't realloc instruction buffer so often
    
    (cherry picked from commit e709d68d92ef6f2392b118d0a22452e8f4c53e9a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a6c12cf532b5206cebf6d643ab6e970a949b874
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Nov 14 13:19:31 2008 -0700

    mesa: updated comment
    
    (cherry picked from commit d9fa9e3290611944d5fd52301645367eeeb24f03)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=def84fac39fe356f34d8803989b554f15dac5909
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 08:48:27 2009 -0700

    mesa: fix merge conflict left-overs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebcf06702c22419221c136a438c934469c2422cc
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Thu Nov 13 18:18:07 2008 -0700

    mesa: no longer need Writemask field in GLSL IR nodes
    
    The Swizzle and Size fields carry all the info we need now.
    
    (cherry picked from commit 80d6379722a1249ce13db79a898d340644936f67)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9681119bbb0317c87dcf781da561174752c02bc8
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Thu Nov 13 17:02:11 2008 -0700

    mesa: revamp GLSL instruction emit code
    
    This is a step toward better array handling code.  In particular, when more
    than one operand of an instruction uses indirect addressing, we'll need some
    temporary instructions and registers.  By converting IR storage to instruction
    operands all in one place (emit_instruction()) we can be smarter about this.
    
    Also, somewhat better handling of dst register swizzle/writemask handling.
    This results in tighter writemasks on some instructions which is good for
    SOA execution.
    
    And, cleaner instruction commenting with inst_comment().
    
    Next: remove some more dead code and additional clean-ups...
    
    (cherry picked from commit 3a7ed9779b159f9dccbc98d1d556be2cd83cc1fd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8fa7e500c52db6764d4102360f2202005bcf817
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 08:47:05 2009 -0700

    mesa: make writemask_string() non-static
    
    (cherry picked from commit 610c2461ce0683ca5412e4b2b7a496f67e9d3704)
    
    Conflicts:
    
    	src/mesa/shader/prog_print.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bdf076554f19f4f42cbfc6e14b6abd94bea3351
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Thu Nov 13 16:31:27 2008 -0700

    mesa: remove some do-nothing GLSL code
    
    (cherry picked from commit 4c167f8fc1e56b6c82d8917c237e70531e3d57b9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed8f857792d3ea9737359d098e36aed28a6adfac
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 08:45:53 2009 -0700

    mesa: fix accidental regression in GLSL built-in texture matrix lookup
    
    Was broken by commit 9aca9a4b72b2a7b378e50bd88f9c3324d07375ec.
    
    (cherry picked from commit fe984aed5a9ee7c6e000d48a0a584b964fefa848)
    
    Conflicts:
    
    	src/mesa/shader/slang/slang_builtin.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b66bc1a83a9c5745e0448cb6c05ee27d7ce858b
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Nov 12 16:47:03 2008 -0700

    mesa: remove unused/obsolete __NormalMatrixTranspose matrix
    
    (cherry picked from commit e556cc82f83716a734ed9d76356ba49bb670004f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ad6daf3a9aacd405bd38c8857b1aabae2eabb94
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Nov 12 11:12:10 2008 -0700

    mesa: tweak program register printing for RelAddr case
    
    (cherry picked from commit 557fde9531289b4388a3080b89c2ebaa38abeaee)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=20156ce5da7743f527b920add663f4fa65527dcd
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 08:42:40 2009 -0700

    mesa: allow relative indexing into all register files and indirect dst register indexing
    
    (cherry picked from commit f4361540f8dd3016571523863b33481cba7a0c07)
    
    Conflicts:
    
    	src/mesa/shader/prog_execute.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b05708ce2c4120921f43d82f1751e039306e0d6
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 10 12:33:17 2008 -0700

    mesa: track initialization status of uniform variables.  Plus, asst clean-ups.
    
    (cherry picked from commit 2d76a0d77af7be9539f89cba37ce84338c1cdda4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de445478915af41e1e078cbb8c2cbcce340f83b6
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 10 11:42:42 2008 -0700

    mesa: initial support for uniform variable initializers.
    
    This lets one specify initial values for uniforms in the code, avoiding
    the need to call glUniform() in some cases.
    
    (cherry picked from commit 379ff8c9567940ebff44870cf7b0202882445fa6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c478a1baca0d97b03f391361dfeb953939f245d4
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 10 10:25:01 2008 -0700

    mesa: allows 'f' suffix on GLSL float literals
    
    (cherry picked from commit 80c8017a643dfb655e4e1500e1c57e3908529c27)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45c8d996f606fbb0f42e3c87763eea6108b3bf28
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 08:36:30 2009 -0700

    mesa: add support for 'centroid' qualifier in GLSL 1.20
    
    (cherry picked from commit 87d1a26ba38e75f6988e094dbfbc0f77c0ae502b)
    
    Conflicts:
    
    	src/mesa/shader/slang/library/slang_vertex_builtin_gc.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e77a39d2f89d630cfb355a745dec2c9bb8e1365
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 08:35:16 2009 -0700

    mesa: add support for 'invariant' keyword for GLSL 1.20
    
    (cherry picked from commit 448156f769ebf271a6a8c03c61588c3e6c6363f0)
    
    Conflicts:
    
    	src/mesa/shader/slang/library/slang_vertex_builtin_gc.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4adeac5af1660933acedc5dd6ee679c4d5cdbc39
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Nov 7 14:28:00 2008 -0700

    mesa: reformat comments, rewrap lines, etc for a little better readability
    (cherry picked from commit b632e5aa7f948ed5bbf7104682ec3ee463af4c0a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=374cf77b2f0f13f9380fb0c9d804222a83bdc2e0
Merge: 52d5d25537a9291f7d247211d2881ed56edaca94 a8ee35c1c59c23938e0a18b163515acc892ed407
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 08:15:54 2009 -0700

    Merge commit 'origin/master' into gallium-0.2
    
    Conflicts:
    
    	src/mesa/drivers/dri/common/dri_util.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62bf6cf6c7b560f59ec72ad138e40383ee47de12
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Dec 19 16:14:48 2008 -0700

    gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV
    
    This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52d5d25537a9291f7d247211d2881ed56edaca94
Author: Jonathan Adamczewski <jadamcze at utas.edu.au>
Date:   Tue Jan 6 08:02:55 2009 -0700

    cell: replace 0 with -1 in SPE_COUNT_USABLE_SPES query

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8ee35c1c59c23938e0a18b163515acc892ed407
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 6 07:35:45 2009 -0700

    mesa: remove dri_sarea.h, add glcore.h in Makefile

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1f022dbb103947b0edf5ae984fcff00f6a8e539
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Tue Jan 6 15:37:45 2009 +0800

    mesa: Fix the size per pixel for packed pixel format data type.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=241c0bfc985363bb15e6cc0eca859c6ec36d1b35
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Tue Jan 6 15:30:34 2009 +0800

    mesa: Fix the number of components for GL_UNSIGNED_SHORT_1_5_5_5_REV. (bug #19390)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7627c7f5dfa3b1bc7be9d1670668a81a70d9f64a
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Tue Jan 6 11:22:19 2009 +0800

    dri: correct the damage.
    
    Fixes bug #17234

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7257890dc8870d5fdce9d41a22fc89aac5add78
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 5 19:50:54 2009 -0700

    cell: fix code emit for RSQ/RCP when src arg == dst arg
    
    Fixes moire-like artifacts seen in fslight demo.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5c9241cca3c57684db955390410c8cda44b785e
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 5 17:52:14 2009 -0700

    mesa: add GLushort cases for render to texture (Z-buffers)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd5d3fde13e424373feac9098453ed0ca7f6e4eb
Author: Ben Skeggs <skeggsb at gmail.com>
Date:   Mon Jan 5 16:04:41 2009 +1100

    nv50: fill image unit index in TEX varients

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00b15c9f40944d94aa28a441edd7ebb51577d9ba
Author: Ben Skeggs <skeggsb at gmail.com>
Date:   Mon Jan 5 15:56:19 2009 +1100

    nv50: fix crash in nv50_program_destroy

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17cbe451d28f60d8bf4e15a83528e891219cc0ee
Author: Ben Skeggs <skeggsb at gmail.com>
Date:   Mon Jan 5 14:56:41 2009 +1100

    nv50: working towards 3D textures

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=108942f22a51bc1435c34b04b2c9747825ccefb7
Author: Ben Skeggs <skeggsb at gmail.com>
Date:   Mon Jan 5 14:07:48 2009 +1100

    nv50: slightly better miptree allocation
    
    I swear this didn't work last time I tried it..  Anyhow, still only
    suitable for 2D miptrees - more coming once I know the layout.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5696267efd6f85d79f5fe511d1a066a17c4d1ccc
Author: Ben Skeggs <skeggsb at gmail.com>
Date:   Mon Jan 5 14:06:43 2009 +1100

    nv50: add TXP to TEX case.. not correct, but anyway..

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d54770cabbe034b0f07ab1b211c374d92ce19d4
Author: Ben Skeggs <skeggsb at gmail.com>
Date:   Mon Jan 5 13:41:12 2009 +1100

    nv50: indentation for TEX is a little overenthusiastic

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f66b72fdb4834c5211305698d22806eac80aa35
Author: Ben Skeggs <skeggsb at gmail.com>
Date:   Mon Jan 5 13:38:47 2009 +1100

    nv50: ensure we actually get contiguous regs for TEX insn.
    
    Still many more horrible things to fix here...

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9736d8f03364068c9ca786f88a4c2881d98d5768
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 5 13:12:12 2009 -0700

    mesa: fix a GLSL swizzled writemask bug
    
    This fixes cases such as:
      vec4 v4;
      vec2 v2;
      v4.xz.yx = v2;
    The last line now correctly compiles into MOV TEMP[1].xz, TEMP[0].yyxw;
    Helps to fix the Humus Domino demo.  See bug 19189.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d797365deb579cfeb2a32f21692515eb6904921
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 5 10:09:28 2009 -0700

    i965: implement OPCODE_TRUNC (round toward zero) on vertex path.
    
    Also, fix some RNDD vs. RNDZ confusion elsewhere.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ee1df065234eaf27c53c03bdf6e4ad487bc326d
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 17:13:38 2008 +0000

    scons: Specify C99 throughout all the tree.
    
    MSVC may not support full C99, but supports more than plain C90. And
    -pedantic without -std=c99 generates too many spurious warnings
    (specially C++ style comments) to be of any use.
    
    Note that using certain C99 features in the cross-platform parts of Gallium
    is still not possible; namely mid-of-scope variable declarations and named
    structure initializers will break MSVC builds.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4469355df277bec4947d859def543a3903c99041
Author: Tom Fogal <tfogal at alumni.unh.edu>
Date:   Mon Jan 5 07:59:41 2009 -0700

    glu: Add mangled symbols to export list
    
    This adds all of the `mglu' symbols to the list of symbol exports
    for GLU.  Without this patch, mangled GLU symbols are considered
    `internal' symbols, and calling any results in undefined references.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=785e90a7dcfcaaf671157cd03699a165d45eabb0
Author: Jonathan Adamczewski <jadamcze at utas.edu.a>
Date:   Mon Jan 5 07:52:17 2009 -0700

    cell: SIMDize sorting in setup_sort_vertices()
    
    Put setup.v{min,mid,max,provoke} into a union with qword vertex_headers.
    Rewrite vertex sorting to more efficiently handle the packed data items.
    Reduces spu_tri.o by ~128 bytes.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=90167d0ee94384327d4a8482b21fdd28ba2c7171
Author: Jonathan Adamczewski <jadamcze at utas.edu.a>
Date:   Mon Jan 5 07:49:48 2009 -0700

    cell: SIMDize some subtractions
    
    Put edge.{dx,dy} into a union with a vector and perform subtractions in
    setup_sort_vertices() on vectors.
    
    Reduces spu_tri.o by ~300 bytes.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5256f94b1a64f9bb61ec2b627a71ff9a0fc7a484
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Mon Jan 5 11:50:57 2009 +0100

    progs/glsl: Add ignores

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2e9d415ed56b856289f4e815cc9c56e8b0cc401
Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Mon Jan 5 11:49:45 2009 +0100

    progs/glsl: Remove double target def for vert-or-frag-only

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd2e8888ed6dac7420466404f61ce5ea15bf52bc
Author: Jonathan Adamczewski <jadamcze at utas.edu.a>
Date:   Sun Jan 4 18:48:46 2009 -0700

    cell: improvements to spu_tri.c
    
    Replace int setup.span{left,right}[2] with vec_uint4 setup.span.quad
    SIMDize calculate_mask() and inline into into flush_spans()
    Set setup.span.quad members using spu_shuffle() or spu_sel().
    Reduces spu_tri.o by ~116 bytes.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=921ec940f0c639831d378d425dbc454d496da9eb
Author: Jonathan Adamczewski <jadamcze at utas.edu.a>
Date:   Sun Jan 4 18:46:44 2009 -0700

    cell: new spu_shuffle.h header
    
    Facilitates creation of shuffle patterns for use with spu_shuffle()
    and si_shufb() intrinsics.
    
    To be used by subsequent patches.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f6e2f8620b73c706c21ce4c58bad894d08809a7
Author: Brian Paul <brianp at vmware.com>
Date:   Sun Jan 4 18:40:48 2009 -0700

    cell: initial codegen support for fragment shader loops
    
    Basic for/while loops work now.
    Only one level of loop nesting is supported at this time (same for if/else).
    The progs/glsl/mandelbrot demo works, but the colors are too dim.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38b526999c91a82691a8a5f3c2d0b6f071758dfc
Author: Brian Paul <brianp at vmware.com>
Date:   Sun Jan 4 18:38:42 2009 -0700

    cell: add support for PIPE_CAP_TEXTURE_MIRROR_REPEAT query
    
    We don't really support this texwrap mode yet, but this enables GL 2.1

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ba68693087618ababfe2c6f260330ec657c5534
Author: Brian Paul <brianp at vmware.com>
Date:   Sun Jan 4 10:14:19 2009 -0700

    cell: clean-up, improve SPU code generation
    
    Start on ARL and address-relative indexing too.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cbaa2226fa1237b9f314828fbbc1c8db6509de8
Author: Brian Paul <brian.e.paul at gmail.com>
Date:   Sun Jan 4 10:04:44 2009 -0700

    gallium: fix MaxTextureCoordUnits init
    
    Fixes Cell regression.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9832f928503d59d2244d832a28fb7195d8d6bfec
Author: Brian <brianp at vmware.com>
Date:   Sat Jan 3 14:44:34 2009 -0700

    cell: fix typo (s/10/0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa4fec2d1bfa459d46601b2f1e104b9533bf679f
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Tue Dec 23 15:46:25 2008 -0600

    demos: remove redundant Makefile lines from prev merge

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=724ed5b84bc2491da244d091de889d5b35503b5d
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 17:30:08 2009 -0700

    mesa: fix warning about possibly undefined var in GLSL compiler

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19aed38919d43179a9f9cb0096aba981fabc4481
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 16:55:33 2009 -0700

    softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d917ad5dbd17f2399a5a3590fe6c06a64d683771
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 16:54:11 2009 -0700

    gallium: assorted state tracker fixes for > 8 texture samplers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84cffc2e7fbeab8ed5dfb0b6b8d3829e0654ab02
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 16:52:00 2009 -0700

    mesa: replace CC with APP_CC in progs/glsl/Makefile

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0815ebccfc0a12d8f3e831928f1c4210b7f75ad8
Merge: eb9bbc5265562cb6f93688fc027ea76f91601e37 1fad6ccb756ae33ca3115f59c99ca8abbeb0321e
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 16:32:26 2009 -0700

    Merge commit 'origin/master' into gallium-0.2
    
    Conflicts:
    
    	src/mesa/main/ffvertex_prog.c
    	src/mesa/main/texenvprogram.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb9bbc5265562cb6f93688fc027ea76f91601e37
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 16:16:16 2009 -0700

    gallium: fix texcoord loop for rasterpos attributes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15a3fdb63e0511860ee84c168b84dd0bcfca6094
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 16:15:43 2009 -0700

    gallium: clamp MaxVertexTextureImageUnits against Mesa limit

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a57417eff62b24ebc562b6ecc120dfc7448679d0
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 16:15:16 2009 -0700

    mesa: remove redudant lines for libglapi.a

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fad6ccb756ae33ca3115f59c99ca8abbeb0321e
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 2 12:26:15 2009 -0700

    mesa: fix another "out of samplers" problem
    
    Now only the samplers that are actually used by texture() functions are
    saved in the uniform variable list.  Before, we could run out of samplers
    if too many were declared while only some of them were actually used.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a6ad999ea312f0af85de621c8b6a15a3d3b7ffd
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 1 14:04:57 2009 -0700

    i965: increase number of texture samplers to 16
    
    This lets GLSL shaders use up to 16 samplers.
    Fixed function is still limited to 8 textures.
    Tested with progs/glsl/samplers.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b891a502b030f2ce8cd7a1aba93df11595f5c95
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 1 12:03:07 2009 -0700

    i965: comments, clean-ups, re-order some functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32e03c4a2ff5ef07de892dcd26f6be3b82ab3ba1
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec 31 17:16:44 2008 -0700

    i965: added OPCODE_NRM3/4

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e262da804014d57156346ff487904ce220974832
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec 31 17:16:27 2008 -0700

    i965: fix comment

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=914fcbafdb166603da408d58a0a0f381d9c08e9f
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec 31 17:01:44 2008 -0700

    i965: indentation and formatting fixes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=131ac5b465d1f676ca2e592e4fecfcbc14b23b49
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec 31 16:49:58 2008 -0700

    i965: implement OPCODE_NRM3/NRM4

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23b0ad4d7e9130a07fec1e968777dfa59bc1d54e
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec 31 16:43:57 2008 -0700

    i965: whitespace, comment changes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d03f2834fd7279c28de3e57281f5a45c2fb4b8a
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec 31 16:38:10 2008 -0700

    mesa: comments, whitespace changes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46b8fe00c95845a9c8c9e426caef7130b0341caf
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 1 14:02:17 2009 -0700

    demos: added progs/glsl/samplers.c to test all available texture samplers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfada459aabf1a02dc2dbdb6644283fc95df2586
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 1 08:07:54 2009 -0700

    mesa: updated comments about GLSL constants

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9b34885b8ff2ccb67a801cd1ce07e0df1b0e397
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec 31 11:54:02 2008 -0700

    mesa: increase max texture image units and GLSL samplers to 16
    
    The max texture coord units is still 8.  All the fixed-function paths are
    still limited to 8 too.  But GLSL shaders can use more samplers now.
    
    Note that some texcoord-related data structures are declared to be 16
    elements in size rather than 8.  This just simplifies the code in a few
    places; the extra elements aren't accessible to the user.
    
    These changes haven't been extensively tested yet, but sanity checking has
    been done.
    
    It should be possible to increase the max image units/samplers to 32 without
    doing anything special.  Beyond that we'll need longer bitfields in a few
    places.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d778356680e08cac63057b9275b7d96bfe975b6
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Dec 31 15:03:35 2008 +0000

    python: Pass a zero offset to util_draw_vertex_buffer.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e96985b02699e56753d36d33d68dae49a5478921
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Dec 31 13:29:09 2008 +0000

    util: List new file in SConscript.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e228433823b90127a217950433e31f0ef44df813
Merge: 43d70a12d4cc2b930cc7e1bb1eb68326ed3697e9 417a78bdad11976f89e7bb12e3de0138995a2b1f
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Dec 31 13:05:39 2008 +0000

    Merge commit 'origin/gallium-0.1' into gallium-0.2

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=43d70a12d4cc2b930cc7e1bb1eb68326ed3697e9
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 20:12:28 2008 +0000

    i915: Avoid ptr->int conversion.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f24bc698412b4635422a52f9d7073ce7854dceb
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 20:10:24 2008 +0000

    draw: Avoid integer overflow converting pointers on 64bit archs.
    
    Not really an error, as we only care for the lower 4 bits.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfebeffc0045266d354a36968336337e099a9f27
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Dec 31 00:29:49 2008 -0800

    intel: Share passthrough transform setup between glBitmap and glDrawPixels.
    
    The DrawPixels path was missing glViewport care, so blender's toolbar icons
    would go to the wrong places.
    
    Bug #19118.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1a92175542c6645c23cc78f2a4fcd36dd0235e6
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Dec 31 00:02:43 2008 -0800

    intel: Add support for glBitmap as metaops using GL calls.
    
    This lets us avoid software fallbacks when clients forget to turn some state
    off (engine demo) or just do crazy things to test conformance (OGLC).
    
    This should probably be brought into mesa generic code so other drivers can
    make use of it.
    
    Bug #19016.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c789bd376f09c3b61617aeef6f5adbba2c541178
Merge: 369115e4c7a2985d880951fd8248deefa92025dd e8d7db31e2a6784c765911233cb3d888f612837f
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 18:01:15 2008 -0700

    Merge commit 'origin/master' into gallium-0.2
    
    Conflicts:
    
    	src/mesa/main/config.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8d7db31e2a6784c765911233cb3d888f612837f
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 17:50:39 2008 -0700

    mesa: fix bug in evaluation of structure fields
    
    Fixes incorrect size information.  See bug 19273.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6537ac8b8130cf2271c8d1e51137a575073c762
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 17:11:32 2008 -0700

    mesa: allow variable indexing into the predefined uniform variable arrays
    
    This allows code such as "vec4 a = gl_LightSource[i].ambient;" to work.
    
    When a built-in uniform array is indexed with a variable index we need to
    "unroll" the whole array into the parameter list (aka constant buffer) because
    we don't know which elements may be accessed at compile-time.  In the case of
    the gl_LightSource array of size [8], we emit 64 state references into the
    parameter array (8 elements times 8 vec4s per gl_LightSourceParameters
    struct).
    
    Previously, we only allowed constant-indexed references to uniform arrays
    (such as gl_LightSource[2].position) which resulted in a single state reference
    being added to the parameter array, not 64.  We still optimize this case.
    
    Users should be aware that using "gl_LightSource[i].ambient" in their shaders
    is a bit expensive since state validation will involve updating all 64
    light source entries in the parameter list.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca0540e25c86b8095511868b0cbe96d7e85f7437
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 17:03:09 2008 -0700

    mesa: better error message when running out of GLSL samplers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f346ec0b85375defd049029fa781531fdabda56
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 17:00:36 2008 -0700

    mesa: comments for some state vars

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=432e9fa85233f28ce42c2bcc94053a2deb45dad9
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 17:00:06 2008 -0700

    mesa: increase max constants/uniforms to 256 (vec4 vectors)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=369115e4c7a2985d880951fd8248deefa92025dd
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 19:21:30 2008 +0000

    gallium: Initialize var before use.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70894676c24c3b1c2e7643501f13640d7e56301d
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 17:22:24 2008 +0000

    glut: List new source file in sconscript.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9972d7147b1622074669111d72d85467c8c398cc
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 17:21:25 2008 +0000

    mesa: Do not specify types in bitfields.
    
    As advised by gcc -pedantic.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72f993b5b11174c2917af29ef7a86e7866d681fb
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 17:21:15 2008 +0000

    draw: Do not specify types in bitfields.
    
    As advised by gcc -pedantic.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e0fb49c4515e14c54f23c1d3f8b2e981fe404a2
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 17:15:34 2008 +0000

    gallium: Remove unused variables.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3b7c757a9873007ee033693b06647b378301075
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 17:14:48 2008 +0000

    gallium: Don't redefine INLINE.
    
    INLINE is commonly used in third-party headers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=975e58499a07775e071c2517b4fa21306e8349bb
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 17:13:38 2008 +0000

    scons: Specify C99 throughout all the tree.
    
    MSVC may not support full C99, but supports more than plain C90. And
    -pedantic without -std=c99 generates too many spurious warnings
    (specially C++ style comments) to be of any use.
    
    Note that using certain C99 features in the cross-platform parts of Gallium
    is still not possible; namely mid-of-scope variable declarations and named
    structure initializers will break MSVC builds.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42d00790029da4bc7e77f68c8f1c22ac9c417e42
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 17:06:51 2008 +0000

    rtasm: Remove spurious semi-colons after function bodies.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e63beff5608aca67cf55978e03c53b3fcbca5c3
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 16:35:46 2008 +0000

    gdi: Remove accidental keypresses.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=49a3fabed8a8b6993efb2616c56e362bf3518ac8
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 30 07:57:16 2008 -0700

    mesa: updated compilation documentation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9122072fc5377ee6a174d2b0bde7345d08aeedd
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Thu Dec 18 16:08:42 2008 -0700

    demos: minor fixes to twoside.c glsl demo

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c4346e63258bcaaae6f3045bc44d0e24073dd0e
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Tue Dec 30 11:25:45 2008 +0800

    intel: disable ATI_texture_env_combine3 for i830( and related device).
    
    Thanks to Eric for pointing it out.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c01500228014a6cfa133b5dbba8c6d024833e84
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec 23 16:08:40 2008 -0800

    dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0.
    
    We'd come up with a negative remainder, while we were looking for the positive
    version of it in the loop conditional.  And, since the "did we hit our target"
    break was disabled for the target_msc == 0 ("Just make the divisor/remainder
    work") path, we'd never exit.
    
    Simplify the code by just using int64_t all over instead of trying to do it
    in a u32 space.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c40cd2ccdd8ce7f749d03e66bcca297c2366c1f9
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Mon Dec 29 12:28:12 2008 -0500

    R300: missing semicolon

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0674a238547f9f4f9de9c6cf5d72015e5960aa9e
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Mon Dec 29 09:30:41 2008 +0800

    intel: enable ATI_texture_env_combine3. Fixes #17707

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d1f90c75e39191f1824b382dfb8d709a3e70d01
Author: Dave Airlie <airlied at linux.ie>
Date:   Sun Dec 28 16:48:36 2008 +1000

    r300: remove the unknowns from the indx_buffer code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=49c40b10c72e64977971ccb96abfc8767ed4c6ea
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Fri Nov 7 13:02:43 2008 -0700

    gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=129b6bc4e33257dd27aa9b50c6fa934ccb14376e
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Wed Dec 24 09:26:46 2008 +0800

    i915: separate the fog term from the specular color term.
    
    Previously fog parameter and specular color are packed into the
    same dword. Note specular color should be packed in BGRA for device,
    so if fog parameter and specular color all are present, fog parameter
    will dirty the alpha term of specular color. This fixes rendering
    issue when playing 'Yo Frankie' on 915/945.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15b2e0d13873fb3b55af414285d74f4489dd2e13
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec 23 14:45:37 2008 -0800

    intel: Fix glBitmap clipping for DRI1.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b359350017a8f0328912f19d233bcdcc256aded1
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Dec 19 17:38:23 2008 -0800

    Remove third buffer support from Mesa.
    
    This is part of the deprecated pageflipping infrastructure.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc4cea08fe8320438c72de7f4af2d7091681dca3
Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Tue Dec 23 18:16:49 2008 +0000

    tgsi: fix incomplete rename of loop counter variable

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5d4274b4a8effc70c238060c3728aea629663df
Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Tue Dec 23 13:26:25 2008 +0000

    draw: allow driver-override of draw_need_pipeline()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed7ba03256fc4503d5d7483d032014ac9e8242fe
Author: Michal Krol <michal at vmware.com>
Date:   Tue Dec 23 15:13:59 2008 +0100

    tgsi: Dump indirect register swizzle.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b3c74b4d6786475bc45f883612e76069e722cbd
Author: Michal Krol <michal at tungstengraphics.com>
Date:   Fri Nov 14 13:31:06 2008 +0100

    tgsi: Return 0.0 for negative constant register indices.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8e68f2e55ed22a97b7f976fe9556b2abcc49ea9
Author: Michal Krol <michal at tungstengraphics.com>
Date:   Fri Nov 14 13:26:01 2008 +0100

    tgsi: Keep address register as a floating point.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=417a78bdad11976f89e7bb12e3de0138995a2b1f
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Dec 22 20:23:59 2008 +0000

    softpipe: Don't fill surfaces's winsys fields.
    
    This is sometimes checked to distinguish between texture views and
    (deprecated) standalone surfaces.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc16ba8553e239acf68c6ea5f9729c4f02b2ffc4
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Dec 22 20:20:58 2008 +0000

    softpipe: Call surface_alloc_storage to get the pipebuffer for display targets.
    
    Otherwise blitting from display target surfaces to front screen fails in
    several platforms.




More information about the mesa-commit mailing list