summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of BRK0, BRK1, CONT0, CONT1 instructions.Brian2007-03-285-49/+0
|
* Don't emit OPCODE_CONT0/1, BRK0/1 instructions, clean-ups elsewhere.Brian2007-03-281-49/+66
|
* simplify, clean-up break/cont codeBrian2007-03-281-8/+10
|
* added some null ptr checks to handle error recoveryBrian2007-03-281-2/+15
|
* Use constant_to_src_reg() to simplify some codeBrian2007-03-281-19/+24
|
* added missing returns after slang_info_log_error() callsBrian2007-03-281-0/+2
|
* Fix, clean-up code related to comparisons, condition codes, etc.Brian2007-03-281-47/+78
|
* print condcodes if DEBUG_PROGBrian2007-03-281-0/+7
|
* expose _mesa_condcode_string(), fix some printingBrian2007-03-282-12/+14
|
* check that if/while/do-while condition is boolean or scalarBrian2007-03-281-0/+34
|
* Add missing OSMesaColorClamp functionAlan Hourihane2007-03-281-0/+1
|
* Implement true CAL/RET subroutines. Some optimizations, clean-ups coming...Brian2007-03-272-19/+162
|
* fix another pc off-by oneBrian2007-03-271-1/+2
|
* added _slang_label_new_unique()Brian2007-03-272-0/+24
|
* fix some printing issues related to subroutinesBrian2007-03-271-15/+29
|
* fix a fragment fog regressionBrian2007-03-271-1/+1
|
* fix off by one error in OPCODE_RETBrian2007-03-271-3/+4
|
* init machine->StackDepth=0Brian2007-03-271-0/+3
|
* more parenthesisBrian2007-03-271-1/+1
|
* i915tex compile fix (account for moved _UseTexEnvProgram var)Roland Scheidegger2007-03-271-1/+1
|
* fix incorrect _MaxElement calculationRoland Scheidegger2007-03-271-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 Scheidegger2007-03-271-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()Brian2007-03-271-1/+1
|
* Restore the UseTexEnvProgram logic.Brian2007-03-2711-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 Scheidegger2007-03-271-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 Scheidegger2007-03-273-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änzer2007-03-271-1/+1
| | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10417 .
* fix r128 rendering, lockupsMiroslav Šustek2007-03-261-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/mesaZou Nan hai2007-03-279-103/+220
|\
| * s/SUB/BGNSUB/Brian2007-03-261-1/+1
| |
| * Checkpoint: implementing true CAL/RET instructions for subroutine calls.Brian2007-03-264-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.Brian2007-03-263-25/+2
| |
| * special case RETBrian2007-03-261-0/+7
| |
| * Get rid of SLANG_OPER_GOTO, start rewrite of 'return' handling.Brian2007-03-264-56/+65
| |
| * remove debug abort() callsBrian2007-03-264-14/+10
| |
| * Additional error checking for 'return' statements.Brian2007-03-263-9/+58
| |
* | Fix compile errorZou Nan hai2007-03-271-1/+1
|/
* undo some debugging hacksBrian2007-03-261-2/+2
|
* dead code elimination for constant-valued if/then/elseBrian2007-03-261-0/+13
|
* r300: Remove a warning when vertex programs produce an unused outputNicolai Haehnle2007-03-261-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 Haehnle2007-03-261-115/+115
|
* Fix a few issues with computing storage sizes with respect to swizzles.Brian2007-03-262-42/+29
|
* In _mesa_lookup_parameter_constant() make sure we return a full, 4-component ↵Brian2007-03-261-0/+4
| | | | swizzle.
* r300: Fix warnings that were introduced by the glsl mergeNicolai Haehnle2007-03-261-2/+6
|
* Add _swrast_span_default_secondary_color() for use with glBitmap, ↵Brian2007-03-265-2/+46
| | | | | | | glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409.
* remove incorrect assertionsBrian2007-03-261-2/+0
|
* disable printing shader program debug infopost-merge-glsl-compiler-1Brian2007-03-261-4/+4
|
* merge of glsl-compiler-1 branchBrian2007-03-26282-49280/+27417
|\
| * disable free() until other issues can be fixed...Brian2007-03-261-0/+2
| |
| * fix mem leak, add commentsBrian2007-03-261-3/+15
| |