Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-17 | mesa: fix/improve the atan(y,x) function | Brian Paul | |
2008-07-16 | mesa: fix temp re-use bug in emit_arith() | Brian Paul | |
2008-07-16 | mesa: regenerated files | Brian Paul | |
2008-07-16 | mesa: fix copy&paste errors in degrees() functions | Brian Paul | |
2008-07-16 | mesa: implement grammar/parsing for precision/invariant syntax | Brian Paul | |
Plus, fix some issues with pre-defined preprocessor symbols and version checking. | |||
2008-07-16 | mesa: Silence compiler warnings on Windows. | Michal Krol | |
2008-07-15 | mesa: add missing IR_LOG2 case | Brian Paul | |
2008-07-15 | mesa: regenerated file | Brian Paul | |
2008-07-15 | mesa: fix some broken /= operators | Brian Paul | |
2008-07-15 | mesa: regenerated file | Brian Paul | |
2008-07-15 | mesa: fix some broken bool, bvec2, bvec3, bvec4 constructors | Brian Paul | |
2008-07-15 | mesa: fix storage size computation in emit_arith() | Brian Paul | |
2008-07-15 | 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. | |||
2008-07-15 | mesa: improved printing | Brian Paul | |
2008-07-15 | mesa: Silence compiler warnings on Windows. | Michal Krol | |
2008-07-14 | mesa: assemble main() after all other functions | Brian Paul | |
Before, main() had to come after any functions it called. | |||
2008-07-09 | mesa: check for null shader->Source | Brian Paul | |
2008-07-08 | mesa: fix bug/failure in recursive function inlining | Brian Paul | |
Fixes a failure for cases such as y = f(a, f(a, b)) All the usual tests still pass but regressions are possible... | |||
2008-07-08 | mesa: more debug output | Brian Paul | |
2008-07-08 | mesa: compute global var size before doing codegen | Brian Paul | |
2008-07-08 | mesa: add missing VARYING case to storage_string() | Brian Paul | |
2008-07-03 | mesa: fix incorrect array size, added assertion | Brian Paul | |
2008-07-03 | mesa: fix array storage allocation bug | Brian Paul | |
2008-07-03 | mesa: regenerated file | Brian Paul | |
2008-07-03 | mesa: additional vec4 constructor | Brian Paul | |
2008-07-02 | mesa: additional GLSL built-in constants | Brian Paul | |
2008-07-02 | mesa: when linking a shader program, make sure all the shaders compiled OK | Brian Paul | |
cherry-picked from master | |||
2008-07-02 | mesa: added some debug code (disabled) | Brian Paul | |
cherry-picked from master | |||
2008-07-02 | mesa: regenerated file | Brian Paul | |
2008-07-02 | mesa: added some missing equal() notEqual() intrinsics | Brian Paul | |
cherry-picked from master | |||
2008-07-02 | mesa: disable some debug assertions | Brian Paul | |
We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday. | |||
2008-07-02 | mesa: regenerated files | Brian Paul | |
2008-07-02 | mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors | Brian Paul | |
cherry-picked from master | |||
2008-07-01 | mesa: fix a GLSL vector subscript/writemask bug | Brian Paul | |
This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now. cherry-picked from master | |||
2008-07-01 | mesa: move some functions | Brian Paul | |
cherry-picked from master | |||
2008-07-01 | mesa: make _slang_swizzle_swizzle() non-private | Brian Paul | |
cherry-picked from master | |||
2008-07-01 | mesa: better function inlining in the presence of 'return' statements | Brian Paul | |
Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function. cherry-picked from master | |||
2008-07-01 | mesa: add/fix some IrInfo entries for debugging purposes | Brian Paul | |
cherry-picked from master | |||
2008-06-24 | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | |
2008-06-12 | glsl: make sure we replace all output reads with temporaries | Zack Rusin | |
test in if.glsl | |||
2008-06-12 | glsl: implement variable array indexes | Zack Rusin | |
2008-06-09 | glsl: fix array size initialiazers using const variables | Zack Rusin | |
e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize]; | |||
2008-06-04 | Set the attribute as used. | Alan Hourihane | |
2008-05-20 | fix incorrect sampler numbering/indexing. | Brian Paul | |
All samplers indexes were zero. cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9) | |||
2008-05-16 | Fix a program refcounting error, don't share program parameter lists. | Brian Paul | |
The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled. | |||
2008-05-14 | fix-up inlined/non-inlined function inconsistencies | Brian Paul | |
cherry-picked from master | |||
2008-05-14 | mesa: rm unneeded file | Brian Paul | |
2008-05-14 | mesa: prefix rm command with - | Brian Paul | |
2008-05-14 | rewrite some of the mat*mat, mat*vec intrinsics | Brian Paul | |
Also, remove obsolete matrix codegen code. cherry-picked from master | |||
2008-05-14 | mesa: regenerate slang built-in data (asin(vec4) fix) | Brian Paul | |