summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2005-05-04Add a facility to route all rasterization through a fragment programKeith Whitwell
which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
2005-05-04Sort instructions for clarity.Keith Whitwell
2005-05-04Include negate information in disassembly output.Keith Whitwell
2005-05-04Mark unused registers as undefined so dissassemblers can recognizedKeith Whitwell
them easily.
2005-05-04Improve the quality of the disassembly output for fragment programs.Keith Whitwell
2005-05-04 Committing in .Jouk Jansen
OpenVMS compile update Modified Files: Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
2005-05-04DRI fbdev driver getting better. Now I can see something on the screenJon Smirl
but it isn't the right something yet.
2005-05-03Import all texture coordinate arrays. Import them only once.Keith Whitwell
2005-05-01Add support to external tnl switcher and disable hw tnl by default.Aapo Tahkola
2005-05-01Bumped the Savage driver date (a bit late) to mark S3TC support.Felix Kuehling
2005-05-01Fixed and cleaned up programming of watermark registers. There may beFelix Kuehling
a marginal speedup, but I'm not sure this has the same effect on all hardware. Tested on Savage IX and ProSavageDDR. For experimenting with different values see the macros at the start of savagestate.c.
2005-05-01Improve the DRI fb driver, now it compiles.Jon Smirl
Added code to support NEW_INTERFACE. It still doesn't work. Made it build from make linux-solo.
2005-04-30apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and ↵Brian Paul
regenerate get.c
2005-04-30r300 side support for fixed function pipeline. This isnt functional with ↵Aapo Tahkola
current Mesa.
2005-04-30Fixed bogus ENUM_TO_BOOLEAN inFelix Kuehling
_mesa_GetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS_ARB). Must be ENUM_TO_INT. mesa/progs/tests/texenv now lists supported compressed texture formats correctly.
2005-04-30Added S3TC support to the Savage driver with some help from Mark Cass'sFelix Kuehling
S3TC support for an older driver version. On Savage3D/IX/MX GL_EXT_texture_compression_s3tc can't be enabled because DXT3 and DXT5 are not supported. However GL_S3_s3tc is enabled on all Savage chips. Tested on a Savage IX and a ProSavageDDR
2005-04-29Format for 80 columns. Add alternate matrix mul based on MAD rather than DP4.Keith Whitwell
2005-04-29Add DISASSEM define, similar to other program generator files.Keith Whitwell
2005-04-29Put back not-so-redundant #ifdef.Keith Whitwell
2005-04-29Remove redundant #ifdef, fix compiler warningKeith Whitwell
2005-04-29Maintain a fragment program for current texturing state.Keith Whitwell
2005-04-28fix _tnl_copy_to_current() so that current edge flag and rasterpos aren't ↵Brian Paul
trashed by color index updates
2005-04-28Stop gcc-4.0 complaining about "type qualifiers ignored on functionKeith Whitwell
return type".
2005-04-28Stop gcc-4.0 complaining about "type qualifiers ignored on functionKeith Whitwell
return type".
2005-04-27move set_component_sizes() to fix bug 3135Brian Paul
2005-04-26tweak previous fog/fragment program fixBrian Paul
2005-04-26added interpolate_fog()Brian Paul
2005-04-26enable fog render input if fragment program fog option setBrian Paul
2005-04-26comments and minor clean-upBrian Paul
2005-04-25Fix as suggested by Ben Skeggs.Aapo Tahkola
2005-04-25Ensure all VB->AttribPtr[] are populated. Reported by Aapo TahkolaKeith Whitwell
2005-04-25Minor changes to make linux-solo build againJon Smirl
2005-04-24Software fallback for glColorMask. Can be avoided on Savage4 when allFelix Kuehling
channels are masked (disable draw update). Bumped driver date to reflect recent correctness fixes. The driver now passes all glean tests except exactRGBA on both Savage4 and Savage3D-based cards.
2005-04-24Modifying to build against current Mesa. Disabled r200*.c files since they ↵Aapo Tahkola
didnt want to build anymore.
2005-04-23Fixed a segfault introduced by Keith's pipeline changes.Felix Kuehling
2005-04-23Texturing fixes for Savage3D/MX/IX:Felix Kuehling
- force emitting texAddr when the texture image changed (flush caches) - set transparent texture color key to something improbable (couldn't find a way to disable it completely) - fixed texture environment modes GL_DECAL and GL_REPLACE - made texture environment mode GL_BLEND a software fallback - added two custom texture formats for promoting from GL_ALPHA to ARGB8888 and 4444. Since the hardware can't be made to ignore the RGB color components, set them to 1 instead of 0. This gives the correct results - disabled GL_EXT_texture_env_add on Savage3D/MX/IX - map both GL_CLAMP and GL_CLAMP_TO_EDGE to hardware mode "wrap". It doesn't match either mode exactly by the spec, so we should either fall back on both or none. I chose the latter. - fall back to software when s and t wrapping modes differ (hardware has only one bit for both)
2005-04-23Fix the worst problems with dangling edgeflag references inKeith Whitwell
display lists. These mainly arise from edgeflag being the only attribute no longer stored internally as a float and requiring various special case paths to accomodate it.
2005-04-22Updates for pipeline_stage struct changes.Keith Whitwell
2005-04-22First pass at updating these drivers with pipeline_stage struct changes.Keith Whitwell
2005-04-22Added a French translation of option descriptions by Stephane Marchesin.Felix Kuehling
2005-04-22Move the call to _tnl_UpdateFixedFunctionProgram to makeKeith Whitwell
it easier for hardware drivers to test this out.
2005-04-22Simplify the pipeline_stage structureKeith Whitwell
- remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
2005-04-22Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.Keith Whitwell
2005-04-22Add more error checking.Michal Krol
2005-04-22Cosmetic changes.Michal Krol
2005-04-22Move some utility functions to slang_utility.c.Michal Krol
2005-04-22Provide precompiled binary versions of built-in library .gc sourcesMichal Krol
to dramatically improve shader compiling performance.
2005-04-22undef DEPTH_TYPE at endBrian Paul
2005-04-21Fixed some suspicious pointer casts that caused lots ofFelix Kuehling
compile-time-warnings on x86-64. Not tested on x86-64 yet, but a good thing in general, so I'm giving up waiting for feedback. See also https://bugs.freedesktop.org/show_bug.cgi?id=2924.
2005-04-21Fixed TexEnv modes GL_BLEND and GL_ADD on Savage4-based cards. DisabledFelix Kuehling
the use of hardware texture format I8 as it produces garbage at least on ProSavageDDR.