Mesa (master): glsl: use Elements() in arrays instead of sentinal values

2010-07-07 Thread Brian Paul
Module: Mesa Branch: master Commit: 84a5f27b9b7745f7f0486e067684463dd89f6b4b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=84a5f27b9b7745f7f0486e067684463dd89f6b4b Author: Brian Paul Date: Wed Jul 7 08:58:31 2010 -0600 glsl: use Elements() in arrays instead of sentinal values The

Mesa (glsl2): glsl2: Avoid null deref in scalar constant unop expressions.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 570dc0d4004bf09d257b3e4c8664d3c26a8af510 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=570dc0d4004bf09d257b3e4c8664d3c26a8af510 Author: Eric Anholt Date: Wed Jul 7 09:07:09 2010 -0700 glsl2: Avoid null deref in scalar constant unop expressions.

Mesa (glsl2): glsl2: Don' t forget to walk the parameters to a function in the hv.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 773025b92c934014b9ceb4ebfdabcfc9d8587aa2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=773025b92c934014b9ceb4ebfdabcfc9d8587aa2 Author: Eric Anholt Date: Wed Jul 7 08:38:16 2010 -0700 glsl2: Don't forget to walk the parameters to a function in th

Mesa (glsl2): glsl2: Clean up vec_index_to_cond_assign after the clone return type change.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 6de882334ac7f3d32d04261adfed1397e075ffd5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6de882334ac7f3d32d04261adfed1397e075ffd5 Author: Eric Anholt Date: Wed Jul 7 08:39:09 2010 -0700 glsl2: Clean up vec_index_to_cond_assign after the clone retur

Mesa (glsl2): glsl2: Add a pass to simplify if statements returning from both sides.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: d674ebcee0d2731e50d6530502cefcebc39dcdb6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d674ebcee0d2731e50d6530502cefcebc39dcdb6 Author: Eric Anholt Date: Tue Jul 6 18:09:39 2010 -0700 glsl2: Add a pass to simplify if statements returning from bot

Mesa (master): demos: set version to 8.0

2010-07-07 Thread Jerome Glisse
Module: Mesa Branch: master Commit: b78cd1854643fea9fafb40f0034a35bbc9509fb8 URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=b78cd1854643fea9fafb40f0034a35bbc9509fb8 Author: Jerome Glisse Date: Wed Jul 7 14:17:49 2010 -0400 demos: set version to 8.0 Hoping that demos version 8.0 w

Mesa (master): r600: workaround 3 comp GL_SHORT vertex attribute format on r700

2010-07-07 Thread Andre Maasikas
Module: Mesa Branch: master Commit: 51c438feb765cf03d1a6448295e6c62be61a5e56 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51c438feb765cf03d1a6448295e6c62be61a5e56 Author: Andre Maasikas Date: Wed Jul 7 21:32:07 2010 +0300 r600: workaround 3 comp GL_SHORT vertex attribute format o

Mesa (glsl2): ir_to_mesa: Fill in some uninitialized fields that sometimes contained junk.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 8bb15c1ed55eb71533d2af94a6afbf01e3d23610 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bb15c1ed55eb71533d2af94a6afbf01e3d23610 Author: Eric Anholt Date: Wed Jul 7 11:38:55 2010 -0700 ir_to_mesa: Fill in some uninitialized fields that sometimes c

Mesa (glsl2): ir_to_mesa: Add support for gl_TextureMatrix access.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 76101f7c0468c7f346b1a8d6b824fc8914a17bd1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76101f7c0468c7f346b1a8d6b824fc8914a17bd1 Author: Eric Anholt Date: Wed Jul 7 11:39:48 2010 -0700 ir_to_mesa: Add support for gl_TextureMatrix access. Fixes gl

Mesa (master): st/mesa: fix sampler max_lod computation

2010-07-07 Thread Brian Paul
Module: Mesa Branch: master Commit: 9755539116fd0b818cc0636a6d6ed10b19b639be URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9755539116fd0b818cc0636a6d6ed10b19b639be Author: Brian Paul Date: Wed Jul 7 13:04:47 2010 -0600 st/mesa: fix sampler max_lod computation This change makes ga

Mesa (glsl2): exec_list: Add method to append one complete list to another

2010-07-07 Thread Ian Romanick
Module: Mesa Branch: glsl2 Commit: c44556317abf77ca6e344c79d119c91bebe25c8c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c44556317abf77ca6e344c79d119c91bebe25c8c Author: Ian Romanick Date: Wed Jul 7 12:12:48 2010 -0700 exec_list: Add method to append one complete list to another

Mesa (glsl2): Revert "glsl2: Put the declaration in the instruction stream before its initializer."

2010-07-07 Thread Ian Romanick
Module: Mesa Branch: glsl2 Commit: 2e85f993d8a014b53ad2f6d295cf66d3fb38b091 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e85f993d8a014b53ad2f6d295cf66d3fb38b091 Author: Ian Romanick Date: Wed Jul 7 11:57:16 2010 -0700 Revert "glsl2: Put the declaration in the instruction stream

Mesa (glsl2): glsl2: Initialize yylineno and yycolumn so line numbers are sane.

2010-07-07 Thread Ian Romanick
Module: Mesa Branch: glsl2 Commit: 388ab9fa6b468d8c162dd4fc645d2f758c49051c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=388ab9fa6b468d8c162dd4fc645d2f758c49051c Author: Kenneth Graunke Date: Wed Jul 7 11:40:51 2010 -0700 glsl2: Initialize yylineno and yycolumn so line numbers ar

Mesa (glsl2): ir_constant_expression: Fix loop increments.

2010-07-07 Thread Ian Romanick
Module: Mesa Branch: glsl2 Commit: acf88f2769c15c9185abe5bd76a885218f431e58 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=acf88f2769c15c9185abe5bd76a885218f431e58 Author: Kenneth Graunke Date: Wed Jul 7 12:08:23 2010 -0700 ir_constant_expression: Fix loop increments. --- src/gl

Mesa (glsl2): glsl2: Put the initializer in the instruction stream after the declaration

2010-07-07 Thread Ian Romanick
Module: Mesa Branch: glsl2 Commit: e78e0fa42b49b50ed1150f7fdb74bf942ebd6bcf URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e78e0fa42b49b50ed1150f7fdb74bf942ebd6bcf Author: Ian Romanick Date: Wed Jul 7 12:13:34 2010 -0700 glsl2: Put the initializer in the instruction stream after th

Mesa (glsl2): glsl2: Fix ir_div_to_mul_rcp for integer division.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 9cbd8a1d5a85f39f12e9edbd2defbb9e9d0468ef URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cbd8a1d5a85f39f12e9edbd2defbb9e9d0468ef Author: Eric Anholt Date: Wed Jul 7 12:25:22 2010 -0700 glsl2: Fix ir_div_to_mul_rcp for integer division. rcp of an

Mesa (glsl2): glsl2: Actually add the declaration of _post_incdec_temp.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 43b5b03d67ce890e867c81d4a5cfc4871d711d43 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43b5b03d67ce890e867c81d4a5cfc4871d711d43 Author: Eric Anholt Date: Wed Jul 7 14:04:30 2010 -0700 glsl2: Actually add the declaration of _post_incdec_temp. ---

Mesa (glsl2): glsl: Fix the setup of refract()'s output for vec3/ vec4 and k < 0.0.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 0b74bbb3dcf07489e1dbd1976f07093ad7821e51 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b74bbb3dcf07489e1dbd1976f07093ad7821e51 Author: Eric Anholt Date: Wed Jul 7 14:53:43 2010 -0700 glsl: Fix the setup of refract()'s output for vec3/vec4 and k

Mesa (glsl2): linker: Use bit-0 instead of VERT_BIT_GENERIC0

2010-07-07 Thread Ian Romanick
Module: Mesa Branch: glsl2 Commit: 35c89204e597e6d4d3e8b8c665ce1c51d6dde4d7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=35c89204e597e6d4d3e8b8c665ce1c51d6dde4d7 Author: Ian Romanick Date: Wed Jul 7 16:28:39 2010 -0700 linker: Use bit-0 instead of VERT_BIT_GENERIC0 Uses of the b

Mesa (master): gallivm: fix cube map LOD computation

2010-07-07 Thread Brian Paul
Module: Mesa Branch: master Commit: b17fba92dbee3a91c7854cb2935fa1e6be81982d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b17fba92dbee3a91c7854cb2935fa1e6be81982d Author: Brian Paul Date: Wed Jul 7 17:27:10 2010 -0600 gallivm: fix cube map LOD computation First, this undoes comm

Mesa (master): gallivm: restore const qualifier

2010-07-07 Thread Brian Paul
Module: Mesa Branch: master Commit: d95b40759e82b11bd4b458ec9e44eb6234da1849 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d95b40759e82b11bd4b458ec9e44eb6234da1849 Author: Brian Paul Date: Wed Jul 7 17:36:43 2010 -0600 gallivm: restore const qualifier --- src/gallium/auxiliary/

Mesa (glsl2): ir_to_mesa: Add support for matrix * matrix.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 9b68b88e43c424439d425534ef280ee7a9406a1b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b68b88e43c424439d425534ef280ee7a9406a1b Author: Eric Anholt Date: Wed Jul 7 15:55:47 2010 -0700 ir_to_mesa: Add support for matrix * matrix. --- src/mesa/s

Mesa (glsl2): ir_reader: Don't emit ir_function multiple times.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: e024c5c6900c068634c2726d9ccfb9beac966c57 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e024c5c6900c068634c2726d9ccfb9beac966c57 Author: Kenneth Graunke Date: Wed Jul 7 15:23:27 2010 -0700 ir_reader: Don't emit ir_function multiple times. --- s

Mesa (glsl2): ir_to_mesa: Add support for assignment of aggregates.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 7d8091f7cca0314dd66599bdce5bfcf09fe8b578 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d8091f7cca0314dd66599bdce5bfcf09fe8b578 Author: Eric Anholt Date: Wed Jul 7 16:10:04 2010 -0700 ir_to_mesa: Add support for assignment of aggregates. --- s

Mesa (glsl2): ir_to_mesa: Only allocate a vector per column of a matrix.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 9968f1b23c475c99139f0209c7a049ed00df01af URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9968f1b23c475c99139f0209c7a049ed00df01af Author: Eric Anholt Date: Wed Jul 7 16:16:09 2010 -0700 ir_to_mesa: Only allocate a vector per column of a matrix. --

Mesa (glsl2): ir_to_mesa: Don't assert that we can't assign matrices. It should work now.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 69676fc6a3ffbc2c99af541b954427c2e4966d68 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69676fc6a3ffbc2c99af541b954427c2e4966d68 Author: Eric Anholt Date: Wed Jul 7 17:24:00 2010 -0700 ir_to_mesa: Don't assert that we can't assign matrices. It sh

Mesa (glsl2): ir_to_mesa: Add support for adding/subtracting matrices.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: b4d0c0e0ee983ee614b047799c3e01221a353c98 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4d0c0e0ee983ee614b047799c3e01221a353c98 Author: Eric Anholt Date: Wed Jul 7 17:08:58 2010 -0700 ir_to_mesa: Add support for adding/subtracting matrices. This

Mesa (glsl2): ir_to_mesa: Add support for constant matrices (untested).

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: ffd24b0a6844871eed0c78608431e2f82d5615e1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffd24b0a6844871eed0c78608431e2f82d5615e1 Author: Eric Anholt Date: Wed Jul 7 17:49:05 2010 -0700 ir_to_mesa: Add support for constant matrices (untested). ---

Mesa (glsl2): ir_to_mesa: Fix the assertion on LHS array derefs to DWIM.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: ea2a03f0a5b8b58ea88ecb607664ea50c9d6e96e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea2a03f0a5b8b58ea88ecb607664ea50c9d6e96e Author: Eric Anholt Date: Wed Jul 7 17:59:50 2010 -0700 ir_to_mesa: Fix the assertion on LHS array derefs to DWIM. Th

Mesa (master): mesa: initial support for new GL 3.0 texture formats

2010-07-07 Thread Brian Paul
Module: Mesa Branch: master Commit: 6988f65e43297ae63bbce30bf882f870b370096c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6988f65e43297ae63bbce30bf882f870b370096c Author: Brian Paul Date: Wed Jul 7 20:26:33 2010 -0600 mesa: initial support for new GL 3.0 texture formats --- sr

Mesa (master): gs: inject const int gl_VerticesIn at link time

2010-07-07 Thread Zack Rusin
Module: Mesa Branch: master Commit: 7c42390453e611367cf1ba11446692ec04e0abfb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c42390453e611367cf1ba11446692ec04e0abfb Author: Zack Rusin Date: Wed Jul 7 00:54:33 2010 -0400 gs: inject const int gl_VerticesIn at link time --- src/mes

Mesa (master): slang: add some comments related to geometry shaders

2010-07-07 Thread Zack Rusin
Module: Mesa Branch: master Commit: f11e25ee957549ab867fac4f17a5c61fd9172794 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f11e25ee957549ab867fac4f17a5c61fd9172794 Author: Zack Rusin Date: Wed Jul 7 16:41:01 2010 -0400 slang: add some comments related to geometry shaders --- sr

Mesa (master): slang: fix typos

2010-07-07 Thread Zack Rusin
Module: Mesa Branch: master Commit: 396f2cd94ffe4f11af79a1ed58fb6443fd6e124a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=396f2cd94ffe4f11af79a1ed58fb6443fd6e124a Author: Zack Rusin Date: Thu Jul 8 00:33:31 2010 -0400 slang: fix typos --- src/mesa/slang/slang_codegen.c |4

Mesa (glsl2): glsl2: Add support for gl_PointCoord in 1.20.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 152b55e74da7bf548d8846538b85960f703d6059 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=152b55e74da7bf548d8846538b85960f703d6059 Author: Eric Anholt Date: Wed Jul 7 19:45:22 2010 -0700 glsl2: Add support for gl_PointCoord in 1.20. Fixes glsl-fs-p

Mesa (glsl2): mesa: Fix documentation of BranchTarget for BRK.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: f632a330eccb26c28a3b94216c55994e94988751 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f632a330eccb26c28a3b94216c55994e94988751 Author: Eric Anholt Date: Wed Jul 7 21:00:32 2010 -0700 mesa: Fix documentation of BranchTarget for BRK. It was chang

Mesa (glsl2): mesa: Extend register lifetimes to the end of the largest loop required.

2010-07-07 Thread Eric Anholt
Module: Mesa Branch: glsl2 Commit: 25cda5039df0da6c2c65f1cac1bfc750c0c16e82 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=25cda5039df0da6c2c65f1cac1bfc750c0c16e82 Author: Eric Anholt Date: Wed Jul 7 21:28:28 2010 -0700 mesa: Extend register lifetimes to the end of the largest loop