Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-08 | glsl: fix typo in the vec2 += operator function | Brian Paul | |
2009-01-08 | glsl: fix broken +=, -=, *=, /= operators | Brian Paul | |
These functions need to return the final computed value. Now expressions such as a = (b += c) work properly. Also, no need to use __asm intrinsics in these functions. The resulting code is the same when using ordinary arithmetic operators and is more legible. | |||
2008-12-15 | mesa: bump glsl grammar revision | Brian Paul | |
And update some copyrights. | |||
2008-12-11 | mesa: checkpoint commit of GLSL 1.20 array syntax. | Brian Paul | |
This allows things like float[3] x = float[3](1., 2., 3.); Parsing and AST construction now. Codegen not working yet. | |||
2008-11-24 | mesa: support for GLSL 1.20 array types | Brian Paul | |
This allows syntax like "float[8] foo, bar;" | |||
2008-11-07 | mesa: add support for 'centroid' qualifier in GLSL 1.20 | Brian Paul | |
2008-11-07 | mesa: add support for 'invariant' keyword for GLSL 1.20 | Brian Paul | |
2008-10-31 | mesa: fix some bugs with precision qualifier parsing | Brian Paul | |
2008-08-16 | mesa: import latest GLSL code from gallium-0.1 branch | Brian Paul | |
2008-07-29 | mesa: regenerated files | Brian Paul | |
2008-07-15 | mesa: regenerated file | Brian Paul | |
2008-07-03 | mesa: regenerated file | Brian Paul | |
2008-07-02 | mesa: regenerated files | Brian Paul | |
2008-04-03 | rewrite some of the mat*mat, mat*vec intrinsics | Brian | |
Also, remove obsolete matrix codegen code. | |||
2007-07-03 | added vec2(vec4) constructor, bug 11404 | 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-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-06 | more integer arithmetic updates | Brian | |
2007-03-06 | fix some int arithmetic problems | 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-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 | |
2006-12-21 | checkpoint: pre/post incr/decr operators | Brian | |
2006-12-21 | checkpoint: rewrite vec/mat products | Brian | |
2006-12-21 | checkpoint: matrix/float, unary negation rewrite | Brian | |
2006-12-21 | checkpoint: ivec/int and mat/mat operations | Brian | |
2006-12-21 | checkpoint: more basic math rewritting | Brian | |
2006-12-20 | checkpoint: re-org assignment operator functions | Brian | |
2006-12-20 | checkpoint: more basic math operator re-org | Brian | |
2006-12-20 | Checkpoing: re-organization of basic arithmetic functions. | Brian | |
2006-12-20 | Uniform 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-19 | rewrite +=, -= etc for floats | Brian | |
2006-12-18 | comments | Brian | |
2006-12-15 | start rewriting the matrix/vector functions | Brian | |