Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-13 | r300-gallium: Add derived state for vertex formats. | Corbin Simpson | |
Next up: The evil RS block. | |||
2009-02-13 | i965: rewrite the code for handling shader subroutine calls | Brian Paul | |
Previously, the prog_instruction::Data field was used to map original Mesa instructions to brw instructions in order to resolve subroutine calls. This was a rather tangled mess. Plus it's an obstacle to implementing dynamic allocation/growing of the instruction buffer (it's still a fixed size). Mesa's GLSL compiler emits a label for each subroutine and CAL instruction. Now we use those labels to patch the subroutine calls after code generation has been done. We just keep a list of all CAL instructions that needs patching and a list of all subroutine labels. It's a simple matter to resolve them. This also consolidates some redundant post-emit code between brw_vs_emit.c and brw_wm_glsl.c and removes some loops that cleared the prog_instruction::Data fields at the end. Plus, a bunch of new comments. | |||
2009-02-13 | i965: add missing break for OPCODE_RET case | Brian Paul | |
This doesn't effect correctness, but we were emitting an extraneous ADD. | |||
2009-02-13 | i965: the return value of translate_insn() is never used. Make it void. | Brian Paul | |
2009-02-13 | i965: minor clean-ups | Brian Paul | |
2009-02-13 | i965: code clean-ups, comments, and minor refactoring | Brian Paul | |
2009-02-13 | i965: updated comments | Brian Paul | |
2009-02-13 | intel: turn on GL_ARB_shading_language_120 | Brian Paul | |
It's done in the Mesa GLSL compiler. The only part of it that might matter in drivers is the centroid sampling option for MSAA. | |||
2009-02-13 | i965: more reformatting/clean-up | Brian Paul | |
2009-02-13 | i965: s/__inline/INLINE/ | Brian Paul | |
2009-02-13 | i965: formatting and indentation fixes | Brian Paul | |
2009-02-13 | i965: fix inconsistant indentation in brw_wm.c | Brian Paul | |
2009-02-13 | i965: Eric Anholt's patch for bumping up texture sizes | Robert Ellison | |
I'm committing this because it fixes a conform failure; the failure occurs on the TextureProxy test, where the test attempts to create proxy textures at every level, but fails at the last level (border == 1, width == 1, height == 1) because it's beyond MAX_TEXTURE_LEVELS. Eric's original comment was: idr said that in his review swrast was ready for it, and the 965 driver is advertising it already though it has been resulting in many crashes due to arrays using these defines not being big enough. | |||
2009-02-18 | Merge commit 'origin/draw-vbuf-interface' | Keith Whitwell | |
2009-02-18 | util: Move p_debug.h into util module. | José Fonseca | |
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | |||
2009-02-18 | util: (Re)enable memory debugging for all windows platforms. | José Fonseca | |
2009-02-18 | wgl: Report memory leaks. | José Fonseca | |
2009-02-18 | draw: Reuse xmm registers. | Keith Whitwell | |
2009-02-17 | r300-gallium: Properly init shader state. | Corbin Simpson | |
2009-02-17 | r300-gallium: Consolidate state updates. | Corbin Simpson | |
2009-02-17 | mesa: add some debug code to help diagnose incomplete FBO attachments (disabled) | Brian Paul | |
2009-02-17 | glsl: fix mistake in a comment | Brian Paul | |
2009-02-17 | mesa: turn on reporting of GLSL version 1.20 | Brian Paul | |
The new array features, precision/invariant/centroid qualifiers, etc. were done a while back. The glGetString(GL_SHADING_LANGUAGE_VERSION) query returns "1.20" now (for drivers that support it anyway). | |||
2009-02-17 | glsl: fix an array indexing bug | Brian Paul | |
This fixes a bug found with swizzled array indexes such as in "array[index.z]" where "index" is an ivec4. | |||
2009-02-17 | glsl: added --params option to stand-alone GLSL compiler | Brian Paul | |
Prints program parameter info | |||
2009-02-17 | mesa: when printing/dumping instruction, include relative addressing info | Brian Paul | |
Not all cases were handled before. | |||
2009-02-17 | intel: Fix tri clear to do FBO color attachments as well. | Eric Anholt | |
This is a 2% win in fbo_firecube, and would avoid a sw fallback for masked clears. | |||
2009-02-17 | i965: Fix fallback on stencil drawing to fbo when the visual lacks stencil. | Eric Anholt | |
Noticed this with the fbotexture demo. | |||
2009-02-17 | intel: Clean up several 965 memory leaks on context destroy. | Eric Anholt | |
2009-02-17 | mesa: remove old comment as it's fixed elsewhere now. | Alan Hourihane | |
2009-02-16 | softpipe: some improvements to texture tile cache | Brian Paul | |
Use a somewhat better function in tex_cache_pos() to get better caching. Increase number of cache entries to 50. Also fix a texture invalidation bug. If texture is marked as modified, invalidate all texture tiles. | |||
2009-02-16 | gallium: fix glean's vertProg1 | Alan Hourihane | |
RSQ test 2 (reciprocal square toot of negative value) | |||
2009-02-17 | r300-gallium: Add draw_arrays for swtcl_emit. | Corbin Simpson | |
The more I look at this, the more bugs I see. | |||
2009-02-17 | r300-gallium: Properly init shader state. | Corbin Simpson | |
2009-02-17 | r300-gallium: Consolidate state updates. | Corbin Simpson | |
2009-02-17 | r300-gallium: Hook up new swtcl vbuf stage. | Corbin Simpson | |
Hold on to your hats. | |||
2009-02-17 | r300-gallium: Turn swtcl_emit into a vbuf_render stage. | Corbin Simpson | |
Movin' out of the Stone Ages. | |||
2009-02-17 | r300-gallium: Update r300_reg from classic Mesa. | Corbin Simpson | |
Mostly needed a few defines for index buffers, but there's other goodies too. | |||
2009-02-17 | nv20: Use the new draw vbuf interface | Jakob Bornecrantz | |
2009-02-17 | nv10: Use the new draw vbuf internface | Jakob Bornecrantz | |
2009-02-17 | nv04: Use the new draw vbuf interface | Jakob Bornecrantz | |
2009-02-13 | gallium: Various coordinate fixups for texture transfers. | Michel Dänzer | |
Fixes glReadPixels, gl(Copy)TexSubImage, glCopyPixels. | |||
2009-02-13 | r300-gallium: Various thingies. | Corbin Simpson | |
Add formats to framebuffer emit, fix up shader function names, make sure fragment format is emitted for r500. | |||
2009-02-13 | Add dummy install target for glew to fix 'make install' | Dan Nicholson | |
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> | |||
2009-02-13 | mesa: check if TNL state is null in _tnl_free_vertices() to avoid potential ↵ | Brian Paul | |
segfault _tnl_free_vertices() is called from several places during context tear-down. Depending on the order in which the swrast, swrast_setup and tnl context is destroyed we could hit a null pointer here. This doesn't seem to be an actual issue with any Mesa drivers, but let's be safe. | |||
2009-02-13 | mesa: add additional texture size/limit assertions | Brian Paul | |
2009-02-13 | i915: Use the new draw vbuf interface | Jakob Bornecrantz | |
2009-02-17 | draw: second argument to unmap is max, not count | Keith Whitwell | |
2009-02-17 | softpipe: update to new draw interfaces | Keith Whitwell | |
2009-02-17 | draw: add map/unmap directives for swtnl driver interface | Keith Whitwell | |
Previously draw module asked for a pointer into (mapped) vertex data, which it would incrementally fill and emit draw commands against. This was hard for the drivers to deal with, especially in the case where a draw command would force a flush and thus an unmap of the vertex data. With this change, the draw module explicitly maps & then unmaps vertex data prior to emitting draw commands. |