Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-10 | slang: Explicitly enable ARB_draw_buffers and ARB_texture_rectangle. | Michal Krol | |
They are no longer built into the glsl preprocessor. | |||
2009-12-10 | Build mesa glsl with make. | michal | |
Still don't know how to add glsl to mesa dependencies. | |||
2009-11-25 | slang/library: Don't need the *_gc.h files, they are autogenerated now. | Michal Krol | |
2009-11-25 | scons: Autogenerate GLSL builtin library *_gc.h from *.gc files. | Michal Krol | |
2009-11-23 | slang: Fix order of parameters to sl_pp_tokenise(). | Michal Krol | |
2009-11-21 | slang: No need to purify source text for tokeniser. | Michal Krol | |
2009-11-13 | slang: Report syntax parser errors. | Michal Krol | |
2009-11-13 | slang: Regenerate .gc files. | Michal Krol | |
2009-11-13 | slang: Get rid of the old syntax file and utilities. | Michal Krol | |
2009-11-13 | slang: Plug in the new syntax parser. | Michal Krol | |
2009-11-10 | slang: Update for glsl/pp interface changes. | Michal Krol | |
2009-09-22 | slang: Differentiate between uints and floats. | Michal Krol | |
2009-09-18 | slang: Use glsl pp public interface. | Michal Krol | |
2009-09-17 | Merge commit 'origin/master' into glsl-pp-rework-2 | Michal Krol | |
Conflicts: src/gallium/winsys/gdi/SConscript | |||
2009-09-16 | slang: Propagate error messages from preprocessor. | Michal Krol | |
2009-09-16 | slang: Invoke the preprocessor from withing the slang compiler. | Michal Krol | |
This allows us to validate the shader version number. | |||
2009-09-15 | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | |
2009-09-14 | glsl: remove extra #version directives from concatenated shader sources | Brian Paul | |
When we concatenate shaders to do our form of poor-man linking, if there's multiple #version directives, preprocessing fails. This change disables the extra #version directives by changing the first two chars to //. This should help with some Wine issues such as bug 23946. | |||
2009-09-08 | slang: Correctly handle end of tokens marker. | Michal Krol | |
2009-09-08 | slang: Do not parse whitespace. | Michal Krol | |
The preprocessor tokeniser deals with those. | |||
2009-09-08 | slang: Correctly parse numbers from the new preprocessor. | Michal Krol | |
2009-09-08 | slang: Remove the old preprocessor. | Michal Krol | |
2009-09-08 | slang: Remove dependencies on error tokens. | Michal Krol | |
2009-09-07 | slang: Adapt shader syntax description to grammar parser changes. | Michal Krol | |
2009-08-25 | glsl: update a texture/sampler comment | Brian Paul | |
2009-08-24 | glsl: Silence gcc uninitialized variable warning. | Vinson Lee | |
2009-08-24 | glsl: Silence gcc uninitialized variable warning. | Vinson Lee | |
2009-08-13 | glsl: fix incorrect attribute size | Brian Paul | |
2009-08-12 | glsl: remove duplicate frag input entry | Brian Paul | |
2009-08-12 | Merge branch 'new-frag-attribs' | Brian Paul | |
This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere. | |||
2009-08-12 | glsl: add gl_Vertex, gl_Normal, etc to list of active attributes | Brian Paul | |
If a vertex shader uses gl_Vertex, gl_Normal, etc, we need to include them when the user queries the list of active attributes. Before this we were just including the user-defined attributes. | |||
2009-08-12 | glsl: move predefined shader input/output info/code to slang_builtin.c | Brian Paul | |
This is a more logical place for this code. Also add some functions for querying vertex shader input names, types, etc. | |||
2009-07-29 | mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs | Brian Paul | |
Previously, the FOGC attribute contained the fragment fog coord, front/back- face flag and the gl_PointCoord.xy values. Now each of those things are separate fragment program attributes. This simplifies quite a few things in Mesa and gallium. Need to test i965 driver and fix up point coord handling in the gallium/draw module... | |||
2009-07-09 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-07-09 | glsl: do const parameter optimization for array element actual parameters | Brian Paul | |
When a function parameter is const-qualified we can avoid making a copy of the actual parameter (we basically do a search/replace when inlining). This is now done for array element params too, resulting in better code (fewer MOV instructions). We should allow some other types of function arguments here but let's be conservative for the moment. | |||
2009-07-09 | glsl: fix incorrect indexing for gl_TextureMatrix[i][j] | Brian Paul | |
The two indexes were mixed up when accessing a row of a matrix in an array of matrices. | |||
2009-07-03 | Merge branch 'mesa_7_5_branch' | Jakob Bornecrantz | |
Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c | |||
2009-07-03 | mesa/shaders: fix gl_NormalMatrix state parameters | Keith Whitwell | |
gl_NormalMatrix is the inverse transpose of the modelview matrix, but as every matrix here needs to be transposed, we end up with {MODELVIEW_MATRIX, INVERSE}. | |||
2009-06-26 | glsl: check number of varying variables against the limit | Brian Paul | |
Link fails if too many varying vars. (cherry picked from master, commit cc58fbcf2c5c88f406818db60910f537e03610d6) | |||
2009-06-26 | glsl: move/simplify error checking for 'return' statements | Brian Paul | |
2009-06-26 | glsl: overhaul 'return' statement handling | Brian Paul | |
A new node type (SLANG_OPER_RETURN_INLINED) is used to denote 'return' statements inside inlined functions which need special handling. All glean glsl1 tests pass for EmitContReturn=FALSE and TRUE. | |||
2009-06-26 | glsl: predicate assignments according to __returnFlag | Brian Paul | |
Fixes glean "function with early return (3)" case (when EmitContReturn=FALSE). | |||
2009-06-26 | glsl: added slang_variable::is_global field | Brian Paul | |
2009-06-26 | glsl: silence a problem warning | Brian Paul | |
2009-06-26 | glsl: code refactoring for return statements | Brian Paul | |
2009-06-26 | glsl: fix assorted regressions related to early-return-removal | Brian Paul | |
2009-06-26 | glsl: comments, field reordering | Brian Paul | |
2009-06-26 | glsl: rework loop nesting code | Brian Paul | |
2009-06-26 | glsl: remove test for loop unrolling when we hit conditional cont/break | Brian Paul | |
This is no longer needed since we added the new _slang_loop_contains_continue_or_break() function/test. | |||
2009-06-26 | glsl: checkpoint: predicate __retVal = expr with __returnFlag | Brian Paul | |
The glean "function with early return (1)" test passes now. |