summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Put color index attribute into the 6th attribute slot.Brian Paul2006-04-2527-174/+134
| | | | | | Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
* silence warningsBrian Paul2006-04-252-3/+12
|
* No longer alias generic vertex attribs with conventional attribs for ↵Brian Paul2006-04-2510-121/+678
| | | | GL_ARB_vertex_program.
* extended swizzle (bug 6727)Brian Paul2006-04-241-0/+10
|
* updated assertionBrian Paul2006-04-231-4/+8
|
* enable feedback renderingAapo Tahkola2006-04-231-1/+1
|
* disable hw locking when entering span rendering for nowAapo Tahkola2006-04-231-1/+2
|
* need to hold before freeingAapo Tahkola2006-04-231-41/+45
|
* Enable USER_BUFFERS, RADEON_VTXFMT_A and HW_VBOS on big endian by forcing ↵Benjamin Herrenschmidt2006-04-234-43/+101
| | | | | | all elts to 32 bits (it would be possible to do a half word swap for 16 bits if somebody is interested) and by using the input route mecanism to swap ubyte's properly in r300EmitArrays. Tested with cva, varray and quake3
* Fix yet another issue with popping GL_DRAW_BUFFER state with respect toBrian Paul2006-04-221-12/+29
| | | | single vs. multiple outputs and what kind of FBO is currently bound.
* Ensure all GART allocations are freed on context destruction, rather thanAdam Jackson2006-04-211-1/+49
| | | | | | | waiting for the DRM to reap them at process exit. Fixes (fatal) allocation failures in AIGLX configurations. Reviewed by: Aapo Tahkola
* Fix format strings for LP64Adam Jackson2006-04-211-2/+2
|
* pass color index as float, not intBrian Paul2006-04-211-2/+2
|
* depend is not a .PHONY targetBrian Paul2006-04-211-1/+0
|
* limit max program/param length to 255 (spotted by sroland)Aapo Tahkola2006-04-202-1/+3
|
* check glLoadProgramNV len < 0 (bug 6679)Brian Paul2006-04-201-2/+7
|
* error_attrib() should generate GL_INVALID_VALUE, not GL_INVALID_ENUM.Brian Paul2006-04-201-27/+46
| | | | New doxygen comments, misc clean-ups.
* Make most of the _mesa_noop_*() functions static.Brian Paul2006-04-205-264/+161
| | | | | | | Generate GL_INVALID_VALUE, not GL_INVALID_ENUM when glVertexAttrib is called with a bad index. Use _mesa_noop_vtxfmt_init() in DRI drivers to initialize vertex format struct.
* some tentative code for _mesa_update_framebuffer_visual()Brian Paul2006-04-201-0/+7
|
* SrcReg->Swizzle is always initialized to SWIZZLE_NOOP, and if the programDave Airlie2006-04-191-0/+3
| | | | | | | | | specifies a 2/3/4-compontent swizzle suffix, SrcReg->Swizzles is just ORed against the new component values, without resetting it first. Attached patch makes tests/vptest2 pass. From Tilam Sauerbeck bug 6673
* fix invalid free() problem (bug 6658)Brian Paul2006-04-191-8/+5
|
* Remove carriage-return chars *ONLY*.Michal Krol2006-04-1848-13782/+13782
|
* Add support for ARB_vertex_shader attrib binding and query.Michal Krol2006-04-188-1948/+2497
| | | | Clean-up ARB_shaderobjects code a bit.
* Add .note.GNU-stack section to assembler files to avoid the default behaviorKristian Høgsberg2006-04-1725-15/+115
| | | | of requesting executable stacks.
* Silence a few -pedantic warnings.Brian Paul2006-04-141-98/+114
| | | | | Remove ^M chars. Replace _mesa_get_string() with simpler copy_string().
* s/MaxTextureUnits/MaxTextureCoordUnits/Brian Paul2006-04-141-5/+3
|
* When popping GL_DRAW_BUFFER state, need to re-do error checking sinceBrian Paul2006-04-141-4/+15
| | | | | | validity depends on whether a window-system FBO or user-created FBO is currently bound. glPopAttrib() may generate GL_INVALID_OPERATION because of this.
* silence -pedantic warningBrian Paul2006-04-141-0/+1
|
* don't need s_depth.hBrian Paul2006-04-141-1/+0
|
* Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]UnitsBrian Paul2006-04-149-47/+134
| | | | | | in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture().
* Fix comment about MaxTextureUnits, needs to be min of coord and image units.Brian Paul2006-04-135-9/+17
| | | | | | | | See bug 5994. Also add a few assertions. Use MaxTextureUnits in get.c code. There's probably other places where we need to clean-up the usage of the MaxTexture[Coord/Image]Units constants.
* silence minor warningsBrian Paul2006-04-131-4/+4
|
* casts to fix some -pedantic warningsBrian Paul2006-04-132-10/+12
|
* Set array normalization flag for normals, colors (Keith)Brian Paul2006-04-131-3/+3
|
* updated tests for defining __FUNCTION__ (Dan Schikore)Brian Paul2006-04-131-3/+6
|
* added 'const' (Dan Schikore)Brian Paul2006-04-131-1/+1
|
* GLboolean cannot hold GLuint! usage of tmus >= 4 no longer lock r300.Aapo Tahkola2006-04-121-12/+7
|
* add missing 'union' keywordBrian Paul2006-04-111-2/+3
|
* FBConfig support for EXT_tfpDavid Reveman2006-04-112-1/+50
|
* Add attrib_list to glXBindTexImageEXTDavid Reveman2006-04-111-2/+25
|
* Fix CreateDrawableDavid Reveman2006-04-111-1/+7
|
* More GLSL code:Michal Krol2006-04-1139-583/+882
| | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
* get fog going(for real)Aapo Tahkola2006-04-111-1/+0
|
* rectangular fp16 fixes (Ewald Snel)Aapo Tahkola2006-04-111-0/+18
|
* Fog support (Ewald Snel)Aapo Tahkola2006-04-116-24/+177
|
* use _mesa_debug() instead of message() - fixes poor formatting of outputBrian Paul2006-04-101-55/+34
|
* Destroy the GL context after driDestroyTextureHeap, because the driver'sEric Anholt2006-04-093-12/+12
| | | | DestroyTexObj has a dependence on the glCtx and may segfault otherwise.
* fix some conflict happenings at context destroy by freeing buffers ↵Aapo Tahkola2006-04-082-8/+14
| | | | immediately. array locking can be done with vbos for vtxfmt_a so we dont really need to try to reuse them.
* regenerate SPARC assembly dispatch (bug 6484)Brian Paul2006-04-072-6/+17
|
* replace >&/dev/null with >/dev/null so it works with all shellsBrian Paul2006-04-071-1/+1
|