Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300: shut up valgrind | Maciej Cencora | 2009-03-07 | 2 | -2/+2 |
| | | | | | | It complained about uninitialized values Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300-gallium: Typo in assert. | Corbin Simpson | 2009-03-07 | 1 | -1/+1 |
| | |||||
* | r300-gallium: Emit vertex size. | Corbin Simpson | 2009-03-07 | 1 | -1/+3 |
| | | | | Not actually going to make a difference right now, but might as well. | ||||
* | r300-gallium: A bit more vertex format fixup. | Corbin Simpson | 2009-03-07 | 5 | -54/+57 |
| | |||||
* | nouveau: use bo_handle_ref instead of bo_fake to get front-buffer bo | Ben Skeggs | 2009-03-07 | 1 | -3/+1 |
| | | | | | | | 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. | ||||
* | nv50: simplify tesla object selection | Ben Skeggs | 2009-03-07 | 1 | -18/+8 |
| | | | | | GeForce 8/9 are a bit more consistent than nv40 so far, so this was overkill before. | ||||
* | nouveau: fix more breakage from pipe_reference.. | Ben Skeggs | 2009-03-07 | 1 | -0/+1 |
| | |||||
* | nouveau: make stateobjs start off with refcount of 1 | Ben Skeggs | 2009-03-07 | 26 | -2/+45 |
| | |||||
* | Fix nv50_screen_create() | Victor Stinner | 2009-03-07 | 1 | -17/+18 |
| | | | | | Setup screen->pipe before using it (screen->constbuf = screen->pipe.buffer_create(...)) | ||||
* | Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the ↵ | Victor Stinner | 2009-03-07 | 2 | -3/+10 |
| | | | | screen/pipe creation failed | ||||
* | Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space | Alan Coopersmith | 2009-03-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> | ||||
* | r300-gallium: Fix masking on vertex formats. | Corbin Simpson | 2009-03-06 | 1 | -2/+2 |
| | | | | Gah, what a simple yet terrible mistake. | ||||
* | r300-gallium: Remove unknown regs. | Corbin Simpson | 2009-03-06 | 1 | -11/+0 |
| | | | | Leftovers from fglrx traces, probably. | ||||
* | r300-gallium: Actually do framebuffer setup. | Corbin Simpson | 2009-03-06 | 1 | -1/+6 |
| | | | | Can't believe this wasn't wired up. | ||||
* | r300-gallium: Make sure registers are inside BEGIN/END CS. | Corbin Simpson | 2009-03-06 | 1 | -1/+2 |
| | |||||
* | r300-gallium: Separate out fog block. | Corbin Simpson | 2009-03-06 | 2 | -9/+9 |
| | | | | We'll never actually use fog block. (I hope.) | ||||
* | glsl: call the program optimizer | Brian Paul | 2009-03-06 | 1 | -0/+5 |
| | | | | This still needs more testing bug glean and Mesa GLSL tests seem OK. | ||||
* | i965: check if we run out of GRF/temp registers | Brian Paul | 2009-03-06 | 1 | -1/+25 |
| | | | | | | | 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. | ||||
* | mesa: added _mesa_read_shader() function to read shaders from files | Brian Paul | 2009-03-06 | 1 | -0/+51 |
| | | | | Useful for debugging to override an application's shader. | ||||
* | i965: bump up BRW_EU_MAX_INSN | Brian Paul | 2009-03-06 | 1 | -1/+1 |
| | | | | This is the size of the intermediate instruction buffer. | ||||
* | mesa: add new program optimizer code | Brian Paul | 2009-03-06 | 4 | -0/+462 |
| | | | | This is pretty simplistic for now, but helps with certain shaders. | ||||
* | i965: comments | Brian Paul | 2009-03-06 | 1 | -0/+2 |
| | |||||
* | i965: comments and minor clean-ups | Brian Paul | 2009-03-06 | 1 | -3/+43 |
| | |||||
* | i965: avoid unnecessary calls to brw_wm_is_glsl() | Brian Paul | 2009-03-06 | 4 | -2/+12 |
| | | | | | | | | | 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. | ||||
* | r300: fix depth write regression (found by Nicolai Haehnle) | Maciej Cencora | 2009-03-06 | 1 | -3/+10 |
| | | | | Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: enable EXT_fog_coord extension | Maciej Cencora | 2009-03-06 | 2 | -161/+20 |
| | | | | | | Remove fixed function fog setup. Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: route fog coord and W pos correctly | Maciej Cencora | 2009-03-06 | 2 | -42/+106 |
| | | | | | | Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: rewrite and hopefully simplify RS setup | Maciej Cencora | 2009-03-06 | 3 | -213/+225 |
| | | | | | | Testing and regression fixes by Markus Amsler Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: add few macros for RS setup | Maciej Cencora | 2009-03-06 | 1 | -0/+6 |
| | | | | Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: silence valgrind | Maciej Cencora | 2009-03-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: Print reg address when debugging is enabled | Maciej Cencora | 2009-03-06 | 1 | -4/+14 |
| | | | | Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | fp: add some more texture, position and kill tests | Keith Whitwell | 2009-03-06 | 4 | -1/+36 |
| | |||||
* | fp: new kill + position test | Keith Whitwell | 2009-03-06 | 1 | -0/+9 |
| | |||||
* | fp: dont reference fragment.position.zw | Keith Whitwell | 2009-03-06 | 1 | -1/+2 |
| | |||||
* | engine: also print fps data to stdout | Keith Whitwell | 2009-03-06 | 1 | -0/+22 |
| | | | | | Useful for figuring out how much of a perf impact the glBitmap fps display has on a given driver. | ||||
* | r300: don't crash on sw tcl hw if point size vertex attrib is sent | Maciej Cencora | 2009-03-06 | 1 | -2/+2 |
| | |||||
* | r300-gallium: GA enhancements. | Corbin Simpson | 2009-03-06 | 2 | -3/+14 |
| | | | | Basically an errata fixup register. | ||||
* | r300-gallium: Flat/smooth shading state. | Corbin Simpson | 2009-03-06 | 6 | -17/+32 |
| | |||||
* | r300-gallium: Pick up a few more bits of rs_state. | Corbin Simpson | 2009-03-06 | 5 | -14/+23 |
| | | | | Including two registers that already should have been covered...huh... | ||||
* | wgl: Check support for all other depth/stencil formats. | José Fonseca | 2009-03-06 | 1 | -7/+18 |
| | |||||
* | wgl: Choose a supported S8Z24/Z24S8/X8Z24/Z24X8. | José Fonseca | 2009-03-06 | 1 | -2/+24 |
| | |||||
* | Updated darwin config for when X11 is not in the same location as we're ↵ | Jeremy Huddleston | 2009-03-06 | 1 | -6/+8 |
| | | | | installing to | ||||
* | mesa: Reads must also be done with lock held. | José Fonseca | 2009-03-06 | 1 | -3/+5 |
| | | | | Otherwise two threads might think each made the refcount go zero. | ||||
* | mesa: Fix typo. | José Fonseca | 2009-03-06 | 1 | -1/+1 |
| | | | | Windows threads block if one over-unlocks them. | ||||
* | intel: Fix bpp setting of blits to 8bpp targets. | Eric Anholt | 2009-03-05 | 1 | -0/+2 |
| | | | | | This was causing hangs in cairogears, as we would blit to the 8bpp target (A8 texture) as 16bpp, and stomp over state objects. | ||||
* | i965: fix 3DPRIMITIVE batch decode of the vertex count field. | Eric Anholt | 2009-03-05 | 1 | -1/+1 |
| | |||||
* | i965: Stop dumping programs after the first all-zeroes entry. | Eric Anholt | 2009-03-05 | 1 | -0/+8 |
| | |||||
* | intel: Add always_flush_batch driconf option for making small batchbuffers. | Eric Anholt | 2009-03-05 | 6 | -1/+25 |
| | | | | | This can improve debugging with INTEL_DEBUG=batch,sync by giving smaller batchbuffers. | ||||
* | intel: Add always_flush_cache driconf option for debugging cache flush failure. | Eric Anholt | 2009-03-05 | 7 | -2/+42 |
| | | | | | I keep wanting to hack this knob in as a one-time thing, so it seemed useful to have all the time. | ||||
* | i965: Add a note about why the _NEW_STENCIL is required in draw_buffers. | Eric Anholt | 2009-03-05 | 1 | -0/+5 |
| |