summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup
Commit message (Collapse)AuthorAgeFilesLines
* swrast: Clean up header file inclusion in ss_vb.h.Vinson Lee2010-08-131-1/+0
| | | | Remove unnecessary header swrast_setup.h.
* swrast: Clean up header file inclusion in ss_triangle.h.Vinson Lee2010-08-121-1/+1
| | | | | Remove ss_context.h. Include mtypes.h for GLcontext symbol.
* swrast: Clean up header file inclusion in ss_context.h.Vinson Lee2010-08-121-2/+1
| | | | | Remove mtypes.h and swrast_setup.h. Include glheader.h for GL symbols.
* swrast: fix incorrect specular highlights on backfacesTim Evans2010-06-211-1/+1
| | | | | | | See bug 28577 for details. NOTE: this is a candidate for the 7.8 branch. Signed-off-by: Brian Paul <[email protected]>
* swrast: fix 16-bit/channel renderingBrian Paul2010-05-091-1/+1
| | | | NOTE: This is a candidate for the 7.8 stable branch
* tnl: Remove color-index TNL supportIan Romanick2010-03-031-5/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast_setup: Remove more color-index rendering supportIan Romanick2010-03-033-155/+79
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Fix compiler warningsKarl Schultz2010-02-132-7/+7
| | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
* swrast: Silence uninitialized variable warnings in ss_tritmp.h.Vinson Lee2010-02-101-1/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-211-3/+3
|\ | | | | | | | | | | Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
| * swrast: Silence uninitialized variable warnings in ss_tritmp.h.Vinson Lee2009-12-121-3/+3
| |
* | tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt2009-11-191-8/+8
| |
* | tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtrEric Anholt2009-11-191-1/+1
|/
* swrast: Silence compiler warnings, give better structure to the code as a ↵Michal Krol2009-03-192-61/+62
| | | | result.
* mesa: fix vertex format/attribute bugBrian Paul2008-10-081-5/+8
| | | | | | | | If the tnl output attributes matches the swsetup input attributes we still need to check if the desired vertex color type (float vs. chan) has changed so that we use the right emit functions. Fixes a conformance failure found with logicop test at pathlevel 3.
* mesa: Prefix main includes with dir to avoid conflicts.José Fonseca2008-09-211-1/+1
| | | | Eliminate a couple of differences with gallium-0.2
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-184-12/+12
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* glcore: drop outdated sources files intented for xorgGeorge Sapountzis2008-04-231-10/+0
|
* simplify update two-side lighting test (follow-on to previous ↵Brian2007-12-181-3/+1
| | | | front/back-face changes)
* fix broken two-sided stencilBrian2007-11-303-6/+9
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesajoukj2007-11-301-8/+10
|\
| * Check for NULL VB->EdgeFlag array.Brian2007-11-051-8/+10
| | | | | | | | | | There might be a bug elsewhere, but this is a simple work-around for now. See bug 12614
* | Update of OpenVMS makefiles for the use of "new" include file conventionJouk2007-10-031-2/+4
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-07-252-31/+35
|\|
| * Minor clean-up of polygon offset logic. Properly compute _MRD field.Brian2007-07-111-19/+21
| |
| * In _swsetup_Translate(), update dest->attrib[FRAG_ATTRIB_COL0].Brian2007-07-061-10/+13
| | | | | | | | | | Also, check if we're in RGB vs. CI mode. This fixes a problem with incorrect rendering color seen with the redbook/polys demo.
| * added comment, remove dead codeBrian2007-06-281-3/+1
| |
| * Fix feedback color bug #11332. In feedback mode, produce float colors.Brian2007-06-221-0/+1
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-06-084-100/+155
|\|
| * Fix problem w/ two-sided lighting and fragment programs (depth-peel regression)Brian2007-05-233-23/+62
| |
| * Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-203-83/+99
| | | | | | | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* | Updated OpenVMS makefilesJ.Jansen2007-05-101-0/+1
|/ | | | | | | | | | | | modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/main/descrip.mms modified: src/mesa/shader/descrip.mms modified: src/mesa/shader/slang/descrip.mms modified: src/mesa/swrast/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms
* 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.