Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: new _mesa_update_array_object_max_element() function | Brian Paul | 2009-05-21 | 2 | -2/+83 |
| | | | | This will replace the code in state.c | ||||
* | vbo: return VP_NONE from get_program_mode() if running fixed-func vertex program | Brian Paul | 2009-05-21 | 1 | -0/+2 |
| | | | | | | | 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. | ||||
* | vbo: move vp_mode enum to vbo_exec.h, use enum instead of GLuint | Brian Paul | 2009-05-21 | 2 | -8/+14 |
| | |||||
* | i965: fix whitespace in brw_tex_layout.c | Eric Anholt | 2009-05-21 | 1 | -32/+31 |
| | | | | | The broken indentation was driving me crazy, so fix other stuff while I'm here. | ||||
* | i956: Make state dependency of SF on drawbuffer bounds match Mesa's. | Eric Anholt | 2009-05-21 | 1 | -2/+5 |
| | | | | | | 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. | ||||
* | intel: Fall back on any rendering to texture with no miptree. | Eric Anholt | 2009-05-21 | 1 | -4/+4 |
| | | | | | | 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. | ||||
* | intel: Mark the FBO as incomplete if there's no intel_renderbuffer for it. | Eric Anholt | 2009-05-21 | 1 | -0/+5 |
| | | | | | This happens to rendering with textures with a border, which had resulted in a segfault on dereferencing the irb. | ||||
* | intel: Don't segfault on glGenerateMipmaps of a cube map with one face defined. | Eric Anholt | 2009-05-21 | 1 | -2/+2 |
| | | | | This presumably applies to SGIS_generate_mipmaps as well. | ||||
* | intel: Use _mesa_CheckFramebufferStatusEXT insteaad of glCheck... | Eric Anholt | 2009-05-21 | 1 | -1/+1 |
| | | | | Fixes a segfault in our oglconform fbo test. | ||||
* | mesa: added debug functions for dumping color/depth/stencil buffers | Brian Paul | 2009-05-21 | 2 | -0/+110 |
| | |||||
* | i965: rename var: s/tmp/vs_inputs/ | Brian Paul | 2009-05-21 | 1 | -8/+8 |
| | |||||
* | mesa: remove pointless null ptr check, improved some error messages | Brian Paul | 2009-05-21 | 1 | -3/+3 |
| | |||||
* | mesa: added _mesa_print_arrays() for debugging | Brian Paul | 2009-05-21 | 2 | -13/+51 |
| | |||||
* | mesa: updated comment for _MaxElement field | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | | | | It's the largest array index, plus one. | ||||
* | mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElement | Brian Paul | 2009-05-21 | 4 | -8/+14 |
| | | | | This value is per array object. | ||||
* | vbo: s/8/MAX_TEXTURE_COORD_UNITS/ | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | |||||
* | cell: perform triangle cull a little earlier | Jonathan Adamczewski | 2009-05-21 | 1 | -31/+74 |
| | | | | | | | | | | 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. | ||||
* | cell: unroll inner loop of spu_render.c:cmd_render() | Jonathan Adamczewski | 2009-05-21 | 3 | -32/+89 |
| | | | | | | | | | | | | | | | 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. | ||||
* | st: add support for GL_EXT_vertex_array_bgra | Brian Paul | 2009-05-21 | 4 | -2/+16 |
| | |||||
* | r300-gallium: r500-fs: POW. | Corbin Simpson | 2009-05-20 | 1 | -1/+27 |
| | | | | I feel so unclean. | ||||
* | r300-gallium: r500-fs: LRP. | Corbin Simpson | 2009-05-20 | 1 | -4/+32 |
| | | | | Goddammit. This cannot be the "easy way." :C | ||||
* | r300-gallium: r500-fs: Combine function. | Corbin Simpson | 2009-05-20 | 1 | -15/+6 |
| | |||||
* | r300-gallium: Prevent assert when fogcoords are present. | Corbin Simpson | 2009-05-20 | 2 | -5/+14 |
| | | | | Seems like this file is the source of all bad logic. (Pun intended.) | ||||
* | r300-gallium: Another constantbuf shader recompile test. | Corbin Simpson | 2009-05-20 | 4 | -2/+14 |
| | | | | | | | 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. | ||||
* | r300-gallium: Raise constantbuf limits. | Corbin Simpson | 2009-05-20 | 1 | -3/+3 |
| | | | | Still not correct, but really I don't care. | ||||
* | r300-gallium: fs: Remove cruft from way back when. | Corbin Simpson | 2009-05-20 | 1 | -18/+0 |
| | |||||
* | radeon-gallium: Add surface_buffer_create callback. | Corbin Simpson | 2009-05-20 | 1 | -1/+25 |
| | |||||
* | r300-gallium: Make surface_copy actually load the texture in shader. | Corbin Simpson | 2009-05-20 | 3 | -3/+4 |
| | |||||
* | r300-gallium: Add missing R481 PCI ID. | Corbin Simpson | 2009-05-20 | 1 | -0/+1 |
| | | | | Per 74cb2aba on xf86-video-ati. | ||||
* | r300-gallium: Make surface_copy work, and refactor buffer validation. | Corbin Simpson | 2009-05-20 | 2 | -16/+47 |
| | |||||
* | radeon-gallium: Don't permit reading and writing a BO in one CS. | Corbin Simpson | 2009-05-20 | 2 | -3/+20 |
| | | | | | | This fixes some silent problems in current libdrm_radeon. surface_copy still locks up hard. | ||||
* | st: reformatting, comments, var renaming | Brian Paul | 2009-05-19 | 1 | -19/+29 |
| | |||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-19 | 2 | -4/+15 |
|\ | |||||
| * | mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT | Mathias Fröhlich | 2009-05-19 | 1 | -4/+14 |
| | | | | | | | | See sourceforge bug #2793846. | ||||
| * | mesa: assign trb->Base.StencilBits in update_wrapper(). | Brian Paul | 2009-05-19 | 1 | -0/+1 |
| | | | | | | | | When we render to a depth/stencil texture there are stencil bits. | ||||
* | | mesa: print more info when valid_texture_object() fails | Brian Paul | 2009-05-19 | 1 | -1/+2 |
| | | |||||
* | | trace: Improve shader wrapping | Jakob Bornecrantz | 2009-05-18 | 3 | -4/+29 |
| | | |||||
* | | st/dri: Only create new textures if drawable has changed | Jakob Bornecrantz | 2009-05-18 | 2 | -0/+17 |
| | | |||||
* | | r300-gallium: Fix (another) wrong value in MSPOS. | Corbin Simpson | 2009-05-18 | 1 | -1/+1 |
| | | | | | | | | Again, thanks to agd5f. | ||||
* | | radeon-gallium: Remove BO validation debug. | Corbin Simpson | 2009-05-18 | 1 | -4/+0 |
| | | | | | | | | | | It appears that that area of code "just works" much like classic Mesa's version, so might as well not waste scrollback on it. | ||||
* | | r300-gallium: Cleanup viewport state setup. | Corbin Simpson | 2009-05-18 | 1 | -36/+28 |
| | | |||||
* | | r300-gallium: Always do VTE, never software viewport. | Corbin Simpson | 2009-05-18 | 4 | -4/+27 |
| | | | | | | | | This makes glxgears draw properly with SW TCL. | ||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-18 | 12 | -18/+161 |
|\| | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h | ||||
| * | st/mesa: fix incorrect src/dst stride params to _mesa_generate_mipmap_level() | Brian Paul | 2009-05-18 | 1 | -2/+6 |
| | | | | | | | | The stride needs to be in texels, not bytes. | ||||
| * | mesa: comments for _mesa_generate_mipmap_level() | Brian Paul | 2009-05-18 | 1 | -0/+3 |
| | | |||||
| * | softpipe: add texture target sanity check assertion | Brian Paul | 2009-05-18 | 1 | -0/+5 |
| | | |||||
| * | st: fix incorrect target parameter to screen->is_format_supported() | Brian Paul | 2009-05-18 | 1 | -1/+1 |
| | | | | | | | | We were passing a GL texture target instead of a pipe_texture_target enum. | ||||
| * | mesa: added linux-osmesa-static config | Brian Paul | 2009-05-18 | 2 | -0/+38 |
| | | | | | | | | Contributed by Nicolas Noble. See SF bug #2792536 | ||||
| * | docs: link to 7.5 relnotes | Brian Paul | 2009-05-18 | 1 | -0/+1 |
| | | |||||
| * | docs: emphasize the incomplete status of the nouveau/R300 gallium drivers | Brian Paul | 2009-05-18 | 1 | -3/+5 |
| | |