Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: include shader/prog_instruction.h | Brian Paul | 2008-11-07 | 1 | -0/+1 |
| | | | | Seems to fix a mysteriously missing build dependency. | ||||
* | mesa: rename OPCODE_INT -> OPCODE_TRUNC | Brian Paul | 2008-11-06 | 1 | -1/+1 |
| | | | | Trunc is a more accurate description; there's no type conversion involved. | ||||
* | mesa: update the shader programs->TexturesUsed array at link time | Brian Paul | 2008-11-06 | 1 | -0/+6 |
| | | | | | | | | If an application never calls glUniform() to set sampler variable values they'll remain 0 (the default value/unit). Now call _mesa_update_shader_textures_used() at link time in case glUniform() is never called. program->TextureUsed[] will then be correct for state validation. | ||||
* | mesa: Fix compiler warnings on Windows. | Brian Paul | 2008-11-05 | 1 | -1/+1 |
| | | | | cherry-picked subset of a77976d2ee578d0483c64f2aa41719bbae9c1c97 | ||||
* | mesa: fix a GLSL array indexing codegen bug | Brian Paul | 2008-11-05 | 2 | -8/+101 |
| | | | | Expressions like array[i] + array[j] didn't work properly before. | ||||
* | mesa: remove extra \n from printf string | Brian Paul | 2008-11-05 | 1 | -1/+1 |
| | |||||
* | mesa: fix float-valued GLSL vertex attribute variables | Brian Paul | 2008-11-04 | 1 | -8/+8 |
| | | | | The swizzle mask for such variables wasn't set up properly. | ||||
* | mesa: silence warnings | Brian Paul | 2008-11-01 | 1 | -3/+3 |
| | |||||
* | mesa: do scope replacement for while/for loops too | Brian Paul | 2008-11-01 | 1 | -3/+7 |
| | | | | This fixes a function inlining bug involving vars declared inside loop bodies. | ||||
* | mesa: glsl tree print improvements | Brian Paul | 2008-11-01 | 1 | -1/+17 |
| | |||||
* | mesa: fix assignment / parameter passing of sampler types | Brian Paul | 2008-11-01 | 3 | -8/+29 |
| | |||||
* | mesa: additional debug flags for glsl debug/disassembly | Brian Paul | 2008-11-01 | 2 | -23/+25 |
| | |||||
* | mesa: fix some bugs with precision qualifier parsing | Brian Paul | 2008-10-31 | 9 | -2382/+2459 |
| | |||||
* | mesa: do scope replacement for variable initializers too | Brian Paul | 2008-10-31 | 1 | -0/+11 |
| | |||||
* | mesa: fix copy/paste error in GLSL error msg | Brian Paul | 2008-10-31 | 1 | -1/+1 |
| | |||||
* | mesa: prevent the slang code generator from aborting when faced with a ↵ | Sam Hocevar | 2008-09-25 | 1 | -1/+5 |
| | | | | sampler variable redeclaration. | ||||
* | mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs() | Brian Paul | 2008-09-23 | 1 | -0/+9 |
| | |||||
* | mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵ | Brian Paul | 2008-09-23 | 1 | -18/+32 |
| | | | | | | point coord (cherry picked from commit d7a7b0a10dd355fbeb7a404091a42d4ab558c820) | ||||
* | 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 | 2 | -73/+74 |
| | | | | | | | 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 | 4 | -77/+155 |
| | | | | | | | 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 | 39 | -3141/+3626 |
| | |||||
* | 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 | 3 | -8/+9 |
| | |||||
* | 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: 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 | 2 | -30/+28 |
| | |||||
* | 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: 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 |
| |