summaryrefslogtreecommitdiff
path: root/src/mesa/slang
AgeCommit message (Collapse)Author
2010-08-12glsl: print to stderr like other program printing codeBrian Paul
2010-08-05glsl: fix atan(0, -1)Brian Paul
Fixes fd.o bug 29388 NOTE: this is a candidate for the 7.8 branch.
2010-07-30mesa: added gl_program::IndirectRegisterFiles fieldBrian Paul
Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker.
2010-07-22glsl: remove invalid _mesa_problem() callBrian Paul
Fixes fd.o bug 29206.
2010-07-21Add missing initialization of inOutFlags pointer.Carl Worth
This quiets a compiler warning, (and ensures a segmentation fault rather than memory corruption if this variable is written through before being initialized elsewhere).
2010-07-13mesa: add comments and change Index2D to just Index2Zack Rusin
2010-07-10Revert "mesa: temporarily enable printing of Mesa's GPU instructions"Zack Rusin
This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4.
2010-07-10mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin
first working version of arb_geometry_shader4
2010-07-09mesa: initial support for emitting 2D registers from slangZack Rusin
2010-07-09mesa: temporarily enable printing of Mesa's GPU instructionsZack Rusin
2010-07-08glsl: fix indirect addressing of gl_TextureMatrix[] arraysBrian Paul
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.
2010-07-08glsl: fix 'if ((x=foo()) > 1.0)' bugBrian Paul
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.
2010-07-08slang: fix typosZack Rusin
2010-07-08slang: add some comments related to geometry shadersZack Rusin
2010-07-08gs: inject const int gl_VerticesIn at link timeZack Rusin
2010-07-07glsl: use Elements() in arrays instead of sentinal valuesBrian Paul
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.
2010-07-02mesa: add geometry shader fields to gl_shader_programBrian Paul
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.
2010-06-28mesa: initial support for ARB_geometry_shader4Zack Rusin
laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-06-10mesa: move shader/slang/* sources to main/slang/*Brian Paul
Reduce the source tree depth a bit.