summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/library
AgeCommit message (Collapse)Author
2006-12-20Checkpoing: re-organization of basic arithmetic functions.Brian
2006-12-20Uniform matrix support.Brian
Implement _mesa_uniform_matrix() Support for program parameters/uniforms with more than 4 elements. Store 4x4 matrices in column-major order in registers. Update mat mul built-in functions accordingly.
2006-12-19rewrite +=, -= etc for floatsBrian
2006-12-18commentsBrian
2006-12-15start rewriting the matrix/vector functionsBrian
2006-12-15redo mat4 addition, mat4 constructor from vec4sBrian
2006-12-13Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes.Brian
2006-12-13Rewrite/simplify most built-in functions to use updated set of __asm ↵Brian
instructions.
2006-09-26Fix Windows newlines.Michal Krol
2006-09-26Add syntax files for expression and directive preprocessor.Michal Krol
Fix syntax errors in builtin library 1.2 sources. All derivative files (*_gc.h and *_syn.h) are generated by Makefile.
2006-08-21More GLSL preprocessor code:Michal Krol
Rename slang_version.syn to slang_pp_version.syn. The #version directive understands version 120. Cosmetic changes in version preprocessor. Checks if requested version is supported by the compiler.
2006-08-21GLSL 1.20 constructors and operators.Michal Krol
2006-08-09GLSL 1.20 built-in library.Michal Krol
2006-08-02Add vec4 extension.Michal Krol
2006-07-30Program to convert .syn file to .h headers.Michal Krol
2006-05-16Change error message wording.Michal Krol
2006-05-16Rename print() to printMESA().Michal Krol
2006-04-28added a trailing newline to pacify gccTilman Sauerbeck
2006-04-18Remove carriage-return chars *ONLY*.Michal Krol
2006-03-21GLSL fixes:Michal Krol
- generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
2006-03-14More GLSL code:Michal Krol
- add texture sampling support; - fix assembly codegen bugs;
2006-02-21More GLSL code:Michal Krol
- uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos); - fix bugs and optimize array size handling; - 2D texture sampling (needs Enable(TEXTURE_2D) to work); - decrease built-in library assembly size by 30%.
2006-02-18More GLSL code.Michal Krol
- general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff.
2006-02-15Fix a few warnings:Brian Paul
- nested comments (use #if 0 / #endif instead) - missing default clause in switch statements - use of possibly undefined variables
2006-02-13More glsl code.Michal Krol
2006-02-13REVISION 3.Michal Krol
Remove illegal operators for overloading.
2006-02-13Cosmetic changes.Michal Krol
2006-02-13Delete most of the comments.Michal Krol
Minor tweaks with the functions. Add experimental print functions.
2006-01-16remove slang_*_gc.h files;Michal Krol
rename slang_*_gc_bin.h files to slang_*_gc.h ones; store built-in library code in a precompiled form only;
2005-10-28add newline at end of fileBrian Paul
2005-06-30added newline at end of fileBrian Paul
2005-05-25a small utility to convert .syn files to its binary forms;Michal Krol
does not require any command line params;
2005-05-25remove the GLSL spec wording;Michal Krol
reorder some elementary operators; disable assignment "=" and equality "==" "!=" operators - they are handled internally by the assembly generator; fix minor typos
2005-04-22Provide precompiled binary versions of built-in library .gc sourcesMichal Krol
to dramatically improve shader compiling performance.
2005-04-15remove carriage returnsBrian Paul
2005-04-15slang #version directive syntaxMichal Krol
2005-04-15change __asm statement semanticsMichal Krol
2005-04-13add __fixed_input and __fixed_output qualifier support;Michal Krol
fix for_init_statement output;
2005-04-13cosmetic changes;Michal Krol
add __fixed_input and __fixed_output qualifiers for built-in variables;
2005-04-13cosmetic changes;Michal Krol
fix syntax errors;
2005-04-13cosmetic changes;Michal Krol
change first parameter's qualifier from inout to out for __operator =; remove __asm instructions: int_add, int_multiply, int_divide, int_negate, int_less, int_equal, bool_equal;
2005-04-13converts a .gc file to a C header containing string form of the fileMichal Krol
2005-01-28move fileMichal Krol