Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-17 | Revert "mesa: fix vertex program test in get_fp_input_mask()" | Brian Paul | |
This reverts commit cdaaf8e107010624bed4abdf9553c0ef63c8b708. | |||
2008-12-17 | mesa: fix vertex program test in get_fp_input_mask() | Brian Paul | |
We were accidentally using the fixed-function logic when a vertex shader was being used. | |||
2008-12-12 | gallium: fix refcount bug introduced in eb20e2984 | Keith Whitwell | |
2008-12-12 | gallium: avoid mapping same vertex buffer in subsequent frames | Keith Whitwell | |
Quite a few util modules were maintaining a single vertex buffer over multiple frames, and potentially reusing it in subsequent frames. Unfortunately that would force us into syncrhonous rendering as the buffer manager would be forced to wait for the previous rendering to complete prior to allowing the map. This resolves that issue, but requires the state tracker to issue a few new flush() calls at the end of each frame. | |||
2008-12-12 | st: reduce unnecessary calls to pipe->set_vertex_buffers() | Keith Whitwell | |
2008-12-12 | st: move feedback draw function to new file | Keith Whitwell | |
2008-12-12 | st: don't unilaterally ABS the argument to RSQ | Keith Whitwell | |
2008-12-12 | mesa: Bring in new mesa sub-statetracker. | José Fonseca | |
Some code cleanup is still in order. | |||
2008-12-10 | gallium: only mark back color buffer surfaces as undefined after swapbuffers | Brian Paul | |
Marking all surfaces as undefined was wrong and cause some glean failures because glReadPixels was used after SwapBuffers. | |||
2008-11-26 | gallium: fix glBitmap color bug | Brian Paul | |
By time we get around to rendering the cached bitmap, the current color may have changed. Need to make sure we load the constant slot with the cached color. | |||
2008-11-26 | gallium: replace 2 with PIPE_SHADER_TYPES | Brian Paul | |
2008-11-24 | gallium: fix inverted raster pos when drawing into FBO | Brian Paul | |
2008-11-24 | mesa: Don't call fence_finish with a null fence. | José Fonseca | |
2008-11-11 | mesa: restore the negate flag of dots in build_lighting. | Xiang, Haihao | |
Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light. | |||
2008-11-10 | dri: alloc __DRIscreen object with calloc() | Brian Paul | |
Conflicts: src/mesa/drivers/dri/common/dri_util.c | |||
2008-11-10 | mesa: fix logic error in GLSL linker when looking for main() shaders | Brian Paul | |
2008-11-10 | Mesa: fix number of buffers in st_draw_vbo(). | Pekka Paalanen | |
The clean-up call to pipe->set_vertex_buffers() should use the same number of buffers as the first call. Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2008-11-07 | mesa: use _bfc0 instead of _col0 when building back face lighting. | Brian Paul | |
cherry-picked from master: 4550b0562d5b59890fccb0e7eb0dbef967d1ccf9 | |||
2008-11-06 | mesa: update the shader programs->TexturesUsed array at link time | Brian Paul | |
If an application never calls glUniform() to set sampler variable values they'll remain 0 (the default value/unit). Now call _mesa_update_shader_textures_used() at link time in case glUniform() is never called. program->TextureUsed[] will then be correct for state validation. | |||
2008-11-06 | gallium: added st_print_shaders() function to help w/ debugging | Brian Paul | |
2008-11-05 | gallium: added check for degenerate drawing calls | Brian Paul | |
2008-11-05 | gallium: if VERBOSE_GLSL flag is set, check for non-initialized uniforms at ↵ | Brian Paul | |
draw time This will warn the user that the shader being run may be using uninitialized uniform variables. | |||
2008-11-05 | mesa: fix a GLSL array indexing codegen bug | Brian Paul | |
Expressions like array[i] + array[j] didn't work properly before. | |||
2008-11-05 | mesa: remove extra \n from printf string | Brian Paul | |
2008-11-05 | mesa: add Initialized field to gl_uniform struct, for debugging purposes only | Brian Paul | |
2008-11-04 | mesa: fix float-valued GLSL vertex attribute variables | Brian Paul | |
The swizzle mask for such variables wasn't set up properly. | |||
2008-11-01 | mesa: silence warnings | Brian Paul | |
2008-11-01 | mesa: do scope replacement for while/for loops too | Brian Paul | |
This fixes a function inlining bug involving vars declared inside loop bodies. | |||
2008-11-01 | mesa: glsl tree print improvements | Brian Paul | |
2008-11-01 | mesa: fix assignment / parameter passing of sampler types | Brian Paul | |
2008-11-01 | mesa: additional debug flags for glsl debug/disassembly | Brian Paul | |
2008-10-31 | mesa: fix some bugs with precision qualifier parsing | Brian Paul | |
2008-10-31 | mesa: do scope replacement for variable initializers too | Brian Paul | |
2008-10-31 | mesa: fix copy/paste error in GLSL error msg | Brian Paul | |
2008-10-20 | mesa: note that texcoords are generated by setup routines when pointsprite ↵ | Keith Whitwell | |
enabled | |||
2008-10-18 | gallium: add some checks for null surface pointers in state tracker | Brian Paul | |
Fixes some segfaults in low memory situations. | |||
2008-10-17 | gallium: fix mis-matched malloc/free vs. aligned malloc/free | Brian Paul | |
Use aligned malloc/free for teximage data everywhere to be consistant. The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined. | |||
2008-10-14 | mesa: modify fixed function vertex programs not to reference constant attributes | Keith Whitwell | |
2008-10-10 | mesa: new _mesa_set_vp_override() function for driver-override of vertex program | Brian Paul | |
Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions. | |||
2008-10-09 | mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAM | Brian Paul | |
Check for per-vertex point size must be done when vertex program changes. | |||
2008-10-08 | mesa: in _mesa_combine_programs() take new STATE_CURRENT_ATTRIB color into ↵ | Brian Paul | |
account Commit 1680ef869625dc1fe9cf481b180382a34e0738e7 changed the texenv program to get color from a state register instead of a constant-valued vertex attribute. This broke program concatenation (so glDraw/CopyPixels broke). Now check if the second program get's color from a constant register and handle that case appropriately. | |||
2008-10-07 | Mesa: fix the case where there are no vertex attributes. | Stephane Marchesin | |
This is a backport of 8e8208d6db8b764568539784a6473d545dec2265 to gallium-0.1 | |||
2008-10-07 | mesa: replace GLuint with GLbitfield to be clearer about usage | Brian Paul | |
Also, fix up some comments to be doxygen style. | |||
2008-10-07 | mesa: update state after binding vertex list in dlist path | Keith Whitwell | |
2008-10-07 | mesa: protect against segfault in get_fp_input_mask() | Keith Whitwell | |
2008-10-07 | mesa: remove old assertion | Brian Paul | |
2008-10-06 | mesa: fix convolve/convolution mix-ups | Brian | |
2008-10-06 | mesa: add missing GLcontext param to _mesa_delete_query(). | Brian Paul | |
Fixes vtk crash and others. | |||
2008-10-04 | mesa: handle vertex program enabled case also in texenvprogram.c | Keith Whitwell | |
2008-10-03 | mesa: avoid generating constant vertex attributes in fixedfunc programs | Keith Whitwell | |
Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession. |