Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | remove some unneeded #includes | Brian Paul | 2006-06-13 | 4 | -8/+2 |
| | |||||
* | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | 2006-06-12 | 1 | -1/+1 |
| | | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required. | ||||
* | check for invalid mode in glBegin(), bug 7142 | Brian Paul | 2006-06-08 | 1 | -0/+5 |
| | |||||
* | prevent run_arb_vertex_program from running tnl programs unless ↵ | Aapo Tahkola | 2006-06-06 | 4 | -9/+16 |
| | | | | ctx->_MaintainTnlProgram is set | ||||
* | Fix extended swizzling in vertex programs by introducing special swizzle ↵ | Roland Scheidegger | 2006-06-01 | 3 | -132/+161 |
| | | | | instruction, extend the 2 bit rsw field to 3 bit like used in other places. While here, also fix up rsw (negation), dph and try to fix up rsq with negative values (doesn't work, bug seems elsewhere) in the sse codegen code. | ||||
* | Add const qualifiers in a number of places. | Brian Paul | 2006-05-23 | 2 | -3/+3 |
| | |||||
* | Write attribs to slang machine. | Michal Krol | 2006-05-16 | 1 | -15/+22 |
| | |||||
* | Release temporary | Keith Whitwell | 2006-05-05 | 1 | -0/+2 |
| | |||||
* | Remove carriage returns. | Michal Krol | 2006-04-25 | 1 | -285/+285 |
| | |||||
* | Put color index attribute into the 6th attribute slot. | Brian Paul | 2006-04-25 | 13 | -93/+62 |
| | | | | | | 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. | ||||
* | No longer alias generic vertex attribs with conventional attribs for ↵ | Brian Paul | 2006-04-25 | 4 | -70/+158 |
| | | | | GL_ARB_vertex_program. | ||||
* | error_attrib() should generate GL_INVALID_VALUE, not GL_INVALID_ENUM. | Brian Paul | 2006-04-20 | 1 | -27/+46 |
| | | | | New doxygen comments, misc clean-ups. | ||||
* | Add .note.GNU-stack section to assembler files to avoid the default behavior | Kristian Høgsberg | 2006-04-17 | 1 | -0/+4 |
| | | | | of requesting executable stacks. | ||||
* | Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units | Brian Paul | 2006-04-14 | 4 | -7/+7 |
| | | | | | | in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture(). | ||||
* | silence minor warnings | Brian Paul | 2006-04-13 | 1 | -4/+4 |
| | |||||
* | More GLSL code: | Michal Krol | 2006-04-11 | 5 | -140/+171 |
| | | | | | | | | | | | | - 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; | ||||
* | Rename CLIP_ALL_BITS to CLIP_FRUSTUM_BITS to reflect the fact that the value | Brian Paul | 2006-04-06 | 5 | -5/+7 |
| | | | | | only includes the 6 frustum bits, not the user-clip plane bit, nor the vertex cull bit. | ||||
* | Fix line clipping bug 6512. | Brian Paul | 2006-04-06 | 1 | -24/+28 |
| | | | | This fix is to discard the line if both dot products are negative. | ||||
* | Coverity #476: Avoid walking off the end of ->vtx.attrsz, it's declared to | Adam Jackson | 2006-04-02 | 1 | -1/+1 |
| | | | | | | | | be _TNL_ATTRIB_MAX long so that's not a valid index (woo zero based indexing). This code still looks wrong though, the asymmetry between _tnl_copy_to_current and _tnl_copy_from_current has me worried. | ||||
* | GLSL fixes: | Michal Krol | 2006-03-21 | 11 | -15/+15 |
| | | | | | | | | | | | | | | | | | | - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg; | ||||
* | fix up the emit_func list in the experimental arbprogram sse code. | Roland Scheidegger | 2006-03-03 | 1 | -5/+45 |
| | |||||
* | Add position_invarient support | Keith Whitwell | 2006-03-02 | 1 | -2/+17 |
| |