summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Clean and update XMesa/XFree86 interface.George Sapountzis2007-03-305-46/+24
| | | | | | | | | | | | | | | | Drop XMesaSetVisualDisplay(), XMesaReset(), no longer used. Add XMesaCopyContext() and move the GlxSetRenderTables() call for XGL within XMesaForceCurrent(). This is to make xserver/GL/mesa/X/xf86glx.c unaware of Mesa internals. Also, clean some ifdef's to make it clear that USE_XSHM and XFree86Server are mutually exclusive. Lastly, - move gcstruct.h from glxheader.h up to xmesa_xf86.h since it calls *gc->ops - drop GL/glxtokens.h from xm_api|dd.c, GLX tokens come from glcore.h and are used irrelevant of XFree86.
* cond code fixBrian2007-03-281-1/+6
|
* fix cond code swizzle bugBrian2007-03-281-0/+5
|
* Handle logical NOT and XOR without library functions. Results in much ↵Brian2007-03-283-75/+90
| | | | tighter code.
* optimization for the emit_not() functionBrian2007-03-281-3/+28
|
* remove IR_BREAK_IF_FALSEBrian2007-03-283-46/+13
|
* don't generate IR_BREAK_IF_FALSEBrian2007-03-281-10/+17
|
* Get rid of IR_CONT_IF_FALSEBrian2007-03-283-10/+1
|
* 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
|