Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-08-22 | mesa: glsl: implement exp() functions in terms of EXP asm instruction, not pow | Brian Paul | |
2008-08-12 | mesa: glsl: better mod() functions | Brian Paul | |
2008-08-11 | mesa: glsl: change refract() functions to allow inlining | Brian Paul | |
2008-08-11 | mesa: glsl: use SGE instead of SGT in step() functions | Brian Paul | |
2008-08-11 | mesa: glsl: fix bugs in refract() functions, plus minor optimization | Brian Paul | |
2008-08-05 | mesa: glsl: remove invalid use of f.x syntax where f is a float | Brian Paul | |
2008-08-05 | mesa: glsl: re-org of intermediate/temp storage | Brian Paul | |
Simplify the code for allocating storage for intermediate results. Use fewer temps in some cases. Also, use new asm vec4_move intrinsic instead of regular assigments in various constructors. For example: float f; vec3 v; v.xyz = f; is not legal GLSL, so do this instead: __asm vec4_move v.xyz, f; // note: f will auto-expand into f.xxxx Plus, fix assorted bugs in structure comparison. | |||
2008-07-17 | mesa: fix/improve the atan(y,x) function | Brian Paul | |
2008-07-16 | mesa: fix copy&paste errors in degrees() functions | Brian Paul | |
2008-07-02 | mesa: added some missing equal() notEqual() intrinsics | Brian Paul | |
cherry-picked from master | |||
2008-07-02 | mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors | Brian Paul | |
cherry-picked from master | |||
2008-05-14 | mesa: fix missing w assignment in asin(vec4) | Brian Paul | |
2007-05-10 | Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function. | Brian | |
exp() was using __asm float_exp (OPCODE_EXP) but that computes base two, not e. See bug 10907. | |||
2007-05-01 | implement acos(), asin(), atan() | Brian | |
2007-04-27 | asin(), acos(), atan() just return 0.5 for now to avoid crashing. Fix someday. | Brian | |
2007-04-17 | fix/simplify some texture functions | Brian | |
2007-04-14 | implement shadow2DRect functions | Brian | |
2007-04-11 | move/fix texture sampling funcs | Brian | |
2007-03-08 | Update lessThan(), lessThanEqual() functions, improve some matrix constructors. | Brian | |
2007-03-08 | Rework matrix-related code. | Brian | |
GLSL matrices are stored in column-major order while GL_ARB_vertex/fragment_program use row-major. So, need to use STATE_MATRIX_TRANSPOSE for built-in matrices. Unfortunately, this means that the expression M * V isn't very efficient since we need to extract the rows out of M. And that's the typical expression for vertex transformation: gl_ModelViewProjectionMatrix * gl_Position. Solve this inefficiency by looking for M*V expressions and replacing them with V*Transpose(M). Also, add support for GLSL 1.20's MatrixTranspose, Inverse and InverseTranspose matrices. | |||
2007-02-03 | minor tweaks to distance() funcs | Brian | |
2007-01-31 | New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with ↵ | Brian | |
instruction saturate-write option. Not finished yet. | |||
2007-01-28 | noise functions | Brian | |
2007-01-28 | implement mix() with LRP instruction | Brian | |
2007-01-19 | Rewrite normalize(vec3/vec4) to use one less register. | Brian | |
2007-01-08 | implement biased texture functions | Brian | |
2007-01-08 | update texture1D functions | Brian | |
2007-01-08 | Implement projective texture sampling, 3D textures. Disable some debug output. | Brian | |
2007-01-05 | Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵ | Brian | |
properly. | |||
2007-01-04 | initial code to get texture sampling limping along | Brian | |
2006-12-21 | chmod a-x | Brian | |
2006-12-13 | Rewrite/simplify most built-in functions to use updated set of __asm ↵ | Brian | |
instructions. | |||
2006-04-18 | Remove carriage-return chars *ONLY*. | Michal Krol | |
2006-03-21 | GLSL 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-14 | More GLSL code: | Michal Krol | |
- add texture sampling support; - fix assembly codegen bugs; | |||
2006-02-21 | More 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-18 | More GLSL code. | Michal Krol | |
- general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff. | |||
2006-02-13 | More glsl code. | Michal Krol | |
2005-04-13 | cosmetic changes; | Michal Krol | |
fix syntax errors; | |||
2005-01-28 | move file | Michal Krol | |