Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: minor code simplification in _mesa_GetVertexAttrib*NV() | Brian Paul | 2009-05-21 | 1 | -10/+19 |
| | |||||
* | mesa: comment for _mesa_GetVertexAttribfvARB() | Brian Paul | 2009-05-21 | 1 | -0/+4 |
| | |||||
* | mesa: minor code simplification in _mesa_GetVertexAttribfvARB() | Brian Paul | 2009-05-21 | 1 | -6/+9 |
| | |||||
* | mesa: remove const qualifier | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | |||||
* | mesa: VertexAttribPointer comments | Brian Paul | 2009-05-21 | 1 | -0/+11 |
| | |||||
* | mesa: call _mesa_update_array_object_max_element() before printing array info | Brian Paul | 2009-05-21 | 1 | -0/+2 |
| | |||||
* | mesa: added gl_array_object::Weight array field | Brian Paul | 2009-05-21 | 3 | -1/+5 |
| | | | | | | | 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. | ||||
* | mesa: check FEATURE_point_size_array for PointSize array | Brian Paul | 2009-05-21 | 1 | -0/+2 |
| | |||||
* | mesa: fix some potential state-restore issues in pop_texture_group() | Brian Paul | 2009-05-21 | 1 | -45/+45 |
| | | | | | | Call the _mesa_set_enable() functions instead of driver functions, etc. Also, add missing code for 1D/2D texture arrays. | ||||
* | 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 |
| | |||||
* | st: add support for GL_EXT_vertex_array_bgra | Brian Paul | 2009-05-21 | 4 | -2/+16 |
| | |||||
* | 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 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-18 | 4 | -11/+31 |
|\| | | | | | | | | | | | | | 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 |
| | | |||||
| * | 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: bump version to 7.5-rc2mesa_7_5_rc2 | Brian Paul | 2009-05-15 | 1 | -1/+1 |
| | | |||||
| * | r300: Make sure to drop current hardware state reference to texture objects. | Michel Dänzer | 2009-05-14 | 2 | -8/+21 |
| | | | | | | | | Fixes potential texture object leaks. | ||||
* | | intel: Don't complain on falling back from PBO fastpaths. | Eric Anholt | 2009-05-15 | 1 | -3/+3 |
| | | | | | | | | | | | | Instead, stash the debug info under the handy debug flag. Bug #20053 | ||||
* | | mesa: Mark FBOs with compressed color attachments as FBO-incomplete. | Eric Anholt | 2009-05-15 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | Both EXT_fbo and ARB_fbo agree on this. Fixes a segfault in the metaops mipmap generation in Intel for SGIS_generate_mipmap of S3TC textures in Regnum Online. Bug #21654. | ||||
* | | i915: Fix 945 cube map layout for the small mipmaps along the bottom. | Steinar H. Gunderson | 2009-05-15 | 1 | -2/+14 |
| | | | | | | | | Bug #21691. | ||||
* | | i915: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers. | Eric Anholt | 2009-05-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The _Enabled field isn't updated at the point that DrawBuffers is called, and the Driver.Enable() function does the testing for stencil buffer presence anyway. bug #21608 for Radeon | ||||
* | | i915: Only use the new 945 cube layout for compressed textures. | Eric Anholt | 2009-05-15 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | The docs actually explain this, but not in a terribly clear manner. This nearly fixes the piglit cubemap testcase, except that something's going wrong with the nearest filtering at 2x2 sizes in the testcase. Looks good by visual inspection, though. Bug #21692 | ||||
* | | i965: Fix varying payload reg assignment for the non-GLSL-instructions path. | Eric Anholt | 2009-05-14 | 1 | -8/+10 |
| | | | | | | | | I don't have a testcase for this, but it seems clearly wrong. | ||||
* | | i965: Fix register allocation of GLSL fp inputs. | Eric Anholt | 2009-05-14 | 4 | -13/+27 |
| | | | | | | | | | | | | | | | | | | Before, if the VP output something that is in the attributes coming into the WM but which isn't used by the WM, then WM would end up reading subsequent varyings from the wrong places. This was visible with a GLSL demo using gl_PointSize in the VS and a varying in the WM, as point size is in the VUE but not used by the WM. There is now a regression test in piglit, glsl-unused-varying. | ||||
* | | intel: Use FRONT_AND_BACK for StencilOp as well. | Eric Anholt | 2009-05-14 | 1 | -1/+2 |
| | | |||||
* | | intel: Use GL_FRONT_AND_BACK for stencil clearing. | Eric Anholt | 2009-05-14 | 1 | -1/+2 |
| | | | | | | | | | | This comes from a radeon-rewrite fallback fix, but may also fix stencil clear failure when the polygon winding mode is flipped. | ||||
* | | i965: fix 1D texture borders with GL_CLAMP_TO_BORDER | Robert Ellison | 2009-05-14 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | With 1D textures, GL_TEXTURE_WRAP_T should be ignored (only GL_TEXTURE_WRAP_S should be respected). But the i965 hardware seems to follow the value of GL_TEXTURE_WRAP_T even when sampling 1D textures. This fix forces GL_TEXTURE_WRAP_T to be GL_REPEAT whenever 1D textures are used; this allows the texture to be sampled correctly, avoiding "imaginary" border elements in the T direction. This bug was demonstrated in the Piglit tex1d-2dborder test. With this fix, that test passes. | ||||
* | | i965: send all warnings through _mesa_warning() | Robert Ellison | 2009-05-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | One warning message: drm_i915_getparam: -22 was still being sent to fprintf(). This causes all Piglit tests to fail, even with MESA_DEBUG=0. Using _mesa_warning() to emit the message allows the general Mesa controls for messages like this to be applied. | ||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-13 | 1 | -1/+2 |
|\| | |||||
| * | intel: added null ptr check | Brian Paul | 2009-05-13 | 1 | -1/+2 |
| | | | | | | | | Fixes segfault in context tear-down when glClear was never called. |