Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: fixup state calculations for picking states. | Dave Airlie | 2010-09-10 | 7 | -29/+16 |
| | | | | | for evergreen I ended up using a non-contig array of states, but this code needs a bit of fixing up to deal with that. | ||||
* | r600g: fixup CB state numbering header | Dave Airlie | 2010-09-10 | 3 | -95/+36 |
| | |||||
* | r600g: fix warning in r600 pipe driver | Dave Airlie | 2010-09-10 | 3 | -15/+14 |
| | |||||
* | r600g: evergreen CBs are more sane to support with a single state | Dave Airlie | 2010-09-10 | 3 | -82/+3 |
| | |||||
* | r600g: add multi-buffer flush support properly. | Dave Airlie | 2010-09-10 | 1 | -6/+7 |
| | |||||
* | r600g: fix regression in multi-buffer tests since CB flush merge | Dave Airlie | 2010-09-10 | 1 | -14/+14 |
| | |||||
* | r600g: add initial evergreen support | Dave Airlie | 2010-09-10 | 25 | -62/+5303 |
| | | | | | | | | | | adds shader opcodes + assembler support (except ARL) uses constant buffers add interp instructions in fragment shader adds all evergreen hw states adds evergreen pm4 support. this runs gears for me on my evergreen | ||||
* | r600g: align flushing of cb/db with DDX/r600c. | Dave Airlie | 2010-09-10 | 5 | -32/+95 |
| | | | | | | | | | the DDX and r600c both flush cb/db after the draw is emitted, as long as they do that, r600g can't be different, as it races. We end up with r600g flush, set CB, DDX set CB, flush. This was causing misrendering on my evergreen, where sometimes the drawing would go to an old CB. | ||||
* | r600g: don't need 3 bos here. | Dave Airlie | 2010-09-10 | 2 | -8/+4 |
| | | | | the code should reloc correctly a single BO 3 times. | ||||
* | graw: added test for finding shader mem leaks | Brian Paul | 2010-09-09 | 2 | -0/+267 |
| | |||||
* | draw: minor reformatting | Brian Paul | 2010-09-09 | 1 | -2/+1 |
| | |||||
* | graw: emit warnings when context/surface creation failes | Brian Paul | 2010-09-09 | 1 | -3/+11 |
| | |||||
* | winsys: emit warning in null_sw_displaytarget_create() | Brian Paul | 2010-09-09 | 1 | -0/+2 |
| | |||||
* | graw: fix array size, indentation, | Brian Paul | 2010-09-09 | 1 | -7/+10 |
| | |||||
* | st/dri: support EGL_MESA_image_drm: queryImage | ben | 2010-09-09 | 1 | -0/+30 |
| | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> | ||||
* | st/dri: support EGL_MESA_image_drm: createImage | ben | 2010-09-09 | 1 | -0/+58 |
| | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> | ||||
* | llvmpipe: remove redundant tgsi_dup_tokens() call | Brian Paul | 2010-09-09 | 1 | -3/+0 |
| | | | | We were calling this twice so the first allocation was orphaned/leaked. | ||||
* | st/dri: Call dri_init_extensions only for API_OPENGL. | Chia-I Wu | 2010-09-08 | 1 | -1/+9 |
| | | | | | | | | libmesagallium.a that this state tracker will be linked to expects OpenGL's _glapi_table. That is, it expects libGL.so instead of libGLESv1_CM.so or libGLESv2.so. As there is no clean way to know the shared library the app links to, use the api as a simple check. It might be as well to simply remove this function call though. | ||||
* | st/dri: Use enum st_api_type internally. | Chia-I Wu | 2010-09-08 | 5 | -27/+39 |
| | |||||
* | st/dri: Add multi-api support | nobled | 2010-09-08 | 5 | -13/+46 |
| | | | | | | | | | | Make st/dri screens capable of creating OpenGL ES and OpenGL ES2 contexts. TODO: Figure out the "get_current" problem with multiple st_api's for real. (s/API_OPENGLES1/API_OPENGLES/ by Chia-I Wu) | ||||
* | st/dri: Make clear which API's are supported | nobled | 2010-09-08 | 1 | -1/+4 |
| | | | | | If the caller requests a GLES context, don't silently create a desktop GL context in its place. | ||||
* | r600g: add initial bank swizzle support. | Dave Airlie | 2010-09-08 | 4 | -4/+295 |
| | | | | | this is ported from r600c mostly, bank swizzling is real messy and I don't think I got enough sleep last night to fully understand it. | ||||
* | r600g: Added missing r600_bc_add_literal() calls to XPD implementation. | Tilman Sauerbeck | 2010-09-08 | 1 | -0/+8 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: Added preliminary support for the LOG opcode. | Tilman Sauerbeck | 2010-09-08 | 1 | -1/+121 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: Added missing abs-ification to RSQ. | Tilman Sauerbeck | 2010-09-08 | 1 | -1/+30 |
| | | | | | | This makes the 'fp1-RSQ test 2' piglit test work. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: split opcodes out and add wrapper around usage. | Dave Airlie | 2010-09-08 | 4 | -208/+233 |
| | | | | | | This splits the r600 opcodes out of the sq file and adds a wrapper so we can convert to evergreen opcodes later without touching these functions too much. | ||||
* | r600g: add support for constants in memory buffers. | Dave Airlie | 2010-09-08 | 14 | -51/+154 |
| | | | | | | DX9 constants were in the constant file, and evergreen no longer support cfile. r600/700 can also use constants in memory buffers, so add the code (disabled for now) to enable that as precursor for evergreen. | ||||
* | r600g: abstract the hw states out behind a vtbl. | Dave Airlie | 2010-09-08 | 7 | -975/+1103 |
| | | | | | this is step one towards evergreen support, it lets us plug in whole new hw level states. | ||||
* | libgl-xlib: Fix --enable-gallium-llvm build. | Chia-I Wu | 2010-09-07 | 1 | -1/+9 |
| | | | | Check MESA_LLVM and link to LLVM as other targets do. | ||||
* | llvmpipe: Add lp_rast_debug.c to Makefile. | Chia-I Wu | 2010-09-07 | 1 | -0/+1 |
| | |||||
* | llvmpipe: Refactor lp_scene_add_resource_reference | José Fonseca | 2010-09-07 | 1 | -14/+15 |
| | | | | Less goto spaghetti. | ||||
* | llvmpipe: Fix negated logic in lp_scene_add_resource_reference(). | José Fonseca | 2010-09-07 | 1 | -1/+1 |
| | | | | Fixes performance regression. | ||||
* | llvmpipe: move more coef setup into lp_setup_coef.c | Keith Whitwell | 2010-09-07 | 4 | -40/+61 |
| | |||||
* | llvmpipe: declare fence handle struct | Keith Whitwell | 2010-09-07 | 1 | -0/+1 |
| | |||||
* | llvmpipe: rasterization debugging helpers | Keith Whitwell | 2010-09-07 | 7 | -0/+428 |
| | |||||
* | llvmpipe: use opcodes instead of function pointers in bins | Keith Whitwell | 2010-09-07 | 15 | -441/+513 |
| | | | | Also, move some state from rasterizer struct to the scene. | ||||
* | llvmpipe: rearrange queries | Keith Whitwell | 2010-09-07 | 4 | -116/+53 |
| | |||||
* | llvmpipe: enforce fixed memory limit on scenes | Keith Whitwell | 2010-09-07 | 11 | -341/+459 |
| | |||||
* | llvmpipe: clean up deferred zstencil clears | Keith Whitwell | 2010-09-07 | 6 | -79/+41 |
| | |||||
* | llvmpipe: rework fences and queries | Keith Whitwell | 2010-09-07 | 7 | -92/+124 |
| | |||||
* | llvmpipe: move whole-tile emit into a function | Keith Whitwell | 2010-09-07 | 2 | -8/+42 |
| | |||||
* | llvmpipe: put fs variant dumping in a function | Keith Whitwell | 2010-09-07 | 2 | -4/+15 |
| | |||||
* | Replace reference to tgsi-instruction-set.txt. | Tilman Sauerbeck | 2010-09-07 | 1 | -1/+1 |
| | | | | | | That file has been replaced by tgsi.rst. Signed-off-by: José Fonseca <[email protected]> | ||||
* | nvfx: fix return in vp main | Luca Barbieri | 2010-09-06 | 1 | -17/+39 |
| | |||||
* | r600g: add error print for no literals for r700s as well | Dave Airlie | 2010-09-06 | 1 | -0/+3 |
| | |||||
* | r600g: fixup r700 assembler for clamp/relative addressing | Dave Airlie | 2010-09-06 | 1 | -13/+18 |
| | |||||
* | r600g: add script to generate header file with offsets into state objects. | Dave Airlie | 2010-09-06 | 3 | -412/+564 |
| | | | | | | | | This was inherently fragile as any changes to r600_states.h would also need manual updating of all of the bits in radeon.h. Just add a simple python script to do the conversion, its not hooked up to make at all. This also will make adding evergreen a bit easier. | ||||
* | r600g: fix up surface references | Dave Airlie | 2010-09-06 | 1 | -4/+2 |
| | | | | | We end up referencing the new surf and derefing the old surface which is a copy of the pointer to the new surf. So just bump the ref count directly. | ||||
* | r600g: search for sampler views in context on removal. | Dave Airlie | 2010-09-06 | 1 | -0/+17 |
| | | | | Need to remove from context as well. | ||||
* | r600g: add missing printf operand | Dave Airlie | 2010-09-06 | 1 | -1/+1 |
| |