summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-27add parenthesis around a bit-wise AND term in _tnl_InvalidateState()Brian
2007-03-27Restore the UseTexEnvProgram logic.Brian
Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
2007-03-27r300: Fix radeonUpdatePageFlipping() function.Roland Scheidegger
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).
2007-03-27r128, radeon, r200: Check ctx->WinSysDrawBuffer before calling function that ↵Roland Scheidegger
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.
2007-03-27always print error messages, unless LIBGL_DEBUG=quietBernardo Innocenti
2007-03-27simplify .a suffixingBrian
2007-03-27remove static lib before building to make more bulletproofBernardo Innocenti
2007-03-27r300: Check ctx->WinSysDrawBuffer before calling function that dereferences it.Michel Dänzer
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10417 .
2007-03-26fix r128 rendering, lockupsMiroslav Šustek
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.
2007-03-27Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesaZou Nan hai
2007-03-27 Fix compile errorZou Nan hai
2007-03-26s/SUB/BGNSUB/Brian
2007-03-26Checkpoint: implementing true CAL/RET instructions for subroutine calls.Brian
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.
2007-03-26Get rid of IR_JUMP and related code.Brian
2007-03-26special case RETBrian
2007-03-26Get rid of SLANG_OPER_GOTO, start rewrite of 'return' handling.Brian
2007-03-26remove debug abort() callsBrian
2007-03-26Additional error checking for 'return' statements.Brian
2007-03-26undo some debugging hacksBrian
2007-03-26dead code elimination for constant-valued if/then/elseBrian
2007-03-26r300: Remove a warning when vertex programs produce an unused outputNicolai Haehnle
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.
2007-03-26r300: Whitespace cleanup (remove trailing spaces)Nicolai Haehnle
2007-03-26Fix a few issues with computing storage sizes with respect to swizzles.Brian
2007-03-26In _mesa_lookup_parameter_constant() make sure we return a full, 4-component ↵Brian
swizzle.
2007-03-26r300: Fix warnings that were introduced by the glsl mergeNicolai Haehnle
2007-03-26Add _swrast_span_default_secondary_color() for use with glBitmap, ↵Brian
glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409.
2007-03-26remove incorrect assertionsBrian
2007-03-26minor status updatesBrian
2007-03-26disable printing shader program debug infoBrian
2007-03-26merge of glsl-compiler-1 branchBrian
2007-03-26i915tex: Make sure renderbuffers don't get deleted when flipping them.Michel Dänzer
Since the recent renderbuffer refcounting fixes it's no longer sufficient to just remove the old renderbuffer from the framebuffer and then add the new one because the former may decrease the reference count to 0 and delete the old renderbuffer.
2007-03-26disable free() until other issues can be fixed...Brian
2007-03-26fix mem leak, add commentsBrian
2007-03-26nouveau: match drm version bumpBen Skeggs
2007-03-25Fix some renderbuffer reference counting issues. Also fixes a mem leak.Brian
2007-03-25destroy window on exitBrian
2007-03-25i965: The given urb layout(maximal size of urb entries and theXiang, Haihao
values for nr of entries) should meet the requirement.
2007-03-25Color3iv: set the alpha value to 1.0Xiang, Haihao
2007-03-25r300: Whitespace cleanup in r300_texmem.cNicolai Haehnle
2007-03-25r300: Whitespace cleanup in r300_texstate.cNicolai Haehnle
2007-03-25r300: Fix regression: unnecessary node indirectionNicolai Haehnle
The texture_rectangle fix introduced a bug where every texture instruction caused a new indirection.
2007-03-24fix mem leakBrian
2007-03-24disable free(var->aux) -- can lead to segfaultBrian
2007-03-24fix mem leakBrian
2007-03-24fix some mem leaksBrian
2007-03-24Free shader-related context state: _mesa_free_shader_state()Brian
2007-03-24free prog->Attributes in _mesa_delete_program()Brian
2007-03-24fix mistake in _slang_free_ir()Brian
2007-03-25nouveau: implement nv20Clear and nv20ScissorDave Airlie
Still crashes out on scissor regs
2007-03-24r300: Fix texture coordinate calculation for rectangle texturesNicolai Haehnle
R300 hardware takes texcoords in the range 0..1 even for rectangle textures. Previously, the necessary texcoord conversion was applied to the texture coordinate during vertex processing in a render stage. This is obviously wrong when fragment programs are used, which can calculate arbitrary coordinates for TEX instructions. Therefore, we now inject an appropriate MUL instruction before a TEX that reference a rectangle texture.