summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup
Commit message (Collapse)AuthorAgeFilesLines
* Document a deficiency in the _swrast_Translate() function with regard to ↵Brian2007-05-021-1/+2
| | | | point size.
* use EMIT_1F or EMIT_4F for fog depending on fragment program (bug 10788)Brian2007-04-281-2/+4
|
* remove SWvertex->fog field, use attrib fieldBrian2007-04-231-2/+2
|
* some re-org, clean-upBrian2007-04-231-25/+46
|
* fig segment fault issue in TAG(triangle), (see bug 10589)Xiang, Haihao2007-04-181-19/+24
| | | | | | Bit SS_TWOSIDE_BIT is set if gl_FrontFacing lives in fragment input (see commit 10b5895597d5e069183cb647d17eb412effceb4f). However, VB->ColorPtr[1] isn't assigned after that.
* Implement gl_FrontFacing for fragment shaders.Brian2007-03-102-3/+4
| | | | | | For the time being, we put the gl_FrontFacing value in the FOGC.Y input register. Combining FOGC and FrontFacing in one register is a bit of a hack and may need to be changed someday.
* Merge SWvertex texcoord and varying fields into attrib[] array field.Brian2007-02-051-4/+9
| | | | | Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
* s/attribute/varying/Brian2006-12-211-1/+1
|
* varying var changesBrian2006-12-151-6/+12
|
* list header files in sources files (Dan Nicholson)Brian Paul2006-11-211-0/+7
|
* List of source (.c) files in each directory.Brian Paul2006-10-111-0/+3
| | | | | To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there.
* s/ATTRIBUTE/GENERIC/Brian Paul2006-06-141-2/+2
|
* Rename _TNL_ATTRIB_ATTRIBUTE* to _TNL_ATTRIB_GENERIC*Brian Paul2006-06-141-1/+1
|
* Put color index attribute into the 6th attribute slot.Brian Paul2006-04-251-5/+5
| | | | | | 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.
* s/MaxTextureUnits/MaxTextureCoordUnits/Brian Paul2006-04-141-5/+3
|
* More GLSL code:Michal Krol2006-04-112-37/+46
| | | | | | | | | | | | - 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;
* Committing in .Jouk Jansen2005-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 1) change compilation on VMS to use IEEE floating points 2) one more problem with _mesa_sprintf solved Modified Files: Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms Mesa/src/mesa/array_cache/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/grammar/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.Brian Paul2005-09-131-1/+1
| | | | | See comment near top of stencil.c for info about OpenGL 2.0 vs. GL_EXT_stencil_two_side.
* moved to windows build dirKarl Schultz2005-05-241-124/+0
|
* Fix valgrind complaint, conform vertex order test.Keith Whitwell2005-05-111-6/+20
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-1/+1
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell2004-07-011-2/+2
|
* Fix minor warnings found with g++.Brian Paul2004-05-042-3/+3
|
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-231-3/+3
| | | | | | | program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
* fix array index error in _swsetup_Translate (Felix)Brian Paul2004-03-211-2/+2
|
* added clamping to polygon offset to prevent potential negative Z values and ↵Brian Paul2004-03-031-16/+15
| | | | FP exceptions
* another tweak to two-sided detection testBrian Paul2004-02-041-1/+1
|
* fix two-sided lighting / vertex program bug (#887330)Brian Paul2004-02-042-8/+10
|
* change type of loop index var to remove compiler warning.Karl Schultz2004-01-131-1/+1
|
* remove ss_vb.c from projectKarl Schultz2004-01-131-4/+0
|
* Committing in .Jouk Jansen2004-01-081-3/+2
| | | | | | | | | Update OpenVMS makefiles Modified Files: Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Fixes for _swsetup_Translate()Keith Whitwell2004-01-061-2/+9
|
* Beef up t_vertex.c:Keith Whitwell2004-01-054-741/+76
| | | | | | | | | | | - cope with input vectors with size less than that of the emitted attribute. - cope with vertices with 'holes' inside and between vertices. Fix calculation of tnl->render_inputs to work with fp programs. Mirror VB->PointSizePtr in VB->AttribPtr so that it can work with t_vertex.c. Transition swrast_setup/ to use t_vertex.c to build swrast vertices.
* Re-commit t_vertex.[ch] changes to fd.o server.Keith Whitwell2004-01-052-0/+48
|
* Update NEED_SECONDARY_COLOR macro to test if either vertex/fragmentBrian Paul2003-12-091-0/+1
| | | | | programs are enabled and if they need secondary color input register. Patch by Karl Rasche, with tweaks by Brian.
* Save and restore front colors on backfacing triangles rather than trying toKeith Whitwell2003-11-281-13/+28
| | | | pull them again from the VB pointers. Avoids stride issues.
* fix assorted g++ warningsBrian Paul2003-11-252-7/+7
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-244-38/+33
|
* Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul2003-10-221-2/+2
| | | | | | Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
* Assorted casts to silence g++ warnings.Brian Paul2003-09-191-1/+1
|
* Make binary - even though this is a text file, common practice is to store ↵Karl Schultz2003-09-191-128/+128
| | | | MS studio files as binary
* Move away from using the ctx->_TriangleCaps bitfield.Brian Paul2003-09-182-7/+13
| | | | | New macros in context.h for testing state: NEED_SECONDARY_COLOR and NEED_TWO_SIDED_LIGHTING.
* Generate browse info for Debug version.Karl Schultz2003-08-301-2/+2
|
* VC 6 Project FileKarl Schultz2003-07-261-0/+128
|
* Committing in .Jouk Jansen2003-07-021-0/+4
| | | | | | | | | | | | | | | | | | | | Enable installation on OpenVMS ODS5 disks. Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Committing in .Jouk Jansen2003-06-171-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | OpenVMS support for new directory tree Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glu/sgi/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Added Files: Mesa-newtree/descrip.mms Mesa-newtree/mms-config. Mesa-newtree/src/descrip.mms Mesa-newtree/src/glu/descrip.mms Mesa-newtree/src/mesa/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms Mesa-newtree/vms/analyze_map.com Mesa-newtree/vms/xlib.opt Mesa-newtree/vms/xlib_share.opt ----------------------------------------------------------------------
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-058-8/+0
|
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-6/+4
| | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
* Use 'ndc' instead of 'proj' terminology.Brian Paul2003-02-041-17/+17
| | | | Added a bunch of const qualifiers.
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-5/+5
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.