summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
AgeCommit message (Collapse)Author
2008-09-25mesa: prevent the slang code generator from aborting when faced with a ↵Sam Hocevar
sampler variable redeclaration.
2008-09-23mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs()Brian Paul
2008-09-23mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵Brian Paul
point coord (cherry picked from commit d7a7b0a10dd355fbeb7a404091a42d4ab558c820)
2008-09-17mesa: fix bug in previous changes to _slang_resolve_attributes()Brian Paul
2008-09-16mesa: rework GLSL vertex attribute bindingBrian Paul
Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
2008-08-25mesa: glsl: regenerated fileBrian Paul
2008-08-25mesa: glsl: grab latest fixes from gallium-0.1 branchBrian Paul
Includes: 1. Fixes failed asserting about bad swizzles in src reg emit. 2. Tracks uniform var usage. 3. Emit exp() in terms of EXP2 instruction.
2008-08-16mesa: turn off 'x' bit misset on a few .h and .syn filesBrian Paul
2008-08-16mesa: import latest GLSL code from gallium-0.1 branchBrian Paul
2008-08-06disable debug code accidentally enabled by prev commitBrian Paul
2008-08-06mesa: glsl: count number of temp regs usedHaihao Xiang
2008-07-29mesa: glsl: remove old assertion (fixes glsl/bitmap.c)Brian Paul
2008-07-29mesa: disable debug codeBrian Paul
2008-07-29mesa: regenerated filesBrian Paul
2008-07-29mesa: Silence compiler warnings on Windows.Brian Paul
2008-07-29mesa: cast to fix warningBrian Paul
2008-07-29mesa: fix bug/failure in recursive function inliningBrian 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-29mesa: glsl: silence warning (s/int/GLuint)Brian Paul
2008-07-29mesa: remove stray debug codeBrian Paul
2008-07-29mesa: glsl: assorted fixes for resolving polymorphic functionsBrian Paul
Plus, - fix some issues in casting function arguments to format param types. - fix some vec/mat constructor bugs - find/report more syntax/semantic errors
2008-07-29mesa: glsl: re-order some constructorsBrian Paul
2008-07-29mesa: glsl: remove unneeded operatorsBrian Paul
2008-07-29mesa: glsl: added null ptr checkBrian Paul
2008-07-29mesa: glsl: additional error detectionBrian Paul
Plus begin some fixes for vec/matrix constructors.
2008-07-29mesa: gls: fix broken else clause of conditional break/continueBrian Paul
In the following case: for () { if (cond) break; // or continue; else something; } The "something" block didn't get emitted.
2008-07-29mesa: glsl: only try to link shaders defining main()Brian Paul
2008-07-29mesa: Silence compiler warning on windows.Michal Krol
2008-07-29mesa: glsl: fix/simplify array element handlingBrian Paul
Also fix bug in comparing large structs/arrays.
2008-07-29mesa: glsl: mark constructor params as constBrian Paul
2008-07-29mesa: glsl: rework swizzle storage handlingBrian Paul
Build on the heirarchal approach implemented for arrays/structs.
2008-07-29mesa: fix uninitialized varBrian Paul
2008-07-29mesa: glsl: implement constructor functions for user-defined typesBrian Paul
2008-07-29mesa: initial support for GLSL struct/array comparisonsBrian Paul
2008-07-29mesa: added null ptr check (error handling case)Brian Paul
2008-07-29mesa: fix +=, -=, etc. operatorsBrian Paul
2008-07-29mesa: assorted glsl uniform/attribute fixesBrian Paul
Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error.
2008-07-29mesa: glsl: various writemask/swizzle improvements and clean-upsBrian Paul
2008-07-29mesa: rework array/struct addressing code.Brian Paul
The slang_ir_storage type now has a pointer to parent storage to represent storage of an array element within an array, or a field within a struct. This fixes some problems related to addressing of fields/elements in non- trivial cases. More work to follow.
2008-07-29mesa: fix some GLSL /= int operatorsBrian Paul
plus add a few more special constructors to improve code quality.
2008-07-29mesa: implement grammar/parsing for precision/invariant syntaxBrian Paul
Plus, fix some issues with pre-defined preprocessor symbols and version checking.
2008-07-29mesa: Silence compiler warnings on Windows.Brian Paul
2008-07-29mesa: fix some function inlining bugsBrian 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-29mesa: improved printingBrian Paul
2008-07-17mesa: regenerated fileBrian Paul
2008-07-17mesa: fix/improve the atan(y,x) functionBrian Paul
2008-07-16mesa: regenerated fileBrian Paul
2008-07-16mesa: fix temp re-use bug in emit_arith()Brian Paul
2008-07-16mesa: fix copy&paste errors in degrees() functionsBrian Paul
2008-07-15mesa: regenerated fileBrian Paul
2008-07-15mesa: add missing IR_LOG2 caseBrian Paul