Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-10 | mesa: move shader/slang/* sources to main/slang/* | Brian Paul | |
Reduce the source tree depth a bit. | |||
2010-02-19 | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | |
This may break the SUNOS4 build, but it's no longer relevant. | |||
2009-12-23 | glsl: Initialize member a_obj of struct slang_operation. | Vinson Lee | |
2009-12-12 | glsl: Initialize member label of struct slang_operation to NULL. | Vinson Lee | |
2009-06-26 | glsl: fix up scoping for parent/children in slang_operation_copy() | Brian Paul | |
This will need more testing, but no regressions seen so far. | |||
2009-06-26 | glsl: added slang_operation_free_children() | Brian Paul | |
2009-06-26 | glsl: added slang_operation_insert_child() | Brian Paul | |
2009-06-26 | glsl: don't allocate 0-length children array in slang_operation_copy() | Brian Paul | |
2009-06-26 | glsl: added slang_operation_add_children() and slang_oper_child() helpers | Brian Paul | |
2008-12-12 | mesa: glsl compiler function renaming | Brian Paul | |
2008-12-11 | mesa: glsl clean-ups | Brian Paul | |
2008-11-01 | mesa: do scope replacement for while/for loops too | Brian Paul | |
This fixes a function inlining bug involving vars declared inside loop bodies. | |||
2008-10-31 | mesa: do scope replacement for variable initializers too | Brian Paul | |
2008-08-16 | mesa: import latest GLSL code from gallium-0.1 branch | Brian Paul | |
2008-07-29 | mesa: fix some function inlining bugs | Brian Paul | |
Need to add local vars of original function to the new scope's variable list (though the DECLs were already present). In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers. | |||
2007-04-21 | Remove all the USE_MEMPOOL debug code. | Brian | |
2007-04-21 | Use new memory pool allocator. Lots of debug code still in place... | Brian | |
2007-04-21 | new varnames in slang_operation_insert() | Brian | |
2007-04-21 | fix memleak in slang_operation_insert() | 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 | s/equal/EQUAL/, fix bugs in logical or/and code. | Brian | |
2007-02-26 | re-enable var scope destruct in slang_operation_destruct() | Brian | |
2007-02-16 | change all enum tokens to uppercase | Brian | |
2007-02-03 | Add literal_size field to slang_operation. | Brian | |
Used to track the number of components in a float/int/bool literal. Helps with some typechecking things. Fixes problems with calls such as "distance(v2, vec2(1.0, 2.0))" | |||
2007-01-04 | temporary disable some memory deallocations to work around a memory ↵ | Brian | |
corruption bug | |||
2006-12-15 | Lots of assorted changes. | Brian | |
Implement assignment/move for types larger than 4 floats. Fix codegen bug for "return expr" in inlined functions. More clean-up of storage allocation code (slang_resolve_storage). | |||
2006-12-13 | Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly ↵ | Brian | |
instructions. | |||
2006-11-28 | indent, comments, etc | Brian Paul | |
2006-05-16 | Cleanup code. Change constructor prototype. | Michal Krol | |
2006-04-18 | Remove carriage-return chars *ONLY*. | Michal Krol | |
2006-02-27 | More GLSL code: | Michal Krol | |
- add x86 code generator; - add full support for uniforms in ARB_shader_objects; - add assembly instruction: global_addr; - reorganize #includes; - built-in uniforms accessed by index, rather than by name; - add some entries to x86sse rtasm; - add configurations to VC6 projects: 'Release x86' and 'Debug x86'; - #define SLANG_X86 active only on VC6 x86 builds; - introduce code export table for a shader; - remove GNU license from the noise library; | |||
2006-02-13 | Get it running for ARB_vertex_shader. | Michal Krol | |
Add experimental print functions to builtin library. Some functionality missing: - automatic arrays; - general constructors; - local variable initialization; - texture sampling and noise; - semantic error checking; - function prototypes. | |||
2006-01-30 | Split slang_compile.c into several smaller files - it was just too big. | Michal Krol | |
Minor fixes and cosmetic changes. |