Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | update comments | Brian Paul | 2006-11-01 | 1 | -17/+6 |
| | |||||
* | Remove x/y/width/height parameters from Clear functions. | Brian Paul | 2006-11-01 | 41 | -207/+156 |
| | |||||
* | comment-out unused var | Brian Paul | 2006-11-01 | 1 | -1/+1 |
| | |||||
* | remove unused vars | Brian Paul | 2006-11-01 | 2 | -2/+0 |
| | |||||
* | fix _mesa_select_tex_image() calls | Brian Paul | 2006-11-01 | 1 | -4/+2 |
| | |||||
* | Write back gl_FragDepth to span->array->z. | Michal Krol | 2006-11-01 | 1 | -1/+10 |
| | |||||
* | Don't use the x/y/width/height params passed to Clear(). Get them | Brian Paul | 2006-11-01 | 6 | -60/+80 |
| | | | | after locking. Next: remove the params altogether. | ||||
* | disable debug printf | Brian Paul | 2006-11-01 | 1 | -3/+4 |
| | |||||
* | disable debug printfs | Brian Paul | 2006-11-01 | 2 | -4/+7 |
| | |||||
* | Correct a little bug, radeon->glCtx is a pointer. | Jerome Glisse | 2006-11-01 | 1 | -2/+3 |
| | |||||
* | Remove deprecated GetBufferSize interface. | Jerome Glisse | 2006-11-01 | 5 | -72/+76 |
| | |||||
* | recent updates/fixes | Brian Paul | 2006-11-01 | 1 | -0/+3 |
| | |||||
* | fix compiler warnings | Keith Whitwell | 2006-11-01 | 2 | -0/+2 |
| | |||||
* | Patch from <[email protected]> -- pass program string | Keith Whitwell | 2006-11-01 | 1 | -0/+2 |
| | | | | notification callback through to tnl/ module, fixes glean crash. | ||||
* | merge the (rest of) texmem branch | Keith Whitwell | 2006-11-01 | 7 | -31/+679 |
| | |||||
* | Merge texmem-0-3-branch. | Keith Whitwell | 2006-11-01 | 20 | -518/+1735 |
| | |||||
* | Add LIT instruction to fragment program. | Jerome Glisse | 2006-11-01 | 2 | -17/+88 |
| | |||||
* | Import texmem i915 driver to its new location as i915tex. | Keith Whitwell | 2006-11-01 | 73 | -0/+25933 |
| | |||||
* | Add CMPH instruction to fragprog | Jerome Glisse | 2006-11-01 | 1 | -0/+2 |
| | | | | | CMPH a0, a1, a2 -> if a2 > 0.5 return a1 else return a0 Guessed by examinating LIT instruction handling of FGLRX. | ||||
* | Patch from <[email protected]> -- pass program string | Keith Whitwell | 2006-11-01 | 1 | -0/+2 |
| | | | | notification callback through to tnl/ module, fixes glean crash. | ||||
* | change DEBUG_FRAG conditions | Brian Paul | 2006-11-01 | 1 | -79/+82 |
| | |||||
* | fix some bugs in interpolate_specular() | Brian Paul | 2006-11-01 | 1 | -23/+29 |
| | |||||
* | Added a few new ctx->Const. fields for shader-related limits. | Brian Paul | 2006-11-01 | 4 | -16/+30 |
| | |||||
* | make use of Parameters->StateFlags in _swrast_update_fragment_program() | Brian Paul | 2006-10-31 | 1 | -7/+4 |
| | |||||
* | minor clean-ups, simplifications and new comments | Brian Paul | 2006-10-31 | 1 | -26/+21 |
| | |||||
* | fix MINGW32 problems | Brian Paul | 2006-10-31 | 1 | -2/+4 |
| | |||||
* | We need to call _mesa_load_state_parameters() whenever a fragment program | Brian Paul | 2006-10-31 | 2 | -6/+15 |
| | | | | | | is enabled and we've changed any GL state that might be referenced by a fragment program (such as state.fog.params). Do this during swrast validation, not in _swrast_exec_fragment_program(). | ||||
* | signal _NEW_LIGHT in _tnl_copy_to_current() | Brian Paul | 2006-10-31 | 1 | -0/+2 |
| | |||||
* | In TEX instructions, use precomputed lambda only if using fragment.texcoord[k] | Brian Paul | 2006-10-31 | 1 | -34/+33 |
| | | | | | to sample texture[k]. Use zero otherwise. Not foolproof, but a good compromise. | ||||
* | For TEX instructions use lambda=0. When sampling from texture unit K we | Brian Paul | 2006-10-31 | 1 | -44/+71 |
| | | | | | | | | | | were using the partial derivatives of texcoord[K] but the coordinate used for texture sampling may be something totally different (and texcoord[K] might not be a real texture coord at all). Net result was a bogus LOD is sometimes used, often resulting in using the smallest mipmap level (a constant color). Just use zero for now (undef LAMBDA_ZERO to override). Plus, some additional debug code. | ||||
* | Fix bug #8799. | Ian Romanick | 2006-10-30 | 2 | -22/+8 |
| | | | | | | Properly resize bith the drawable and the readable in mgaUpdateRects. Eliminate the use of the deprecated GetBufferSize interface. Bump driver date. | ||||
* | Refactor mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects. | Ian Romanick | 2006-10-30 | 1 | -33/+8 |
| | | | | | | Combine mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects into a single new function called mga_set_cliprects. This enables a small refactor in mgaDDDrawBuffer. | ||||
* | Get DRI drawable from framebuffer object. | Ian Romanick | 2006-10-30 | 3 | -10/+2 |
| | | | | | | | | | | In the software rasterization fallbacks, get the __DRIdrawablePrivate pointer from the driRenderbuffer that is passed in. This eliminates the need for the mesa_drawable pointer in MGA context structure. This partially fixes bug #8799. wincopy no longer produces a black window for the destination window, but it does produce incorrect results if the destination window is resized. | ||||
* | code tweaks, remove old comments | Brian Paul | 2006-10-30 | 1 | -65/+16 |
| | |||||
* | fix _mesa_problem() text | Brian Paul | 2006-10-30 | 1 | -2/+2 |
| | |||||
* | Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h. | Brian Paul | 2006-10-30 | 5 | -154/+177 |
| | | | | | Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution. | ||||
* | remove debug code | Brian Paul | 2006-10-30 | 1 | -7/+0 |
| | |||||
* | Rather than always allocating 100 instructions, put instructions into a | Brian Paul | 2006-10-29 | 1 | -18/+42 |
| | | | | | temporary buffer, then copy into a malloc'd array of the correct size. According to Glean texCombine, we never need more than 21 instructions. | ||||
* | New _mesa_exec_vertex_state_program() function. Start of some re-org. | Brian Paul | 2006-10-29 | 3 | -9/+28 |
| | |||||
* | fix wrong inequality | Brian Paul | 2006-10-29 | 1 | -1/+1 |
| | |||||
* | Change _mesa_init_instruction() to initialize an array of instructions. | Brian Paul | 2006-10-29 | 7 | -27/+32 |
| | |||||
* | Program instructions are initialized before parsing so no need to set | Brian Paul | 2006-10-29 | 1 | -7/+1 |
| | | | | | | Abs, NegateAbs, CondMask and CondSwizzle fields to defaults here. CondMask was getting mis-set. Removing the incorrect assignment improves fragment program speed by 15%. | ||||
* | Added PROGRAM_CONSTANT to get_register_pointer(). | Brian Paul | 2006-10-28 | 1 | -0/+15 |
| | | | | More DEBUG_FRAG code. | ||||
* | special case END in _mesa_print_instruction() | Brian Paul | 2006-10-28 | 1 | -0/+3 |
| | |||||
* | Implement _mesa_append_fog_code() for fragment program fog options. | Brian Paul | 2006-10-28 | 2 | -19/+178 |
| | |||||
* | 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. | ||||
* | remove code for inserting mvp transform into position-invariant vertex progs ↵ | Roland Scheidegger | 2006-10-26 | 1 | -96/+7 |
| | | | | and instead use _mesa_insert_mvp_code(). | ||||
* | 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. | ||||
* | change some bogus comments regarding the base e exponential function used ↵ | Roland Scheidegger | 2006-10-25 | 2 | -7/+6 |
| | | | | for fog in vertex programs. | ||||
* | fix (per-vertex) fog when using ARB_vp by incorporating fog factor ↵ | Roland Scheidegger | 2006-10-24 | 6 | -67/+153 |
| | | | | computation into the vertex program (not yet fixed for swtnl). Simplify (and correct) the VTX_TCL_OUTPUT_VTXFMT handling when using vertex programs, turns out it's solely driven by the needs of the past-vertex stage of the pipeline, this should fix lockups with ill-specified applications using vertex programs (for instance applications enabling fog but not writing to fog coord output will now get (conformant) undefined results instead of lockups). |