Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-04 | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | |
of -I flags. | |||
2007-03-14 | s/Tranpose/Transpose/ | 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-08 | fix ProjectionMatrix typo | Brian | |
2007-03-08 | fix gl_TextureMatrix indexing | Brian | |
2007-03-07 | add missing gl_Point state, fix IR storage bug | Brian | |
2007-03-07 | s/diffuset/diffuse/ | Brian | |
2007-02-23 | replace GLint with gl_state_index | Brian | |
2007-02-23 | Replace slang_ir_node::Target w/ Field. Remove Comment field. Clean-up. | Brian | |
2007-02-22 | Undo some STATE_POINT/FOG changes. Max length of state token array is now 5. | Brian | |
2007-02-21 | remove unneeded #includes | Brian | |
2007-02-21 | fix copy&paste errors | Brian | |
2007-02-21 | Reimplement the _slang_alloc_statevar() function. | Brian | |
After several tries at making a table-based system for examining pre-defined uniforms to find statevar indexes, give up and do it the simple way (lots of strcmp() calls). Not terribly elegant, but perfectly functional. | |||
2007-02-21 | adjustments to STATE_ token layout/format so token[1] is always the array index | Brian | |
2007-02-21 | checkpoint overhaul of pre-defined uniform code | Brian | |
2007-02-20 | implement support for pre-defined uniform structs (state vars) | Brian | |