Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-31 | mesa: fix bug in GPU codegen for fixed-function two-sided lighting | Brian Paul | |
The 'dots' register wasn't getting properly un-negated and un-swizzled after emitting the code for back-face lighting. So, if more than one light source was enabled, the specular exponent for the next light source was wrong. During execution we were evaluating pow(x, y) where y was negative instead of positive. This led to the outcome being zero or NaN. This fixes the occasional black triangles seen in isosurf when hacked to enable two-sided lighting. | |||
2009-03-31 | mesa: minor reformatting, whitespace changes | Brian Paul | |
2009-03-07 | mesa: remove GL_MESA_program_debug extension | Brian Paul | |
This was never fully fleshed out and hasn't been used. | |||
2009-02-21 | mesa: re-org texgen state | Brian Paul | |
New gl_texgen struct allows quite a bit of code reduction. | |||
2009-01-02 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
Conflicts: src/mesa/main/ffvertex_prog.c src/mesa/main/texenvprogram.c | |||
2009-01-01 | mesa: comments, whitespace changes | Brian Paul | |
2008-12-31 | mesa: increase max texture image units and GLSL samplers to 16 | Brian Paul | |
The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places. | |||
2008-11-11 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h | |||
2008-11-11 | mesa: restore the negate flag of dots in build_lighting. | Xiang, Haihao | |
Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light. | |||
2008-11-08 | mesa: use NRM3 in emit_normalize_vec3() when drivers are ready | Brian | |
2008-11-07 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
2008-11-07 | mesa: use _bfc0 instead of _col0 when building back face lighting. | Xiang, Haihao | |
2008-10-15 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | |
Conflicts: src/mesa/main/context.c | |||
2008-10-14 | mesa: modify fixed function vertex programs not to reference constant attributes | Keith Whitwell | |
2008-09-29 | mesa: drop calloc from _mesa_get_fixed_func_vertex_program | Shunichi Fuji | |
Signed-off-by: Shunichi Fuji <palglowr@gmail.com> | |||
2008-09-21 | mesa: move fixed function vertex program builder from tnl to core mesa | Keith Whitwell | |
Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2 | |||
2008-09-04 | mesa: Silence compiler warnings on Windows. | Michal Krol | |
2008-08-28 | mesa: remove debug code | Brian Paul | |
2008-08-28 | mesa: dynamically grow the fixed function vertex program as needed | Brian Paul | |
Don't use a fixed-size array. Saves memory in most cases and avoids potential overflow for long programs. | |||
2008-08-28 | mesa: bump MAX_INSN to 300 | Brian Paul | |
2008-06-28 | mesa: check FEATURE_point_size_array | Brian Paul | |
2008-06-25 | mesa: point size arrays | Brian Paul | |
2008-06-12 | mesa: restore and fix Keith's "further degenerate the special case lit ↵ | Brian Paul | |
substitute" There was a bug in emit_degenerate_lit() that caused the SLT to produce unpredictable results in lit.z Plus, added a bunch of new comments. | |||
2008-06-11 | Revert "mesa: further degenerate the special case lit substitute" | Brian Paul | |
This reverts commit e841b92d9c8bf48085b4996df828ae745977f931. This fixes two specular lighting conform failures. | |||
2008-06-06 | mesa: turn off ffvertex prog debug | Keith Whitwell | |
2008-05-27 | ffvertex: emit full LIT when attenuating (needs the 1 in X position) | Keith Whitwell | |
2008-05-27 | ffvertex: don't compute whole eye vector if only eye.z is required | Keith Whitwell | |
2008-05-24 | Revert "mesa: save a temp on normalizes" | Keith Whitwell | |
This reverts commit feceb43948f76cc4d4c8ecbb86b1b1f438c6daee. | |||
2008-05-24 | mesa: pre-swizzle normal scale state value | Keith Whitwell | |
2008-05-23 | mesa: save a temp on normalizes | Keith Whitwell | |
2008-05-23 | mesa: further degenerate the special case lit substitute | Keith Whitwell | |
2008-05-23 | mesa: don't emit LIT instruction when mat shininess known to be zero | Keith Whitwell | |
Use a faster path in that case & make gears go faster. | |||
2008-05-23 | mesa: do object-space lighting in ffvertex_prog.c | Keith Whitwell | |
Start pulling over some of the optimizations from the fixed function paths. | |||
2008-05-06 | mesa: comments, whitespace | Brian | |
2008-03-14 | mesa: clamp point size in vertex program when computing attenuated size | Brian Paul | |
2008-01-18 | use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵ | Brian | |
immediates/literals | |||
2008-01-01 | fix mem leak (free key) | Brian | |
2007-10-31 | Lift fixed function vertex program generation up from tnl module. | Brian | |