summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/library/slang_core.gc
AgeCommit message (Collapse)Author
2007-01-20Reimplement && and || to do short-circuit evaluation.Brian
Improved shader error handling.
2007-01-20rewrite more __postIncr functionsBrian
2007-01-18rewrite a bunch of assignment operators (like +=)Brian
2007-01-17rewrite additional matrix-related functions to reduce register needsBrian
2007-01-17rewrite mat4 * mat4 operator to use fewer tempsBrian
2007-01-17rewrite matrix constructorsBrian
2007-01-17Rewrite a bunch of constructors. It's now important that the firstBrian
constructor for any given type be the one that takes the most parameters as this is the constructor that'll be used when there's no perfect match to the caller's arguments. See the _slang_adapt_call() function for details.
2007-01-16commentsBrian
2007-01-16implement logical or, xor, notBrian
2007-01-16some additional vector constructorsBrian
2007-01-15Reimplement the post-increment/decrement functions.Brian
Instead of defining functions with an extra dummy parameter to distinguish from the pre-incr/decr functions, just use new function names: __postIncr and __postDecr.
2007-01-15Implement the ++var and --var operators, improve some constructors.Brian
2007-01-13added another vec4 constructor, updated += operatorBrian
2007-01-11new vec3 constructor, replace float_add w/ vec4_addBrian
2007-01-04Fix some incorrect GL error values. Reorganize _mesa_compile_shader() code.Brian
2006-12-21chmod a-xBrian
2006-12-21checkpoint: pre/post incr/decr operatorsBrian
2006-12-21checkpoint: rewrite vec/mat productsBrian
2006-12-21checkpoint: matrix/float, unary negation rewriteBrian
2006-12-21checkpoint: ivec/int and mat/mat operationsBrian
2006-12-21checkpoint: more basic math rewrittingBrian
2006-12-20checkpoint: re-org assignment operator functionsBrian
2006-12-20checkpoint: more basic math operator re-orgBrian
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-13Rewrite/simplify most built-in functions to use updated set of __asm ↵Brian
instructions.
2006-05-16Rename print() to printMESA().Michal Krol
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-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-13Delete most of the comments.Michal Krol
Minor tweaks with the functions. Add experimental print functions.
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-15change __asm statement semanticsMichal Krol
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-01-28move fileMichal Krol