summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* always print error messages, unless LIBGL_DEBUG=quietBernardo Innocenti2007-03-271-1/+5
|
* 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
| |
| * fix mem leakBrian2007-03-241-7/+3
| |
| * disable free(var->aux) -- can lead to segfaultBrian2007-03-241-0/+2
| |
| * fix mem leakBrian2007-03-241-0/+3
| |
| * fix some mem leaksBrian2007-03-241-6/+9
| |
| * Free shader-related context state: _mesa_free_shader_state()Brian2007-03-243-0/+20
| |
| * free prog->Attributes in _mesa_delete_program()Brian2007-03-241-1/+3
| |
| * fix mistake in _slang_free_ir()Brian2007-03-241-1/+1
| |
| * Properly free the slang_ir_node->Store data (use ref counting).Brian2007-03-242-12/+46
| |
| * When computing render_inputs_bitset, omit primary color if we have a ↵Brian2007-03-241-10/+11
| | | | | | | | fragment program and it doesn't need FRAG_ATTRIB_COL0. Silences valgrind warnings.
| * move some code into new slang_ir.c fileBrian2007-03-244-334/+30
| |