Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-10 | regenerated | Brian | |
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 | regenerated | Brian | |
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 | regenerated | Brian | |
2007-04-17 | fix/simplify some texture functions | Brian | |
2007-04-17 | more matrix function updates | Brian | |
2007-04-14 | implement shadow2DRect functions | Brian | |
2007-04-11 | regenerated | Brian | |
2007-04-11 | checkpoint: updating non-square matrix constructors and operators | Brian | |
2007-04-11 | move/fix texture sampling funcs | Brian | |
2007-04-10 | Add missing generated file. | Michel Dänzer | |
2007-04-08 | support for GLSL 1.20 non-square matrices | Brian | |
2007-03-28 | Handle logical NOT and XOR without library functions. Results in much ↵ | Brian | |
tighter code. | |||
2007-03-13 | get rid of float_multiply, float_add, float_divide | Brian | |
2007-03-12 | Implement GL_ARB_texture_rectangle support | Brian | |
This includes the sampler2DRect and sampler2DRectShadow types and the texture2DRect(), texture2DRectProj(), etc. built-in functions. | |||
2007-03-09 | use gl_ModelViewProjectionMatrixTranspose in ftransform() | Brian | |
2007-03-08 | added missing bvec2/3/4 constructors | 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-03-07 | regenerated | Brian | |
2007-03-07 | fix broken __postDecr() | Brian | |
2007-03-06 | more integer arithmetic updates | Brian | |
2007-03-06 | fix some int arithmetic problems | Brian | |
2007-02-03 | minor tweaks to distance() funcs | Brian | |
2007-02-02 | remove slang_builtin_vec4.gc | Brian | |
2007-02-02 | remove slang_builtin_vec4.gc | 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-20 | Reimplement && and || to do short-circuit evaluation. | Brian | |
Improved shader error handling. | |||
2007-01-20 | rewrite more __postIncr functions | Brian | |
2007-01-19 | Rewrite normalize(vec3/vec4) to use one less register. | Brian | |
2007-01-19 | print error msg when there's a problem | Brian | |
2007-01-19 | remove stray tab | Brian | |
2007-01-19 | change while-loop to create new scope for loop body, per spec | Brian | |
2007-01-18 | rewrite a bunch of assignment operators (like +=) | Brian | |
2007-01-17 | rewrite additional matrix-related functions to reduce register needs | Brian | |
2007-01-17 | rewrite mat4 * mat4 operator to use fewer temps | Brian | |
2007-01-17 | rewrite matrix constructors | Brian | |
2007-01-17 | Rewrite a bunch of constructors. It's now important that the first | Brian | |
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-16 | comments | Brian | |
2007-01-16 | implement logical or, xor, not | Brian | |
2007-01-16 | some additional vector constructors | Brian | |
2007-01-15 | Reimplement 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-15 | Implement the ++var and --var operators, improve some constructors. | Brian | |
2007-01-13 | added another vec4 constructor, updated += operator | Brian | |
2007-01-11 | new vec3 constructor, replace float_add w/ vec4_add | Brian | |
2007-01-09 | remove old comment | Brian | |