summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* i965: depth offset on glPolygonMode(GL_LINE/GL_POINT)Xiang, Haihao2008-03-281-2/+2
|
* r300: finish conversion of RS_INST regsDave Airlie2008-03-283-22/+6
|
* r300: move to using RS_INST namesDave Airlie2008-03-285-37/+33
|
* consolidate some parsing functions that were pretty much identical for ↵Brian2008-03-271-152/+71
| | | | vertex/fragment programs
* when negating scalar src args, use NEGATE_XYZW, not NEGATE_XBrian2008-03-271-6/+6
| | | | | This makes things easier on the back-end when generating GPU code. cherry-picked from gallium-0.1
* Set param_var->param_binding_type = PROGRAM_CONSTANTBrian2008-03-271-0/+2
| | | | cherry-picked from gallium-0.1
* [965] Fix massively broken state cache dirty flagging.Michal Wajdeczko2008-03-261-2/+6
| | | | | It was flagging a last_bo update even when last_bo didn't change, but another part was failing to update last_bo when it should have.
* [intel] Use mesa texmemory functions to allocate teximage Data.Michal Wajdeczko2008-03-262-3/+5
| | | | | Failure to consistently do so resulted in mismatched aligned versus unaligned alloc/free.
* [965] Don't let the negate flags of src0 affect 1 constants in precalc_dst/litEric Anholt2008-03-261-14/+21
| | | | | This patch is a variant of a submission by Michal Wajdeczko to fix oglconform fpalu failures.
* [965] Correctly set read mask for OPCODE_SWZ in pass1.Michal Wajdeczko2008-03-261-1/+1
| | | | | | While OPCODE_SWZ has usually been optimized away in pass0, it may still exist if a SWZ with dst saturate was emitted in pass_fp. Fixes an error in oglconform fpalu.c.
* [965] Clean up whitespace and dead code from do_unfilled change.Eric Anholt2008-03-261-11/+6
|
* [i915] don't use 4x4 filter for 1D shadowmapZou Nan hai2008-03-261-2/+7
|
* implement glGet/BindAttribLocationARB() for display listsBrian2008-03-251-0/+26
| | | | More such shader functions are needed...
* intel: fix the issue "VBO: Cannot allocate memory for a BO" onXiang, Haihao2008-03-253-0/+14
| | | | 965 after merging intel_context.c from i915 and i965. fix bug# 15152.
* add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c fileBrian2008-03-242-0/+65
|
* R300: fix typo r300 fog regAlex Deucher2008-03-241-1/+1
| | | | Noticed by pzad on IRC
* use ctx->Driver.DeleteProgram() in a few more placesBrian2008-03-222-4/+4
|
* delete default programs with ctx->Driver.DeleteProgram()Brian2008-03-221-2/+2
|
* [965] Avoid emitting dead code for DPx/math instructions.Michal Wajdeczko2008-03-211-0/+15
| | | | | | The pass1 optimization stage clears out writemasks and registers, but the instructions themselves are still being processed at this stage, and could have resulted in them still being emitted.
* [965] Improve pinterp performance by delaying reads of just-written regs.Michal Wajdeczko2008-03-211-0/+4
|
* [965] Fix negating of unsigned value in emit_wpos_xy.Michal Wajdeczko2008-03-211-1/+1
|
* [965] Add MVP code for position invariant vertex programs.Michal Wajdeczko2008-03-211-0/+3
| | | | This fixes the arbvptorus demo.
* [win32] Use native aligned memory allocation functions.Michal Wajdeczko2008-03-211-0/+18
|
* [965] Shuffle state flags to match the order we initialize them in.Michal Wajdeczko2008-03-211-2/+2
|
* intel: Use _mesa_ffs wrapper, and fix a use-after-free with INTEL_DEBUG=buf.Michal Wajdeczko2008-03-211-3/+7
|
* Refactor PBO validate/map code.Brian2008-03-216-88/+81
| | | | We always need to do PBO validation, so do that in core Mesa before calling driver routine.
* include varray.h to silence warningBrian2008-03-211-1/+1
|
* add a number of PBO validate/map/unmap functionsBrian2008-03-215-83/+241
| | | | Helper functions for (some) drivers, including swrast.
* Fix some PBO breakage.Brian2008-03-212-11/+6
| | | | | In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage.
* [i965] multiple rendering target fixZou Nan hai2008-03-212-10/+29
|
* [i915] GL_DEPTH_TEXTURE_MODE fixZou Nan hai2008-03-201-3/+4
|
* mesa: The span array is only populated in single-pixelXiang, Haihao2008-03-201-2/+4
| | | | point drawing function.
* [965] Initialize region surface key structure padding.Eric Anholt2008-03-191-0/+2
| | | | Fixes valgrind warnings, and potential performance loss from cache misses.
* [intel] Fix an uninitialized variable access in PRESUMED_OFFSET clearing.Eric Anholt2008-03-191-2/+2
| | | | | It was harmless, as the only time we need to clear PRESUMED_OFFSET, the variable had been initialized already.
* fix IEEE_ONE definition for ICC compiler (bug 15134)Brian2008-03-191-3/+3
|
* Radeon 9500 (0x4144) only has one pipeAlex Deucher2008-03-191-0/+4
| | | | confirmed by Reid Linnemann <[email protected]>
* x86_init_func_size() returns int to indicate success/fail (bug 15119)Brian2008-03-192-2/+3
|
* s/x86_init_func/x86_init_func_size (fixes bug 15119)Brian2008-03-191-1/+1
|
* [i915] arb point sprite only support in i965Zou Nan hai2008-03-191-1/+1
|
* [i915] fix fragment.positionZou Nan hai2008-03-191-6/+21
|
* [i915] Bug #13634: Fix bugs in 945 cube mipmap layout.Eric Anholt2008-03-181-15/+18
| | | | | | | | | | | | | The most egregious, and the one the bug report and failure in the cubemap demo were about was introduced with intel_mipmap_pitch_align(), where a "* 2" for the pitch calculation was lost. The base size < 32 case also failed to align, which may have caused problems with render to texture. Another bug would have broken 2x2/1x1 base mipmap levels by placing the data where the hardware wouldn't look for it. Other bugs remain with the layout of the small mipmap faces (hardware looks for them in X,Y,Z,-X,-Y,-Z order along the bottom row, but we lay them out X,-X,Y,-Y,Z,-Z).
* [i915] Add comments about how cube texture layout works.Eric Anholt2008-03-181-2/+107
|
* [i915] Move miptree layout code into separate functions per target.Eric Anholt2008-03-181-258/+285
| | | | Also clean up some other miscellaneous formatting nits while I'm at it.
* [intel] Clarify miptree layout by using byte offsets to images.Eric Anholt2008-03-182-12/+29
|
* [945] Remove conditional in 945 3D mipmap layout checking for cube layout.Eric Anholt2008-03-181-4/+3
|
* set outputs_safe to 0 as it's possible for the code generationAlan Hourihane2008-03-193-106/+205
| | | | | | to slip over the allocated memory for the vb. pull in sse fixes from gallium-0.1
* Revert "[i965] make stipple pattern continue across GL_LINE_LOOP and ↵Zou Nan hai2008-03-182-3/+3
| | | | | | | GL_LINE_STRIP" There is no information in GS to determinate when to reset line stipple count, still fallback to software This reverts commit 5a0314b431ab147c6156c3011f4cb54161ba4b25.
* glx: Add isDirect back to __GLXcontextRec. It is neededXiang, Haihao2008-03-183-2/+9
| | | | | | to check whether oldGC is used for direct rendering in function MakeContextCurrent. However it is possible oldGC->driContext is already freed. fix bug #14926.
* [i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIPZou Nan hai2008-03-182-3/+3
|
* r300: add new rs690 pci idDave Airlie2008-03-181-0/+1
|