summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-06-07r300: fixup vertex attributes orderingMaciej Cencora
Always allocate the vertex program input registers in the same order as the vertex attributes are passed in vertex arrays.
2009-06-07r300: always pass 4 color components to RS unitMaciej Cencora
Even if we don't pass all 4 color components to vertex shader unit, the vertex program can generate the missing components.
2009-06-01radeon: Provide a more detailled GL_RENDERER string.Nicolai Hähnle
Display the chip family and PCI ID. This can be parsed easily, and essentially all information that the driver has about the chip can be deduced from it. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-05-28r300: when using cs path emit scissor in the cmdbufferJerome Glisse
2009-05-28r300: rework texture offset emission.Jerome Glisse
2009-05-27radeon: emit scissor before emiting verticesJerome Glisse
2009-05-27radeon: emit scissor when using cs submission style.Jerome Glisse
2009-05-25radeon: on update drawable don't firevertices as it might be call from GetLockJerome Glisse
To avoid locking bug we shouldn't not call firevertices from this path as it's call from radeon get lock.
2009-05-25r200: emit scissor when dri2 is enabledJerome Glisse
In DRI1 kernel emit scissor but in dri2 cs path we have to explicitly program them.
2009-05-25r200: fix multitexturing in dri2 pathJerome Glisse
2009-05-25r200: emit cliprect with indexed primitiveJerome Glisse
2009-05-24radeon: realloc dma if needed after revalidateJerome Glisse
Revalidate can trigger flushing and dma buffer deallocation, so retry allocation on such case.
2009-05-24radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle
The duplication of state data caused a crash due to double-free on destruction of context, because a variable wasn't correctly null'ed out. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-05-22radeon: reading back to scratch reg through status map doesn't workJerome Glisse
For some unknown reasons the scratch reg value doesn't endup in the status map at the scratch reg offset, this is a temporary work around until we figure out why it doesn't work.
2009-05-21radeon: maxbuffer size is in bytesJerome Glisse
2009-05-20r200: fix vbo array renderingJerome Glisse
2009-05-20radeon: Increase reference count of current renderbuffers.Michel Dänzer
Fixes glxinfo: main/renderbuffer.c:2159: _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed.
2009-05-20Merge branch 'master' into radeon-rewriteMichel Dänzer
Conflicts: src/mesa/drivers/dri/r300/r300_context.c src/mesa/drivers/dri/r300/r300_texstate.c
2009-05-20radeon: set max texture sizeJerome Glisse
This still need some work to actually report somethings reasonable if no memory manager is available.
2009-05-20r200: fix indexed draw color order and cs missmatchJerome Glisse
2009-05-19st: reformatting, comments, var renamingBrian Paul
2009-05-19Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-19mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENTMathias Fröhlich
See sourceforge bug #2793846.
2009-05-19mesa: assign trb->Base.StencilBits in update_wrapper().Brian Paul
When we render to a depth/stencil texture there are stencil bits.
2009-05-19mesa: print more info when valid_texture_object() failsBrian Paul
2009-05-18Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/mesa/main/version.h
2009-05-18st/mesa: fix incorrect src/dst stride params to _mesa_generate_mipmap_level()Brian Paul
The stride needs to be in texels, not bytes.
2009-05-18mesa: comments for _mesa_generate_mipmap_level()Brian Paul
2009-05-18st: fix incorrect target parameter to screen->is_format_supported()Brian Paul
We were passing a GL texture target instead of a pipe_texture_target enum.
2009-05-18radeon: fix DRI1 cmd streamJerome Glisse
2009-05-16r300: cleanup vertex program related functionsMaciej Cencora
- move vertex program related functions to r300_vertprog.c - use _mesa_bitcount instead of self-made bit_count function - remove duplicated field in r300_vertex_shader_fragment.body union - rename r300_vertex_shader_fragment to r300_vertex_shader_hw_code - rename r300_vertex_program field native to error - remove unnecessary r300_vertex_shader_state structure - remove unused r300_vertex_program and r300_vertex_program_cont fields - remove disabled code
2009-05-16r300: minor code movementMaciej Cencora
2009-05-16r300: more cleanupMaciej Cencora
- remove unnecessary r300TranslateFragmentShader call from r300UpdateShaderStates (it is already called in r300UpdateShaders) - remove unnecessary null ptr checks
2009-05-16r300: move some code to common pathMaciej Cencora
2009-05-16r300: rename functionsMaciej Cencora
Be consistent with function naming: use Setup/Emit names for functions that modify hardware state
2009-05-16r300: move forward declarations to where they belongMaciej Cencora
2009-05-16r300: software fallbacking handling rewriteMaciej Cencora
Until now falling back to software rasterizer worked only for TCL enabled cards. For non TCL cards we used to plug our rendering functions in r300InitSwtcl, and we had never restored original functions for software rasterizer.
2009-05-16r300: r300EmitArrays should never failMaciej Cencora
2009-05-16r300: remove unnecessary switch casesMaciej Cencora
2009-05-16r300: further cleanupMaciej Cencora
- move extensions init into seperate function - move options handling into seperate function - create new structure to hold options values - use context->options.hw_tcl_enabled field instead of global hw_tcl_on and future_hw_tcl_on variables
2009-05-15intel: Don't complain on falling back from PBO fastpaths.Eric Anholt
Instead, stash the debug info under the handy debug flag. Bug #20053
2009-05-15mesa: Mark FBOs with compressed color attachments as FBO-incomplete.Eric Anholt
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.
2009-05-15i915: Fix 945 cube map layout for the small mipmaps along the bottom.Steinar H. Gunderson
Bug #21691.
2009-05-15i915: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers.Eric Anholt
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
2009-05-15i915: Only use the new 945 cube layout for compressed textures.Eric Anholt
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
2009-05-15mesa: bump version to 7.5-rc2Brian Paul
2009-05-14i965: Fix varying payload reg assignment for the non-GLSL-instructions path.Eric Anholt
I don't have a testcase for this, but it seems clearly wrong.
2009-05-14i965: Fix register allocation of GLSL fp inputs.Eric Anholt
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.
2009-05-14intel: Use FRONT_AND_BACK for StencilOp as well.Eric Anholt
2009-05-14intel: Use GL_FRONT_AND_BACK for stencil clearing.Eric Anholt
This comes from a radeon-rewrite fallback fix, but may also fix stencil clear failure when the polygon winding mode is flipped.