Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of IR_CONT_IF_FALSE | Brian | 2007-03-28 | 3 | -10/+1 |
| | |||||
* | Get rid of BRK0, BRK1, CONT0, CONT1 instructions. | Brian | 2007-03-28 | 5 | -49/+0 |
| | |||||
* | Don't emit OPCODE_CONT0/1, BRK0/1 instructions, clean-ups elsewhere. | Brian | 2007-03-28 | 1 | -49/+66 |
| | |||||
* | simplify, clean-up break/cont code | Brian | 2007-03-28 | 1 | -8/+10 |
| | |||||
* | added some null ptr checks to handle error recovery | Brian | 2007-03-28 | 1 | -2/+15 |
| | |||||
* | Use constant_to_src_reg() to simplify some code | Brian | 2007-03-28 | 1 | -19/+24 |
| | |||||
* | added missing returns after slang_info_log_error() calls | Brian | 2007-03-28 | 1 | -0/+2 |
| | |||||
* | Fix, clean-up code related to comparisons, condition codes, etc. | Brian | 2007-03-28 | 1 | -47/+78 |
| | |||||
* | print condcodes if DEBUG_PROG | Brian | 2007-03-28 | 1 | -0/+7 |
| | |||||
* | expose _mesa_condcode_string(), fix some printing | Brian | 2007-03-28 | 2 | -12/+14 |
| | |||||
* | check that if/while/do-while condition is boolean or scalar | Brian | 2007-03-28 | 1 | -0/+34 |
| | |||||
* | Add missing OSMesaColorClamp function | Alan Hourihane | 2007-03-28 | 1 | -0/+1 |
| | |||||
* | Implement true CAL/RET subroutines. Some optimizations, clean-ups coming... | Brian | 2007-03-27 | 2 | -19/+162 |
| | |||||
* | fix another pc off-by one | Brian | 2007-03-27 | 1 | -1/+2 |
| | |||||
* | added _slang_label_new_unique() | Brian | 2007-03-27 | 2 | -0/+24 |
| | |||||
* | fix some printing issues related to subroutines | Brian | 2007-03-27 | 1 | -15/+29 |
| | |||||
* | fix a fragment fog regression | Brian | 2007-03-27 | 1 | -1/+1 |
| | |||||
* | fix off by one error in OPCODE_RET | Brian | 2007-03-27 | 1 | -3/+4 |
| | |||||
* | init machine->StackDepth=0 | Brian | 2007-03-27 | 1 | -0/+3 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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 | 282 | -49280/+27417 |
|\ | |||||
| * | disable free() until other issues can be fixed... | Brian | 2007-03-26 | 1 | -0/+2 |
| | |