Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-15 | r300-gallium: Clean up some clear registers. | Corbin Simpson | |
2009-02-15 | r300-gallium: Use fui instead of a roll-my-own. | Corbin Simpson | |
Man, util/u_math just gets better by the day. | |||
2009-02-14 | r300: Redirect constant TEX coordinates | Nicolai Haehnle | |
R3xx/R5xx fragment program texture constants must come from a hardware register instead of the constant file, so we redirect if necessary during the native rewrite phase. The symptoms of this bug started appearing when the Mesa fixed function texenvprogram code started using STATE_CURRENT_ATTRIB constants for texture coordinates when the corresponding attributes were constant across all vertices. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-02-14 | radeon-gallium: Clean out extensions explicitly enabled by Mesa. | Corbin Simpson | |
This cleans up some of the cruft from the old DRI setup, and it turns out that only the GLSL extensions are still off if we let st_extensions.c handle the setup instead. | |||
2009-02-14 | r300-gallium: Update r300_screen comments and add a few formats. | Corbin Simpson | |
2009-02-14 | r300-gallium: Enable all four colorbuffer render targets. | Corbin Simpson | |
As far as I can tell all the state emission necessary has been set up. Well, except for the fragment shader, but c'mon, gimme a break. :3 | |||
2009-02-14 | r300-gallium: Add Z/stencil buffer format emit. | Corbin Simpson | |
Also set BEGIN_CS correctly. | |||
2009-02-14 | r300-gallium: Emit Z/stencil buffer offset. | Corbin Simpson | |
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-13 | trivial: Make tri-fog a bit more interesting to look at | Jakob Bornecrantz | |
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-13 | trivial: Add a tri-unfilled-fog test | Jakob Bornecrantz | |
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-13 | demos: Add polygon mode point to isosurf | Jakob Bornecrantz | |
2009-02-17 | nv20: Use the new draw vbuf interface | Jakob Bornecrantz | |