summaryrefslogtreecommitdiffstats
path: root/src/mesa/slang
Commit message (Collapse)AuthorAgeFilesLines
* glsl: remove invalid _mesa_problem() callBrian Paul2010-07-221-0/+2
| | | | Fixes fd.o bug 29206.
* Add missing initialization of inOutFlags pointer.Carl Worth2010-07-211-1/+1
| | | | | | This quiets a compiler warning, (and ensures a segmentation fault rather than memory corruption if this variable is written through before being initialized elsewhere).
* mesa: add comments and change Index2D to just Index2Zack Rusin2010-07-134-14/+16
|
* Revert "mesa: temporarily enable printing of Mesa's GPU instructions"Zack Rusin2010-07-101-1/+1
| | | | This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4.
* mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin2010-07-102-4/+16
| | | | first working version of arb_geometry_shader4
* mesa: initial support for emitting 2D registers from slangZack Rusin2010-07-096-40/+98
|
* mesa: temporarily enable printing of Mesa's GPU instructionsZack Rusin2010-07-091-1/+1
|
* glsl: fix indirect addressing of gl_TextureMatrix[] arraysBrian Paul2010-07-081-1/+31
| | | | | | | | | The code to emit an array of OpenGL state vars lacked the code to handle the gl_TextureMatrix[] array. Fixes fd.o bug 28967 NOTE: this is a candidate for the 7.8 branch.
* glsl: fix 'if ((x=foo()) > 1.0)' bugBrian Paul2010-07-081-1/+5
| | | | | | | | | Fixes fd.o bug 27216. May also be the root cause of fd.o bug 28950. We weren't propogating the storage info for the x=foo() expression up through the IR tree to the inequality expression. NOTE: This is a candidate for the Mesa 7.8 branch.
* slang: fix typosZack Rusin2010-07-081-2/+2
|
* slang: add some comments related to geometry shadersZack Rusin2010-07-082-0/+15
|
* gs: inject const int gl_VerticesIn at link timeZack Rusin2010-07-084-6/+38
|
* glsl: use Elements() in arrays instead of sentinal valuesBrian Paul2010-07-071-20/+20
| | | | | | The _slang_*_output_name() functions had one too many loop iterations because of the sentinal end-of-list values in the vertOutput array. Just use Elements() everywhere.
* mesa: add geometry shader fields to gl_shader_programBrian Paul2010-07-021-1/+6
| | | | | | | These 3 fields are per shader-program. Copy them into the geometry program at link time for convenient access later. Also, add some missing glGetProgramiv() queries.
* mesa: initial support for ARB_geometry_shader4Zack Rusin2010-06-2813-46/+382
| | | | | | laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-1012-46/+46
|
* mesa: move shader/slang/* sources to main/slang/*Brian Paul2010-06-1049-0/+27869
Reduce the source tree depth a bit.