Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor the tgsi->llvm storage translator | Zack Rusin | 2007-10-24 | 4 | -42/+71 |
| | |||||
* | Implement basic opcode translation and storage translation. | Zack Rusin | 2007-10-24 | 5 | -27/+350 |
| | |||||
* | Draw first triangle. Start on the llvm builder. | Zack Rusin | 2007-10-24 | 3 | -24/+237 |
| | |||||
* | Cleanup some of the testing code. Implement first pass at actually | Zack Rusin | 2007-10-24 | 5 | -42/+208 |
| | | | | running shaders in llvm. | ||||
* | Execution engine is a singleton, for now keep it in the pipe. | Zack Rusin | 2007-10-24 | 6 | -19/+64 |
| | |||||
* | Generate the base shader. | Zack Rusin | 2007-10-24 | 4 | -47/+194 |
| | |||||
* | Implement the conversion and do the initial execution pass. | Zack Rusin | 2007-10-24 | 9 | -10/+242 |
| | |||||
* | Stub out some conversion. | Zack Rusin | 2007-10-24 | 1 | -0/+291 |
| | |||||
* | Initial stab at LLVM integration. | Zack Rusin | 2007-10-24 | 7 | -4/+205 |
| | |||||
* | Fix vertex cache bug that allows multiple vertices to fall into the same slot. | Brian | 2007-10-23 | 1 | -0/+9 |
| | | | | | | | | | | | | Need to set the slot's bit in draw->vcache.referenced even when there was a cache hit since flushing the primitive buffer will have cleared the bitfield but not the cache's vertex indexes. Fixes a bug found when drawing long triangle fans but could be hit by other prim types as well. An alternate fix would be to call draw_vertex_cache_invalidate() from draw_vertex_cache_unreference(). | ||||
* | added comment | Brian | 2007-10-23 | 1 | -1/+1 |
| | |||||
* | In get_vertex(), slot was computed using & 31. Replace with % VCACHE_SIZE. | Brian | 2007-10-23 | 1 | -1/+3 |
| | | | | Also, assert that index is not too large before indexing array. | ||||
* | adjust coords in wide_line() to be conformant | Brian | 2007-10-23 | 1 | -8/+47 |
| | |||||
* | properly init dst reg's CondMask/Swizzle fields | Brian | 2007-10-23 | 2 | -5/+5 |
| | |||||
* | bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵ | Brian | 2007-10-23 | 1 | -3/+6 |
| | | | | instructions | ||||
* | Don't pad renderbuffers to multiple of two pixels anymore. | Brian | 2007-10-23 | 1 | -6/+1 |
| | | | | | This was only needed to avoid out-of-bounds memory accesses with the 2x2 quad_read/write() functions which no longer exist. | ||||
* | don't apply ColorMask to main gc | Brian | 2007-10-22 | 1 | -7/+6 |
| | |||||
* | fix masking bug, memory leak | Brian | 2007-10-22 | 1 | -29/+28 |
| | |||||
* | don't use GL types for get/put_tile() params | Brian | 2007-10-22 | 1 | -4/+4 |
| | |||||
* | new flag to control psize (from vertex shader or fixed size) | Brian | 2007-10-22 | 3 | -1/+26 |
| | |||||
* | add support for sprite texcoord modes | Brian | 2007-10-22 | 4 | -7/+40 |
| | |||||
* | implement point sprite mode | Brian | 2007-10-22 | 2 | -35/+48 |
| | |||||
* | add point_sprite flag to rasterizer state | Brian | 2007-10-22 | 2 | -0/+2 |
| | |||||
* | remove unused var | Brian | 2007-10-22 | 1 | -1/+1 |
| | |||||
* | tweak point corners to pass conform test | Brian | 2007-10-22 | 1 | -4/+8 |
| | |||||
* | plug the wide prims code into the pipeline | Brian | 2007-10-22 | 4 | -1/+11 |
| | |||||
* | update to working condition | Brian | 2007-10-22 | 1 | -111/+91 |
| | |||||
* | Finish unifying the surface and texture tile caches. | Brian | 2007-10-22 | 8 | -118/+72 |
| | |||||
* | pull clip/ module wide and stippled lines/points code | keithw | 2007-10-22 | 2 | -0/+541 |
| | |||||
* | Start implementing cache routines for textures. | Brian | 2007-10-21 | 2 | -1/+71 |
| | | | | First step to consolidating surface/texture caching... | ||||
* | rename some vars | Brian | 2007-10-21 | 1 | -25/+25 |
| | |||||
* | silence warning | Brian | 2007-10-21 | 2 | -1/+2 |
| | |||||
* | Remove obsolete read/write_quad() functions | Brian | 2007-10-20 | 3 | -591/+54 |
| | |||||
* | init sp->sbuf_cache to avoid possible segfault | Brian | 2007-10-20 | 1 | -0/+1 |
| | |||||
* | Call softpipe_unmap_surfaces() in softpipe_flush(). | Brian | 2007-10-20 | 1 | -0/+8 |
| | | | | | | | This fixes a DRM BO failure upon swapbuffers caused by the color buffer still being mapped. This is a bit heavy handed since we don't always need to unmap buffers when flushing. Need to pass a flag to flush() or design a new function. | ||||
* | In region_unmap(), check if region is mapped before decrementing refcount. | Brian | 2007-10-20 | 2 | -8/+14 |
| | |||||
* | flush the pipe before accum ops | Brian | 2007-10-20 | 1 | -0/+3 |
| | |||||
* | unmap regions when reallocating renderbuffer storage | Brian | 2007-10-20 | 1 | -0/+4 |
| | |||||
* | renderbuffer tweaks in update_framebuffer_state() | Brian | 2007-10-20 | 1 | -4/+5 |
| | |||||
* | use combined depth/stencil buffer when possible | Brian | 2007-10-20 | 1 | -6/+16 |
| | |||||
* | Convert Z/stencil ops to use cached tiles like colors. | Brian | 2007-10-20 | 16 | -126/+395 |
| | | | | | Also, quite a bit of re-org of the tile caches and surface mapping/unmapping. Leave surfaces mapped between primitives now. | ||||
* | added case for TGSI_OPCODE_END | Brian | 2007-10-20 | 1 | -0/+4 |
| | |||||
* | get/put_tile_raw() funcs for 16/32bpp surfaces | Brian | 2007-10-19 | 1 | -0/+115 |
| | |||||
* | added get/put_tile_raw() methods | Brian | 2007-10-19 | 1 | -4/+17 |
| | |||||
* | don't alloc region in xmesa_surface_alloc(), fixes a mem leak | Brian | 2007-10-19 | 1 | -3/+1 |
| | |||||
* | disable debug printf | Brian | 2007-10-19 | 1 | -2/+1 |
| | |||||
* | call Driver.Flush() in _mesa_notifySwapBuffers() | Brian | 2007-10-19 | 1 | -2/+4 |
| | |||||
* | Initial implementation of surface tile caching. | Brian | 2007-10-19 | 9 | -72/+129 |
| | | | | | | Instead of using read/write_quad() functions, do framebuffer accesses via get/put_tile(). A cache of tiles is used to avoid frequent get/put() calls. Only implemented for color buffers right now. | ||||
* | Tile cache functions. | Brian | 2007-10-19 | 2 | -0/+289 |
| | |||||
* | clamp/clip in put_tile(), move softpipe_init_surface_funcs() call | Brian | 2007-10-19 | 1 | -4/+21 |
| |