summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Modifying to build against current Mesa. Disabled r200*.c files since they ↵Aapo Tahkola2005-04-2412-121/+159
| | | | didnt want to build anymore.
* Fixed a segfault introduced by Keith's pipeline changes.Felix Kuehling2005-04-231-1/+2
|
* Texturing fixes for Savage3D/MX/IX:Felix Kuehling2005-04-233-24/+240
| | | | | | | | | | | | | | | | | - 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)
* Fix the worst problems with dangling edgeflag references inKeith Whitwell2005-04-233-21/+30
| | | | | | 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.
* Updates for pipeline_stage struct changes.Keith Whitwell2005-04-226-206/+33
|
* First pass at updating these drivers with pipeline_stage struct changes.Keith Whitwell2005-04-2211-447/+70
|
* Added a French translation of option descriptions by Stephane Marchesin.Felix Kuehling2005-04-223-5/+287
|
* initial EGL codeBrian Paul2005-04-2224-0/+3429
|
* Move the call to _tnl_UpdateFixedFunctionProgram to makeKeith Whitwell2005-04-222-1/+4
| | | | it easier for hardware drivers to test this out.
* Simplify the pipeline_stage structureKeith Whitwell2005-04-2224-840/+427
| | | | | | | | | | - 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.
* Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.Keith Whitwell2005-04-221-2/+2
|
* Add more error checking.Michal Krol2005-04-222-113/+286
|
* Cosmetic changes.Michal Krol2005-04-221-5/+11
|
* Move some utility functions to slang_utility.c.Michal Krol2005-04-224-42/+123
|
* Provide precompiled binary versions of built-in library .gc sourcesMichal Krol2005-04-227-2502/+4501
| | | | to dramatically improve shader compiling performance.
* undef DEPTH_TYPE at endBrian Paul2005-04-221-0/+1
|
* Fixed some suspicious pointer casts that caused lots ofFelix Kuehling2005-04-215-19/+19
| | | | | | 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.
* Fixed TexEnv modes GL_BLEND and GL_ADD on Savage4-based cards. DisabledFelix Kuehling2005-04-213-24/+71
| | | | | the use of hardware texture format I8 as it produces garbage at least on ProSavageDDR.
* Adding some comments.Aapo Tahkola2005-04-213-2/+4
|
* Reduce the size of mesa's internal fragment and vertex programKeith Whitwell2005-04-2115-630/+774
| | | | | representations by switching to packed structures for registers and instructions.
* use _mesa_pow() for LIT (bug 3087)Brian Paul2005-04-211-1/+1
|
* Facility to construct a vertex program which executes the currentKeith Whitwell2005-04-211-0/+1047
| | | | | | | fixed function t&l pipeline. Currently runs most of the Mesa demos OK, but still needs debugging & polishing.
* New software implementation of ARB_vertex_program. Similar in speedKeith Whitwell2005-04-211-0/+1551
| | | | to existing version, but with the potential for good improvements.
* Had some odd problems with add and temps so doing it with mad. Adding some ↵Aapo Tahkola2005-04-211-14/+47
| | | | MAD_2 cases.
* fix state.light[n].spot.direction.w value (bug 3083)Brian Paul2005-04-201-1/+2
|
* clean up buffer creation codeBrian Paul2005-04-201-106/+75
|
* Reorganized shader stuff.Aapo Tahkola2005-04-195-115/+105
|
* Fixes for bugs that were nailed down when compairing against software vertex ↵Aapo Tahkola2005-04-194-64/+86
| | | | shading.
* Fixing and enabling elt buffers by default.Aapo Tahkola2005-04-183-10/+11
|
* If the file name passed to parse_GL_API is None or "-", read from standardIan Romanick2005-04-181-1/+7
| | | | input. This allows use of GL API scripts in pipelines.
* Refactor a bunch of common code from the "leaf" scripts to a new functions,Ian Romanick2005-04-1812-141/+29
| | | | parse_GL_API, in gl_XML.py.
* Fill-in function offsets and correct a couple typos.Ian Romanick2005-04-181-25/+28
|
* Convert all Python scripts to use XML namespaces.Ian Romanick2005-04-1812-92/+106
|
* Alpha test fixPeter Zubaj2005-04-181-2/+26
|
* Move the DTD to its own file.Ian Romanick2005-04-182-122/+121
|
* comments and clean-upBrian Paul2005-04-181-25/+27
|
* Add support for pthreads and TLS to libGL for __glXLock / __glXUnlock andIan Romanick2005-04-182-9/+104
| | | | | | for tracking the current GLX context. This fixes bug #3024.
* Send GL_PACK_INVERT_MESA state to the server. This fixes bug #2538.Ian Romanick2005-04-181-10/+47
|
* s/NORMAL/FOG/ (J.P. Delport)Brian Paul2005-04-181-3/+3
|
* Updates for OpenVMS : New makefilesJouk Jansen2005-04-185-6/+54
| | | | | | | | | | | | | added some type-casts Modified Files: Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/program.c Mesa/src/mesa/shader/slang/slang_compile.c Mesa/src/mesa/shader/slang/slang_preprocess.c Added Files: Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
* added SLANG_SOURCES to SOLO_C_SOURCESBrian Paul2005-04-151-0/+1
|
* added _mesa_share_state()Brian Paul2005-04-152-0/+28
|
* more gldirect compile fixes. Getting near the linking stage now. No build ↵Ben Crossman2005-04-1514-188/+511
| | | | file yet.
* remove carriage returnsBrian Paul2005-04-156-8686/+8686
|
* Fix alpha value of STATE_LIGHTMODEL_SCENECOLOR. From the spec:Keith Whitwell2005-04-151-3/+7
| | | | | | | The "w" component of the program parameter variable is filled with the alpha component of the front diffuse material color. Make sure matrix inverses are uptodate also.
* add shader/slang/slang_preprocess.cMichal Krol2005-04-151-1/+2
|
* implement info log; parse #version directiveMichal Krol2005-04-153-177/+402
|
* slang preprocessorMichal Krol2005-04-152-0/+120
|
* slang #version directive syntaxMichal Krol2005-04-152-0/+182
|
* change __asm statement semanticsMichal Krol2005-04-153-14/+14
|