Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | handle PROGRAM_UNIFORM, fix a _mesa_problem() call | Brian | 2006-12-20 | 1 | -1/+2 |
| | |||||
* | cases for NOP, BRA | Brian | 2006-12-16 | 1 | -0/+7 |
| | |||||
* | added assertion to catch use of too many temporaries | Brian | 2006-12-15 | 1 | -0/+1 |
| | |||||
* | varying changes | Brian | 2006-12-15 | 2 | -2/+2 |
| | |||||
* | updated includes | Brian | 2006-12-15 | 1 | -1/+1 |
| | |||||
* | updated includes | Brian | 2006-12-15 | 3 | -4/+10 |
| | |||||
* | Obsolete. | Brian | 2006-12-13 | 1 | -332/+0 |
| | |||||
* | Checkpoint work for new GLSL compiler back-end. | Brian | 2006-12-13 | 16 | -316/+346 |
| | | | | | | | | | Among changes: Remove ctx->FragmentProgram._Active Remove _UseTexEnvProgram Move _MaintainTnlProgram, _MaintainTexEnvProgram, _TexEnvProgram and _TnlProgram fields. Remove/disable old GLSL interpreter code. | ||||
* | check for target instead of program->Target in _tnl_program_string, avoids ↵ | Roland Scheidegger | 2006-11-29 | 1 | -1/+1 |
| | | | | segfault if program is NULL | ||||
* | decrease the current vertex count by 1 if an uneven number of vertices is ↵ | Roland Scheidegger | 2006-11-22 | 1 | -0/+5 |
| | | | | copied by _tnl_copy_vertices. Otherwise, since in this case it will copy an extra vertex to avoid problems with vertex order in the new buffer, one triangle will be drawn twice. This fixes bug #9062. | ||||
* | remove unneded call to _tnl_invalidate_state() in ↵ | Roland Scheidegger | 2006-11-22 | 1 | -4/+1 |
| | | | | _tnl_need_projected_coords(). Connected to bug #9103, though that bug got fixed without this change too. | ||||
* | Set _NEW_LIGHT when materials are present in display lists also. | Keith Whitwell | 2006-11-22 | 1 | -0/+1 |
| | |||||
* | Move setting of _NEW_LIGHT to only occur when materials are present. | Keith Whitwell | 2006-11-22 | 1 | -2/+1 |
| | |||||
* | list header files in sources files (Dan Nicholson) | Brian Paul | 2006-11-21 | 1 | -1/+16 |
| | |||||
* | Make sure vbo's are mapped before accessing their contents in | Keith Whitwell | 2006-11-16 | 1 | -0/+8 |
| | | | | api_arrayelt.c. Reported by Haihao Xiang. | ||||
* | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | 2006-11-15 | 1 | -2/+2 |
| | | | | | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now... | ||||
* | signal _NEW_LIGHT in _tnl_copy_to_current() | Brian Paul | 2006-10-31 | 1 | -0/+2 |
| | |||||
* | Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h. | Brian Paul | 2006-10-30 | 1 | -7/+7 |
| | | | | | Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution. | ||||
* | If DEBUG, check that all array indices really do fall in [start,end] in | Brian Paul | 2006-10-26 | 1 | -1/+19 |
| | | | | the DrawRangeElements() call. Warn the user if that's not true. | ||||
* | Previously, if a fragment program referenced fragment.fogcoord but the | Brian Paul | 2006-10-25 | 1 | -2/+3 |
| | | | | | program didn't use the ARB_fog_linear option, the fragment program's fragment.fogcoord register wasn't loaded properly. | ||||
* | Fix broken line clipping. | Brian Paul | 2006-10-18 | 1 | -3/+8 |
| | | | | | | | When both ends of the line were clipped, we were using the new v0 instead of the original v0 when computing the location of the second vertex. Thus, the second vertex's position was incorrect. Thanks to Heath Feather for finding a test case. | ||||
* | Fix a dangerous use of ASSERT in an else-clause not enclosed in braces. | Brian Paul | 2006-10-18 | 1 | -2/+4 |
| | | | | We've been lucky if this hasn't been causing line rendering bugs. | ||||
* | List of source (.c) files in each directory. | Brian Paul | 2006-10-11 | 1 | -0/+31 |
| | | | | | To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there. | ||||
* | a step toward moving run-time vertex program state out of GLcontext | Brian Paul | 2006-10-10 | 1 | -4/+4 |
| | |||||
* | do not import arrays for generic arb attribs if the array is not enabled ↵ | Roland Scheidegger | 2006-10-07 | 1 | -2/+3 |
| | | | | (same as for generic attribs for nv vp is already done). Since the requested stride is 16, otherwise the code would end up doing lots of unnecessary import work (in doom3, trans_4_GLfloat_4f_raw caused by that was by far the single most time-consuming function in the r200 driver, not importing the disabled arrays caused the cpu time spent in the driver to drop from 45% to 30%, though real-world gain was pretty minimal as it's not really cpu bound here in the first place). | ||||
* | bring in active_sz mechanism from i965 driver. Fixes bug 8410 | Keith Whitwell | 2006-09-25 | 2 | -7/+17 |
| | |||||
* | don't skip user clip plane clipping when the current vertex program is ↵ | Roland Scheidegger | 2006-09-22 | 1 | -1/+2 |
| | | | | position invariant. | ||||
* | just comments and const qualifiers | Brian Paul | 2006-09-13 | 1 | -12/+11 |
| | |||||
* | fix broken do_EXP() | Brian Paul | 2006-09-13 | 1 | -7/+2 |
| | |||||
* | only allow VERT_ATTRIB_MAX instead of _TNL_ATTRIB_MAX for inputs of vertex ↵ | Roland Scheidegger | 2006-09-07 | 2 | -2/+2 |
| | | | | programs (fixes a segfault since the result of the shift is undefined otherwise, and it may happen that _TNL_ATTRIB_POINTSIZE will be tried to read, unlike all other attribs this however may be unitialized (might be a bug in itself)). | ||||
* | Remove XFree86 CVS keyword. | Brian Paul | 2006-08-25 | 3 | -3/+0 |
| | |||||
* | In _save_End(), set CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END if | Brian Paul | 2006-08-25 | 1 | -0/+3 |
| | | | | | we're in GL_COMPILE_AND_EXECUTE mode. This fixes bug 7984. | ||||
* | improved comments | Brian Paul | 2006-08-25 | 1 | -5/+18 |
| | |||||
* | Fixup more PROGRAM_UNDEFINED problems. | Alan Hourihane | 2006-08-10 | 1 | -2/+2 |
| | |||||
* | use WRITE_MASK_* instead of 0x1, 0x2, etc | Brian Paul | 2006-08-03 | 1 | -8/+8 |
| | |||||
* | Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492. | Michal Krol | 2006-08-01 | 2 | -0/+6 |
| | |||||
* | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | 2006-07-20 | 6 | -19/+19 |
| | | | | "gl_" to match other structs. | ||||
* | use ctx->Light.ShadeModel instead of ctx->_TriangleCaps | Brian Paul | 2006-07-20 | 1 | -3/+3 |
| | |||||
* | Several loops over the map1/2 evaluator arrays were incorrect. | Brian Paul | 2006-07-19 | 3 | -19/+33 |
| | | | | | | | | There's only 16 evaluator maps. Define new _TNL_NUM_EVAL constant for those loops. Also, fix priority of GL_NV_vertex_program generic maps - they override the conventional maps. See bug 7564. | ||||
* | added _TNL_NUM_GENERIC | Tilman Sauerbeck | 2006-06-29 | 1 | -0/+2 |
| | |||||
* | Don't use nested struct definitions in tnl_clipspace_fastpath. | Brian Paul | 2006-06-27 | 2 | -7/+9 |
| | | | | | Make attr_type into a top-level type: tnl_attr_type See bug 7340. | ||||
* | fix broken negate | Aapo Tahkola | 2006-06-18 | 1 | -1/+1 |
| | |||||
* | A number of vertex buffer fields like NormalPtr, FogCoordPtr, etc are really | Brian Paul | 2006-06-14 | 11 | -73/+76 |
| | | | | | | just aliases for members of the VB->AttribPtr[] array. Begin replacing FogCoordPtr with VB->AttribPtr[_TNL_ATTRIB_FOG], and similarly for NormalPtr, TexCoordPtr, PointSizePtr, etc. | ||||
* | Rename _TNL_ATTRIB_ATTRIBUTE* to _TNL_ATTRIB_GENERIC* | Brian Paul | 2006-06-14 | 4 | -29/+33 |
| | |||||
* | new assertion | Brian Paul | 2006-06-14 | 1 | -0/+2 |
| | |||||
* | remove debug printf | Brian Paul | 2006-06-13 | 1 | -1/+0 |
| | |||||
* | remove unused index_attr1fv() | Brian Paul | 2006-06-13 | 1 | -6/+0 |
| | |||||
* | s/0/NULL/ | Brian Paul | 2006-06-13 | 1 | -1/+1 |
| | |||||
* | When using an ARB vertex program, the generic vertex arrays do not alias the | Brian Paul | 2006-06-13 | 1 | -52/+74 |
| | | | | | conventional arrays. Typo: s/writeable/writable/ | ||||
* | minor simplification in texcoord array import | Brian Paul | 2006-06-13 | 1 | -1/+1 |
| |