Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: remove unneeded #include | Brian Paul | 2008-09-21 | 1 | -1/+0 |
| | | | | (cherry picked from commit 6363960db55769db73021081b60f1028723d9f58) | ||||
* | mesa: move fixed function vertex program builder from tnl to core mesa | Keith Whitwell | 2008-09-21 | 5 | -11/+296 |
| | | | | | | Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2 | ||||
* | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | 2008-09-18 | 18 | -67/+67 |
| | | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code... | ||||
* | mesa: fix bug in previous changes to _slang_resolve_attributes() | Brian Paul | 2008-09-17 | 1 | -1/+3 |
| | |||||
* | mesa: rework GLSL vertex attribute binding | Brian Paul | 2008-09-16 | 3 | -102/+107 |
| | | | | | | | 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. | ||||
* | mesa: glsl: regenerated file | Brian Paul | 2008-08-25 | 1 | -552/+552 |
| | |||||
* | mesa: glsl: grab latest fixes from gallium-0.1 branch | Brian Paul | 2008-08-25 | 6 | -83/+189 |
| | | | | | | | 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. | ||||
* | mesa: turn off 'x' bit misset on a few .h and .syn files | Brian Paul | 2008-08-16 | 4 | -0/+0 |
| | |||||
* | mesa: import latest GLSL code from gallium-0.1 branch | Brian Paul | 2008-08-16 | 40 | -3147/+3632 |
| | |||||
* | mesa: glsl: add missing sampler types in sizeof_glsl_type(), bug 17079 | Brian Paul | 2008-08-11 | 1 | -2/+13 |
| | |||||
* | disable debug code accidentally enabled by prev commit | Brian Paul | 2008-08-06 | 1 | -2/+2 |
| | |||||
* | mesa: glsl: count number of temp regs used | Haihao Xiang | 2008-08-06 | 2 | -5/+36 |
| | |||||
* | mesa: glsl: remove old assertion (fixes glsl/bitmap.c) | Brian Paul | 2008-07-29 | 1 | -1/+1 |
| | |||||
* | mesa: disable debug code | Brian Paul | 2008-07-29 | 1 | -1/+1 |
| | |||||
* | mesa: regenerated files | Brian Paul | 2008-07-29 | 2 | -820/+800 |
| | |||||
* | mesa: Silence compiler warnings on Windows. | Brian Paul | 2008-07-29 | 7 | -17/+19 |
| | |||||
* | mesa: cast to fix warning | Brian Paul | 2008-07-29 | 1 | -1/+1 |
| | |||||
* | mesa: fix bug/failure in recursive function inlining | Brian Paul | 2008-07-29 | 1 | -5/+27 |
| | | | | | Fixes a failure for cases such as y = f(a, f(a, b)) All the usual tests still pass but regressions are possible... | ||||
* | mesa: glsl: silence warning (s/int/GLuint) | Brian Paul | 2008-07-29 | 1 | -1/+1 |
| | |||||
* | mesa: remove stray debug code | Brian Paul | 2008-07-29 | 1 | -1/+0 |
| | |||||
* | mesa: glsl: assorted fixes for resolving polymorphic functions | Brian Paul | 2008-07-29 | 8 | -205/+393 |
| | | | | | | | Plus, - fix some issues in casting function arguments to format param types. - fix some vec/mat constructor bugs - find/report more syntax/semantic errors | ||||
* | mesa: glsl: re-order some constructors | Brian Paul | 2008-07-29 | 1 | -12/+12 |
| | |||||
* | mesa: glsl: remove unneeded operators | Brian Paul | 2008-07-29 | 1 | -50/+0 |
| | |||||
* | mesa: glsl: added null ptr check | Brian Paul | 2008-07-29 | 1 | -1/+2 |
| | |||||
* | mesa: fix issues causing warnings on Windows | Brian Paul | 2008-07-29 | 1 | -1/+2 |
| | |||||
* | mesa: glsl: additional error detection | Brian Paul | 2008-07-29 | 3 | -10/+64 |
| | | | | Plus begin some fixes for vec/matrix constructors. | ||||
* | mesa: gls: fix broken else clause of conditional break/continue | Brian Paul | 2008-07-29 | 2 | -13/+5 |
| | | | | | | | | | | | | | In the following case: for () { if (cond) break; // or continue; else something; } The "something" block didn't get emitted. | ||||
* | mesa: glsl: only try to link shaders defining main() | Brian Paul | 2008-07-29 | 3 | -35/+29 |
| | |||||
* | mesa: Silence compiler warning on windows. | Michal Krol | 2008-07-29 | 1 | -1/+1 |
| | |||||
* | mesa: glsl: fix/simplify array element handling | Brian Paul | 2008-07-29 | 1 | -39/+15 |
| | | | | Also fix bug in comparing large structs/arrays. | ||||
* | mesa: glsl: mark constructor params as const | Brian Paul | 2008-07-29 | 1 | -1/+2 |
| | |||||
* | mesa: glsl: rework swizzle storage handling | Brian Paul | 2008-07-29 | 3 | -53/+40 |
| | | | | Build on the heirarchal approach implemented for arrays/structs. | ||||
* | mesa: fix uninitialized var | Brian Paul | 2008-07-29 | 1 | -0/+1 |
| | |||||
* | mesa: glsl: implement constructor functions for user-defined types | Brian Paul | 2008-07-29 | 2 | -5/+174 |
| | |||||
* | mesa: remove stray debug assertion | Brian Paul | 2008-07-29 | 1 | -1/+0 |
| | |||||
* | mesa: fix glUniform error checking for samplers | Brian | 2008-07-29 | 1 | -0/+24 |
| | |||||
* | mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.c | Brian Paul | 2008-07-29 | 4 | -226/+213 |
| | | | | No API-level functions now in program.c. | ||||
* | mesa: initial support for GLSL struct/array comparisons | Brian Paul | 2008-07-29 | 1 | -14/+57 |
| | |||||
* | mesa: added null ptr check (error handling case) | Brian Paul | 2008-07-29 | 1 | -0/+3 |
| | |||||
* | mesa: fix +=, -=, etc. operators | Brian Paul | 2008-07-29 | 1 | -4/+4 |
| | |||||
* | mesa: fix some issues in _mesa_validate_program() | Brian Paul | 2008-07-29 | 1 | -5/+11 |
| | |||||
* | mesa: assorted glsl uniform/attribute fixes | Brian Paul | 2008-07-29 | 5 | -43/+166 |
| | | | | | | Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error. | ||||
* | mesa: glsl: various writemask/swizzle improvements and clean-ups | Brian Paul | 2008-07-29 | 5 | -70/+81 |
| | |||||
* | mesa: rework array/struct addressing code. | Brian Paul | 2008-07-29 | 7 | -138/+372 |
| | | | | | | | 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. | ||||
* | mesa: fix some GLSL /= int operators | Brian Paul | 2008-07-29 | 1 | -7/+21 |
| | | | | plus add a few more special constructors to improve code quality. | ||||
* | mesa: fix set_program_uniform_matrix(): need to loop over matrix count | Brian Paul | 2008-07-29 | 1 | -18/+24 |
| | |||||
* | mesa: implement grammar/parsing for precision/invariant syntax | Brian Paul | 2008-07-29 | 4 | -10/+251 |
| | | | | Plus, fix some issues with pre-defined preprocessor symbols and version checking. | ||||
* | mesa: Silence compiler warnings on Windows. | Brian Paul | 2008-07-29 | 1 | -7/+3 |
| | |||||
* | mesa: fix some function inlining bugs | Brian Paul | 2008-07-29 | 4 | -1/+53 |
| | | | | | | 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. | ||||
* | mesa: improved printing | Brian Paul | 2008-07-29 | 1 | -4/+8 |
| |