Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-11-01 | Patch from <haihao.xiang@intel.com> -- pass program string | Keith Whitwell | |
notification callback through to tnl/ module, fixes glean crash. | |||
2006-11-01 | change DEBUG_FRAG conditions | Brian Paul | |
2006-11-01 | fix some bugs in interpolate_specular() | Brian Paul | |
2006-11-01 | Added a few new ctx->Const. fields for shader-related limits. | Brian Paul | |
2006-10-31 | make use of Parameters->StateFlags in _swrast_update_fragment_program() | Brian Paul | |
2006-10-31 | minor clean-ups, simplifications and new comments | Brian Paul | |
2006-10-31 | fix MINGW32 problems | Brian Paul | |
2006-10-31 | We need to call _mesa_load_state_parameters() whenever a fragment program | Brian Paul | |
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(). | |||
2006-10-31 | signal _NEW_LIGHT in _tnl_copy_to_current() | Brian Paul | |
2006-10-31 | In TEX instructions, use precomputed lambda only if using fragment.texcoord[k] | Brian Paul | |
to sample texture[k]. Use zero otherwise. Not foolproof, but a good compromise. | |||
2006-10-31 | For TEX instructions use lambda=0. When sampling from texture unit K we | Brian Paul | |
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. | |||
2006-10-30 | Fix bug #8799. | Ian Romanick | |
Properly resize bith the drawable and the readable in mgaUpdateRects. Eliminate the use of the deprecated GetBufferSize interface. Bump driver date. | |||
2006-10-30 | Refactor mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects. | Ian Romanick | |
Combine mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects into a single new function called mga_set_cliprects. This enables a small refactor in mgaDDDrawBuffer. | |||
2006-10-30 | Get DRI drawable from framebuffer object. | Ian Romanick | |
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. | |||
2006-10-30 | code tweaks, remove old comments | Brian Paul | |
2006-10-30 | fix _mesa_problem() text | Brian Paul | |
2006-10-30 | Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h. | Brian Paul | |
Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution. | |||
2006-10-30 | remove debug code | Brian Paul | |
2006-10-29 | Rather than always allocating 100 instructions, put instructions into a | Brian Paul | |
temporary buffer, then copy into a malloc'd array of the correct size. According to Glean texCombine, we never need more than 21 instructions. | |||
2006-10-29 | New _mesa_exec_vertex_state_program() function. Start of some re-org. | Brian Paul | |
2006-10-29 | fix wrong inequality | Brian Paul | |
2006-10-29 | Change _mesa_init_instruction() to initialize an array of instructions. | Brian Paul | |
2006-10-29 | Program instructions are initialized before parsing so no need to set | Brian Paul | |
Abs, NegateAbs, CondMask and CondSwizzle fields to defaults here. CondMask was getting mis-set. Removing the incorrect assignment improves fragment program speed by 15%. | |||
2006-10-28 | Added PROGRAM_CONSTANT to get_register_pointer(). | Brian Paul | |
More DEBUG_FRAG code. | |||
2006-10-28 | special case END in _mesa_print_instruction() | Brian Paul | |
2006-10-28 | Implement _mesa_append_fog_code() for fragment program fog options. | Brian Paul | |
2006-10-26 | If DEBUG, check that all array indices really do fall in [start,end] in | Brian Paul | |
the DrawRangeElements() call. Warn the user if that's not true. | |||
2006-10-26 | remove code for inserting mvp transform into position-invariant vertex progs ↵ | Roland Scheidegger | |
and instead use _mesa_insert_mvp_code(). | |||
2006-10-25 | Previously, if a fragment program referenced fragment.fogcoord but the | Brian Paul | |
program didn't use the ARB_fog_linear option, the fragment program's fragment.fogcoord register wasn't loaded properly. | |||
2006-10-25 | change some bogus comments regarding the base e exponential function used ↵ | Roland Scheidegger | |
for fog in vertex programs. | |||
2006-10-24 | fix (per-vertex) fog when using ARB_vp by incorporating fog factor ↵ | Roland Scheidegger | |
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). | |||
2006-10-24 | Add missing call to glutInit. | Ian Romanick | |
2006-10-24 | s/GLchan/GLubyte/ | Brian Paul | |
2006-10-24 | whitespace clean-up | Brian Paul | |
2006-10-23 | Emit cliprects in the userspace driver as required, rather than | Keith Whitwell | |
passing them to the kernel. This works because all drawing commands in the 965 driver are emitted with the lock held and the batchbuffer is always flushed prior to releasing the lock. This allows multiple cliprects to be dealt with, without replaying entire batchbuffers and redundantly re-emitting state. | |||
2006-10-22 | assorted clean-ups | Brian Paul | |
2006-10-22 | don't save color/z if fragment is killed | Brian Paul | |
2006-10-22 | add minstall script to MAIN_FILES (bug 8720) | Brian Paul | |
2006-10-22 | minor tweaks good for about 12% faster execution | Brian Paul | |
2006-10-22 | silence used var warnings | Brian Paul | |
2006-10-22 | Color clamping fixes. | Brian Paul | |
2006-10-21 | move/improve comments, clean up code in a few places | Brian Paul | |
2006-10-21 | fix another logic error in computing deferredTexture | Brian Paul | |
2006-10-21 | For deferredTexture, need to check if the fragment program/shader writes | Brian Paul | |
the fragment Z. | |||
2006-10-21 | move interpolate_varying() call | Brian Paul | |
2006-10-21 | don't use params passed to Clear() | Brian Paul | |
2006-10-21 | Move interpolate_texcoords() and interpolate_varying() calls into ↵ | Brian Paul | |
shade_texture_span(). Added some INLINE hints. | |||
2006-10-19 | Consolidate some code into shade_texture_span(). | Brian Paul | |
Clean up logic for deferred texturing/shading. | |||
2006-10-19 | fixed Fixed/Int bug | Brian Paul | |
2006-10-19 | remove temp code | Brian Paul | |