summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-09vbo: yet tighter still usage of FLUSH_NEED_CURRENTKeith Whitwell
Previous change broke redbook/polys and probably others. I'm fairly sure that drivers like r300 don't need to touch ctx->Driver.NeedVertices, but this code is incredibly fragile and I'm not confident about removing it from there. Hopefully this gets things working again.
2009-03-09fp: enable a second texture unit and add a kil test for itKeith Whitwell
2009-03-09Fix up another instance of _mesa_unreference_framebuffer().Michel Dänzer
2009-03-09vbo: stricter checks on Driver.NeedFlushKeith Whitwell
This variable is being used in the r300 driver to trigger a flush under circumstances unrelated to the use in the vbo module. Tighten up the checks in vbo so as to avoid conflict with r300. Reported by Maciej Cencora <m.cencora@gmail.com>
2009-03-09gallium: Fix p_refcnt.h for C++ compilers.Michel Dänzer
2009-03-09tgsi: Implement CND, CND0 opcodes.Michal Krol
2009-03-09tgsi: Remove redundant micro_ge() -- use micro_le().Michal Krol
2009-03-09tgsi: Document ATI_fragment_shader instruction set operations.Michal Krol
2009-03-08r300-gallium: Unbreak trivial/point.Corbin Simpson
Oops, forgot to remove that. Edit: And trivial/line and trivial/tri.
2009-03-08tgsi: Document NV_vertex_program instruction set operations.Michal Krol
2009-03-07r300-gallium: Correct vertex format setup, cleanup regs and debugging.Corbin Simpson
trivial/point no longer hardlocks.
2009-03-07r300-gallium: Clean up RS.Corbin Simpson
Wow, there were buggies by the boatload in there.
2009-03-07r300-gallium: Move a few registers.Corbin Simpson
These shouldn't be written if not on TCL HW.
2009-03-07mesa: s/int/GLsizeiptr/ to silence warning with 64-bit buildBrian Paul
2009-03-07gallium: use unsigned long to silence warnings with 64-bit buildBrian Paul
2009-03-07r300: remove assignment to removed StringPos fieldBrian Paul
2009-03-07mesa: move shared context state functions to new shared.c fileBrian Paul
2009-03-07vbo: make bind_array_obj() code a little more conciseBrian Paul
2009-03-07mesa: use @ to silence some Makefile outputBrian Paul
2009-03-07mesa: move glViewport and glDepthRange functions into new viewport.c fileBrian Paul
A bit of refactoring with an eye toward ES2 and GL 3.1
2009-03-07swrast: remove old commentBrian Paul
2009-03-07swrast: rename s_buffers.c -> s_clear.cBrian Paul
2009-03-07mesa: gl_register_file enum typedefBrian Paul
2009-03-07mesa: remove GL_MESA_program_debug extensionBrian Paul
This was never fully fleshed out and hasn't been used.
2009-03-07mesa: silence warningBrian Paul
2009-03-07mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul
2009-03-07r300: shut up valgrindMaciej Cencora
It complained about uninitialized values Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-07r300-gallium: Typo in assert.Corbin Simpson
2009-03-07r300-gallium: Emit vertex size.Corbin Simpson
Not actually going to make a difference right now, but might as well.
2009-03-07r300-gallium: A bit more vertex format fixup.Corbin Simpson
2009-03-07nouveau: use bo_handle_ref instead of bo_fake to get front-buffer boBen Skeggs
This'll work on non-GEM also as the DDX will just pass an offset, and libdrm_nouveau knows to treat "handle" as a VRAM offset. When running on GEM the DDX (it doesn't yet, but will) passes a buffer handle instead.
2009-03-07nv50: simplify tesla object selectionBen Skeggs
GeForce 8/9 are a bit more consistent than nv40 so far, so this was overkill before.
2009-03-07nouveau: fix more breakage from pipe_reference..Ben Skeggs
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-03-07Fix nv50_screen_create()Victor Stinner
Setup screen->pipe before using it (screen->constbuf = screen->pipe.buffer_create(...))
2009-03-07Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the ↵Victor Stinner
screen/pipe creation failed
2009-03-06Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap spaceAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-06r300-gallium: Fix masking on vertex formats.Corbin Simpson
Gah, what a simple yet terrible mistake.
2009-03-06r300-gallium: Remove unknown regs.Corbin Simpson
Leftovers from fglrx traces, probably.
2009-03-06r300-gallium: Actually do framebuffer setup.Corbin Simpson
Can't believe this wasn't wired up.
2009-03-06r300-gallium: Make sure registers are inside BEGIN/END CS.Corbin Simpson
2009-03-06r300-gallium: Separate out fog block.Corbin Simpson
We'll never actually use fog block. (I hope.)
2009-03-06glsl: call the program optimizerBrian Paul
This still needs more testing bug glean and Mesa GLSL tests seem OK.
2009-03-06i965: check if we run out of GRF/temp registersBrian Paul
Before this change we would up emitting instructions with invalid register numbers. This typically (but not always) hung the GPU. For now, just prevent emitting bad instructions to avoid hangs. Still need to do some kind of proper error recovery.
2009-03-06mesa: added _mesa_read_shader() function to read shaders from filesBrian Paul
Useful for debugging to override an application's shader.
2009-03-06i965: bump up BRW_EU_MAX_INSNBrian Paul
This is the size of the intermediate instruction buffer.
2009-03-06mesa: add new program optimizer codeBrian Paul
This is pretty simplistic for now, but helps with certain shaders.
2009-03-06i965: commentsBrian Paul
2009-03-06i965: comments and minor clean-upsBrian Paul
2009-03-06i965: avoid unnecessary calls to brw_wm_is_glsl()Brian Paul
This function scans the shader to see if it has any GLSL features like conditionals and loops. Calling this during state validation is expensive. Just call it when the shader is given to the driver and save the result. There's some new/temporary assertions to be sure we don't get out of sync on this.