Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | more parenthesis | Brian | 2007-03-27 | 1 | -1/+1 |
| | |||||
* | i915tex compile fix (account for moved _UseTexEnvProgram var) | Roland Scheidegger | 2007-03-27 | 1 | -1/+1 |
| | |||||
* | fix incorrect _MaxElement calculation | Roland Scheidegger | 2007-03-27 | 1 | -1/+2 |
| | | | | | | The calculation of _MaxElement was wrong if the stride was larger than elementSize, which lead to rejection of every DrawElements call which accessed the maximum element if CheckArrayBounds was enabled. | ||||
* | recommit e731d8aafa98bbf9d30f83e65f28b7718be55834. | Roland Scheidegger | 2007-03-27 | 1 | -1/+1 |
| | | | | | | This got lost with glsl-compiler-1 merge, it fixes segfaults when using ATI_fragment_shader, which uses the ProgramStringNotify mechanism but doesn't have a valid program pointer. | ||||
* | add parenthesis around a bit-wise AND term in _tnl_InvalidateState() | Brian | 2007-03-27 | 1 | -1/+1 |
| | |||||
* | Restore the UseTexEnvProgram logic. | Brian | 2007-03-27 | 11 | -11/+26 |
| | | | | | Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders... | ||||
* | r300: Fix radeonUpdatePageFlipping() function. | Roland Scheidegger | 2007-03-27 | 1 | -2/+2 |
| | | | | | | Always call driFlipRenderbuffers() with pfCurrentPage value, in case it's initially 1 instead of 0. May fix some issues with pageflip, the same fix was applied to r128, radeon and r200 (6e0e6eff05727ac8833c2b2dffc51c6619427e77). | ||||
* | r128, radeon, r200: Check ctx->WinSysDrawBuffer before calling function that ↵ | Roland Scheidegger | 2007-03-27 | 3 | -6/+12 |
| | | | | | | | dereferences it. Same fix as for r300 (which fixed https://bugs.freedesktop.org/show_bug.cgi?id=10417), since it's likely an issue with those drivers too. | ||||
* | always print error messages, unless LIBGL_DEBUG=quiet | Bernardo Innocenti | 2007-03-27 | 1 | -1/+5 |
| | |||||
* | simplify .a suffixing | Brian | 2007-03-27 | 1 | -6/+6 |
| | |||||
* | remove static lib before building to make more bulletproof | Bernardo Innocenti | 2007-03-27 | 1 | -0/+1 |
| | |||||
* | r300: Check ctx->WinSysDrawBuffer before calling function that dereferences it. | Michel Dänzer | 2007-03-27 | 1 | -1/+1 |
| | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10417 . | ||||
* | fix r128 rendering, lockups | Miroslav Šustek | 2007-03-26 | 1 | -2/+2 |
| | | | | | | mis-count in offset led to mis-rendering and lockups; units are 4 bytes rather than 1. Noticed by Chris Salch. fixes bug 7994, possibly others. | ||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Zou Nan hai | 2007-03-27 | 9 | -103/+220 |
|\ | |||||
| * | s/SUB/BGNSUB/ | Brian | 2007-03-26 | 1 | -1/+1 |
| | | |||||
| * | Checkpoint: implementing true CAL/RET instructions for subroutine calls. | Brian | 2007-03-26 | 4 | -13/+92 |
| | | | | | | | | | | | | Also, found/fixed a code generation regression: the emit_swizzle() function was always returning NULL. This caused emit_move() to miss its chance at peephole optimization. | ||||
| * | Get rid of IR_JUMP and related code. | Brian | 2007-03-26 | 3 | -25/+2 |
| | | |||||
| * | special case RET | Brian | 2007-03-26 | 1 | -0/+7 |
| | | |||||
| * | Get rid of SLANG_OPER_GOTO, start rewrite of 'return' handling. | Brian | 2007-03-26 | 4 | -56/+65 |
| | | |||||
| * | remove debug abort() calls | Brian | 2007-03-26 | 4 | -14/+10 |
| | | |||||
| * | Additional error checking for 'return' statements. | Brian | 2007-03-26 | 3 | -9/+58 |
| | | |||||
* | | Fix compile error | Zou Nan hai | 2007-03-27 | 1 | -1/+1 |
|/ | |||||
* | undo some debugging hacks | Brian | 2007-03-26 | 1 | -2/+2 |
| | |||||
* | dead code elimination for constant-valued if/then/else | Brian | 2007-03-26 | 1 | -0/+13 |
| | |||||
* | r300: Remove a warning when vertex programs produce an unused output | Nicolai Haehnle | 2007-03-26 | 1 | -3/+2 |
| | | | | | | | | | | | As far as we know, the hardware prefers outputs packed tightly together with no holes caused by outputs that are not even read by the fragment program. Therefore, we slightly rewrite vertex programs in this case. It would be interesting to test this interaction between vertex programs and fragment programs further, because some of that rewrite may be unnecessary. However, play it safe for now and don't change the current behaviour. | ||||
* | r300: Whitespace cleanup (remove trailing spaces) | Nicolai Haehnle | 2007-03-26 | 1 | -115/+115 |
| | |||||
* | Fix a few issues with computing storage sizes with respect to swizzles. | Brian | 2007-03-26 | 2 | -42/+29 |
| | |||||
* | In _mesa_lookup_parameter_constant() make sure we return a full, 4-component ↵ | Brian | 2007-03-26 | 1 | -0/+4 |
| | | | | swizzle. | ||||
* | r300: Fix warnings that were introduced by the glsl merge | Nicolai Haehnle | 2007-03-26 | 1 | -2/+6 |
| | |||||
* | Add _swrast_span_default_secondary_color() for use with glBitmap, ↵ | Brian | 2007-03-26 | 5 | -2/+46 |
| | | | | | | | glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409. | ||||
* | remove incorrect assertions | Brian | 2007-03-26 | 1 | -2/+0 |
| | |||||
* | minor status updates | Brian | 2007-03-26 | 1 | -4/+2 |
| | |||||
* | disable printing shader program debug infopost-merge-glsl-compiler-1 | Brian | 2007-03-26 | 1 | -4/+4 |
| | |||||
* | merge of glsl-compiler-1 branch | Brian | 2007-03-26 | 311 | -49338/+31224 |
|\ | |||||
| * | disable free() until other issues can be fixed... | Brian | 2007-03-26 | 1 | -0/+2 |
| | | |||||
| * | fix mem leak, add comments | Brian | 2007-03-26 | 1 | -3/+15 |
| | | |||||
| * | fix mem leak | Brian | 2007-03-24 | 1 | -7/+3 |
| | | |||||
| * | disable free(var->aux) -- can lead to segfault | Brian | 2007-03-24 | 1 | -0/+2 |
| | | |||||
| * | fix mem leak | Brian | 2007-03-24 | 1 | -0/+3 |
| | | |||||
| * | fix some mem leaks | Brian | 2007-03-24 | 1 | -6/+9 |
| | | |||||
| * | Free shader-related context state: _mesa_free_shader_state() | Brian | 2007-03-24 | 3 | -0/+20 |
| | | |||||
| * | free prog->Attributes in _mesa_delete_program() | Brian | 2007-03-24 | 1 | -1/+3 |
| | | |||||
| * | fix mistake in _slang_free_ir() | Brian | 2007-03-24 | 1 | -1/+1 |
| | | |||||
| * | Properly free the slang_ir_node->Store data (use ref counting). | Brian | 2007-03-24 | 2 | -12/+46 |
| | | |||||
| * | When computing render_inputs_bitset, omit primary color if we have a ↵ | Brian | 2007-03-24 | 1 | -10/+11 |
| | | | | | | | | fragment program and it doesn't need FRAG_ATTRIB_COL0. Silences valgrind warnings. | ||||
| * | move some code into new slang_ir.c file | Brian | 2007-03-24 | 4 | -334/+30 |
| | | |||||
| * | IR utility functions | Brian | 2007-03-24 | 1 | -0/+354 |
| | | |||||
| * | document internal compiler options | Brian | 2007-03-23 | 1 | -1/+45 |
| | | |||||
| * | Fix issues related to the 'continue' statement. | Brian | 2007-03-23 | 3 | -52/+126 |
| | | | | | | | | | | | | | | | | IR_LOOP now has two children: the body code, and the tail code. Tail code is the "i++" part of a for-loop, or the expression at the end of a "do {} while(expr);" loop. "continue" translates into: "execute tail code; CONT;" Also, the test for infinite do/while loops was incorrect. | ||||
| * | consolidate some code | Brian | 2007-03-23 | 1 | -7/+2 |
| | |