Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-13 | mesa: remove unused/obsolete __NormalMatrixTranspose matrix | Brian Paul | |
2008-08-25 | mesa: glsl: grab latest fixes from gallium-0.1 branch | Brian Paul | |
Includes: 1. Fixes failed asserting about bad swizzles in src reg emit. 2. Tracks uniform var usage. 3. Emit exp() in terms of EXP2 instruction. | |||
2008-08-16 | mesa: import latest GLSL code from gallium-0.1 branch | Brian Paul | |
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 | |
2008-07-02 | mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors | Brian Paul | |
2008-01-31 | fix w component of glsl vec4 asin | Roland Scheidegger | |
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 | |