Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-21 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-05-21 | vbo: fix incorrect loop limit in bind_array_obj() | Brian Paul | |
The generic_array[] is 16 elements in size, but the loop was doing 32 iterations. The out of bounds array write was clobbering the following inputs[] array but as luck would have it, that didn't matter. | |||
2009-05-21 | mesa: use MAX_ values instead of literals | Brian Paul | |
2009-05-21 | mesa: freshen comments for update_array() | Brian Paul | |
2009-05-21 | mesa: minor code simplification in _mesa_GetVertexAttrib*NV() | Brian Paul | |
2009-05-21 | mesa: comment for _mesa_GetVertexAttribfvARB() | Brian Paul | |
2009-05-21 | mesa: minor code simplification in _mesa_GetVertexAttribfvARB() | Brian Paul | |
2009-05-21 | mesa: remove const qualifier | Brian Paul | |
2009-05-21 | mesa: VertexAttribPointer comments | Brian Paul | |
2009-05-21 | mesa: call _mesa_update_array_object_max_element() before printing array info | Brian Paul | |
2009-05-21 | mesa: added gl_array_object::Weight array field | Brian Paul | |
We don't really implement vertex weights but in the VBO code this fixes and odd case for the legacy_array[] setup. Before, the vbo->draw_prims() call was always indicating that the vertex weight array was present/enabled when it really wasn't. | |||
2009-05-21 | mesa: check FEATURE_point_size_array for PointSize array | Brian Paul | |
2009-05-21 | mesa: fix some potential state-restore issues in pop_texture_group() | Brian Paul | |
Call the _mesa_set_enable() functions instead of driver functions, etc. Also, add missing code for 1D/2D texture arrays. | |||
2009-05-21 | mesa: new _mesa_update_array_object_max_element() function | Brian Paul | |
This will replace the code in state.c | |||
2009-05-21 | vbo: return VP_NONE from get_program_mode() if running fixed-func vertex program | Brian Paul | |
If we're running a vertex program to emulated fixed-function, we still need to treat vertex arrays/attributes as if we're in fixed-function mode. This should probably be back-ported to Mesa 7.5 after a bit more testing. | |||
2009-05-21 | vbo: move vp_mode enum to vbo_exec.h, use enum instead of GLuint | Brian Paul | |
2009-05-21 | i965: fix whitespace in brw_tex_layout.c | Eric Anholt | |
The broken indentation was driving me crazy, so fix other stuff while I'm here. | |||
2009-05-21 | i956: Make state dependency of SF on drawbuffer bounds match Mesa's. | Eric Anholt | |
Noticed while debugging a weird 1D FBO testcase that left its existing viewport and projection matrix in place when switching drawbuffers. Didn't fix the testcase, though. | |||
2009-05-21 | intel: Fall back on any rendering to texture with no miptree. | Eric Anholt | |
Fixes segfault on an fbo.c negative test for FBO with texture width/height of 0. Previously we just tested for border != 0 to work around this segfault. | |||
2009-05-21 | intel: Mark the FBO as incomplete if there's no intel_renderbuffer for it. | Eric Anholt | |
This happens to rendering with textures with a border, which had resulted in a segfault on dereferencing the irb. | |||
2009-05-21 | intel: Don't segfault on glGenerateMipmaps of a cube map with one face defined. | Eric Anholt | |
This presumably applies to SGIS_generate_mipmaps as well. | |||
2009-05-21 | intel: Use _mesa_CheckFramebufferStatusEXT insteaad of glCheck... | Eric Anholt | |
Fixes a segfault in our oglconform fbo test. | |||
2009-05-21 | mesa: added debug functions for dumping color/depth/stencil buffers | Brian Paul | |
2009-05-21 | i965: rename var: s/tmp/vs_inputs/ | Brian Paul | |
2009-05-21 | mesa: remove pointless null ptr check, improved some error messages | Brian Paul | |
2009-05-21 | mesa: added _mesa_print_arrays() for debugging | Brian Paul | |
2009-05-21 | mesa: updated comment for _MaxElement field | Brian Paul | |
It's the largest array index, plus one. | |||
2009-05-21 | mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElement | Brian Paul | |
This value is per array object. | |||
2009-05-21 | vbo: s/8/MAX_TEXTURE_COORD_UNITS/ | Brian Paul | |
2009-05-21 | cell: perform triangle cull a little earlier | Jonathan Adamczewski | |
In spu_tri.c:setup_sort_vertices() triangles are culled after the vertices are sorted. This patch moves the check a little earlier and performs the actual check a little faster through intrinsics and a little trickery. Reduced code size and less work is done before a triangle is deemed OK to skip. | |||
2009-05-21 | cell: unroll inner loop of spu_render.c:cmd_render() | Jonathan Adamczewski | |
It was taking approximately 50 cycles to extract the vertex indices, calculate the vertex_header pointers and call tri_draw() for each three vertices - . Unrolled, it takes less than 100 cycles to extract, unpack, calculate pointers and call tri_draw() eight times. It does have a nasty jump-tabled switch. I'm sure that there's a better way... Code size of spu_render.o gets larger due to the extra constants and work in the inner loop, there are extra stack saves and loads because there are more registers in use, and an assert. spu_tri.o gets a little smaller. | |||
2009-05-21 | st: add support for GL_EXT_vertex_array_bgra | Brian Paul | |
2009-05-20 | r300-gallium: r500-fs: POW. | Corbin Simpson | |
I feel so unclean. | |||
2009-05-20 | r300-gallium: r500-fs: LRP. | Corbin Simpson | |
Goddammit. This cannot be the "easy way." :C | |||
2009-05-20 | r300-gallium: r500-fs: Combine function. | Corbin Simpson | |
2009-05-20 | r300-gallium: Prevent assert when fogcoords are present. | Corbin Simpson | |
Seems like this file is the source of all bad logic. (Pun intended.) | |||
2009-05-20 | r300-gallium: Another constantbuf shader recompile test. | Corbin Simpson | |
Less briefly... Shaders need to be recompiled if their constantbuf offsets have changed. However, since we only change them from shaders if immediates need to be emitted, we shouldn't bother if the shader doesn't use immediates. | |||
2009-05-20 | r300-gallium: Raise constantbuf limits. | Corbin Simpson | |
Still not correct, but really I don't care. | |||
2009-05-20 | r300-gallium: fs: Remove cruft from way back when. | Corbin Simpson | |
2009-05-20 | radeon-gallium: Add surface_buffer_create callback. | Corbin Simpson | |
2009-05-20 | r300-gallium: Make surface_copy actually load the texture in shader. | Corbin Simpson | |
2009-05-20 | r300-gallium: Add missing R481 PCI ID. | Corbin Simpson | |
Per 74cb2aba on xf86-video-ati. | |||
2009-05-20 | r300-gallium: Make surface_copy work, and refactor buffer validation. | Corbin Simpson | |
2009-05-20 | radeon-gallium: Don't permit reading and writing a BO in one CS. | Corbin Simpson | |
This fixes some silent problems in current libdrm_radeon. surface_copy still locks up hard. | |||
2009-05-19 | st: reformatting, comments, var renaming | Brian Paul | |
2009-05-19 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-05-19 | mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT | Mathias Fröhlich | |
See sourceforge bug #2793846. | |||
2009-05-19 | mesa: assign trb->Base.StencilBits in update_wrapper(). | Brian Paul | |
When we render to a depth/stencil texture there are stencil bits. | |||
2009-05-19 | mesa: print more info when valid_texture_object() fails | Brian Paul | |
2009-05-18 | trace: Improve shader wrapping | Jakob Bornecrantz | |