summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-19r300: merge r300/r500 fragment program structuresMaciej Cencora
2009-04-19r300: r300/r500 fp shader merge WIPMaciej Cencora
2009-04-19r300: general cleanupMaciej Cencora
- remove unused fields - remove unused defines and macros - flatten one structure
2009-04-19r300: remove unnecessary forward function declarationMaciej Cencora
2009-04-19r300: context creation cleanupMaciej Cencora
- move constant values initialization to seperate function - remove obvious comments
2009-04-19radeon: update clear state with latest intel codeDave Airlie
2009-04-17r300: we always want non NDC coords format for swtclMaciej Cencora
2009-04-17r300: cleanup frag prog setup a littleMaciej Cencora
Use proper fields for marking if fp is translated, and if is translated succesfully. Now if fp gets translated (even unsuccesfully) fp->translated is true. If the translation failed (i.e. because we exceeded limit of maximum texture indirections) the fp->error is set. With a little updated fallback function it prevents non native fragment programs from beeing translated with every frame (the translation would fail anyway so there's no point to try again). Also implement IsProgramNative function for GL_FRAGMENT_PROGRAM_ARB (it should give some performance boost in apps that checks if program is native and falls back to simpler shader to meet hw limits if necessary) and cleanup indentation (remove whitespaces on empty lines).
2009-04-17r300: update r500 path for reordered WPOS and FOG fp attributesMaciej Cencora
Report and regression testing by Fabio Pedretti.
2009-04-16dri: attempt to actually refcount the __DRIDrawableDave Airlie
valgrind was showing a race between the drawable getting destroyed by the X resource freeing code, and the context getting destroyed later and freeing the drawable. However I've no idea if some other combination of things could cause this code to leak.
2009-04-16radeon: take a bo reference when adding to validate listDave Airlie
2009-04-12r200: fix texture level for compiz caseJerome Glisse
2009-04-12r200: validate vertex bufferJerome Glisse
2009-04-12radeon: emit scissor when using cs pathJerome Glisse
2009-04-09r300: fix color tilingDave Airlie
2009-04-09r300: reorder fog coordinate and WPOS fp attributesMaciej Cencora
HW TCL path currently assumed fog, WPOS order. The order was inverted for SW TCL path. This hopefully fixes rest of fog and WPOS related bugs. Additionally fix some indentation, don't route unnecessary components of fog coordinates for performance reasons and simplify vertex attribute emitting for SW TCL path.
2009-04-09r300: fix regression from swtcl rewriteMaciej Cencora
Fix wrong attribute emit and revert to previous behaviour of calculating VAP_OUT_VTX_FMT_1 register value. We can't use r300VAPOutputCntl1 function because it assumes that all texture coords have 4 components and that is the case for HW TCL path, but not for SW TCL.
2009-04-09Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
Conflicts: src/mesa/drivers/dri/r200/r200_tex.c src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/radeon/radeon_tex.c
2009-04-08r300-gallium: Properly emit indexbufs.Corbin Simpson
This fixes hardlocks with anything using elts.
2009-04-08r300-gallium: Add vertex shader constant emit.Corbin Simpson
2009-04-08python/retrace: Try to cope with failures creating textures.José Fonseca
2009-04-08python: Don't try to finish a null fence.José Fonseca
2009-04-08python/retrace: Use colors on windows console.José Fonseca
2009-04-08Mesa: allow suppression of debug messages in a debug buildRobert Ellison
For testing, it's very useful to be able to test on a debug build, while suppressing the debug messages (messages that are by default suppressed in a release build), in order to see the same behavior that users of release builds will see. For example, the "piglit" test suite will flag an error on programs that produce unexpected output, which means that a debug build will always fail due to the extra debug messages. This change introduces a new value to the MESA_DEBUG environment variable. In a debug build, explicitly setting MESA_DEBUG to "0" will suppress all debug messages (both from _mesa_debug() and from _mesa_warning()). (The former behavior was that debug messages were never suppressed in debug builds.) Behavior of non-debug builds has not changed. In such a build, _mesa_debug() messages are always suppressed, and _mesa_warning() messages will be suppressed unless MESA_DEBUG is set *to any value*.
2009-04-08gallium: when using gl_PointCoord ensure we use the correct attribute.Alan Hourihane
2009-04-08python/retrace: Allow to specify the range of calls of interest.José Fonseca
2009-04-08trace: Make calls dumping threadsafe.José Fonseca
2009-04-08trace: Make call no global.José Fonseca
2009-04-08python/retrace: Handle recent traces.José Fonseca
Try to keep backwards compatability with old traces as much as possible.
2009-04-08python: Fix method renaming.José Fonseca
2009-04-08python: Cope with null surfaces.José Fonseca
2009-04-08wgl: Integrate the trace driver on debug builds.José Fonseca
2009-04-08trace: Simplify cast wrappers.José Fonseca
2009-04-08trace: Match pipe_context::clear prototype.José Fonseca
2009-04-08gallium: handle the case of util_pack_z_stencil(format=PIPE_FORMAT_S8_UNORM)Brian Paul
Fixes failed assertion in glean fbo test.
2009-04-08docs: bump Gallium version numberBrian Paul
2009-04-08docs: updated Cell driver infoBrian Paul
2009-04-08docs: more info for 7.4 release notesBrian Paul
2009-04-08mesa: Don't attempt to free the dummy program.José Fonseca
2009-04-07st: implement glCopyTexImage() for GL_DEPTH24_STENCIL8 internal formatBrian Paul
2009-04-07st: implement GL_DEPTH_STENCIL format for glReadPixels and DrawPixels()Brian Paul
2009-04-07softpipe: minor debug-help changes in softpipe_transfer_map()Brian Paul
2009-04-07mesa: add another special/optimized case in _mesa_unpack_depth_span()Brian Paul
2009-04-07swrast: fix point rendering function selectionBrian Paul
Need to clamp default point size to min/max range before checking if it's one. Fixes glean pointAtten test.
2009-04-07mesa: fix incorrect component ordering for sRGB8 texture fetch/storeBrian Paul
This format is layered on MESA_FORMAT_RGB888 so the component order is actually BGR. Fixes glean pixelFormat failures.
2009-04-07glsl: enable the new linear scan register allocator codeBrian Paul
Seems to b working well enough to enable all the time. Optimizations can be disabled with "export MESA_GLSL=nopt" if needed.
2009-04-07docs: document the MESA_GLSL env var, other misc GLSL updatesBrian Paul
2009-04-07glsl: don't optimize program if MESA_GLSL=noptBrian Paul
2009-04-07radeon: fix compiler warningAlex Deucher
2009-04-07swrast: restore !shader check around add_specular()Brian Paul
Fixes a regression from commit 76ac75af8e5481b498981c133836efa2101be2dc.