summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-09-11Add a test for the KIL opcodeAlex Corscadden
This is a simple test for the KIL opcode. It should render a 6 sided figure with a colored interior.
2010-09-11llvmpipe: restore larger command blocksKeith Whitwell
2010-09-11llvmpipe: move some debug to DEBUG_SCENEKeith Whitwell
2010-09-11llvmpipe: add DEBUG_MEM optionKeith Whitwell
2010-09-11llvmpipe: allow bigger scenesKeith Whitwell
2010-09-10r300/compiler: Enable presubtract sourcesTom Stellard
The r300 compiler can now emit instructions that select from the presubtract source. A peephole optimization has been added to convert instructions like: ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract operation.
2010-09-10r600g: Fixed a bo reference leak in the draw module.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10r600g: Only increase a bo's map_count if radeon_bo_map() succeeded.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10r600g: Fixed a bo leak in the error path of radeon_ctx_set_bo_new().Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10r600g: Fixed a bo leak in r600_texture_from_handle().Tilman Sauerbeck
We would leak bo if the argument check failed. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10r600g: Don't leave stale references in query_list when we cannot create bo.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10r600g: Implemented the y component write for the LOG opcode.Tilman Sauerbeck
This makes the 'vp1-LOG test' piglit test work. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10targets/egl: Fix crashes from loading invalid modules.Chia-I Wu
Be defensive.
2010-09-10gallium: Remove ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2.Chia-I Wu
They are no longer used.
2010-09-10st/egl: Use profiles to create OpenGL ES contexts.Chia-I Wu
Replace all uses of ST_API_OPENGL_ES{1,2} by profiles. Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
2010-09-10st/dri: Use profiles to create OpenGL ES contexts.Chia-I Wu
Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
2010-09-10gallium: Add context profile support to st_api.Chia-I Wu
Add struct st_context_attribs to describe context profiles and attributes. Modify st_api::create_context to take the new struct instead of an st_visual. st_context_attribs can be used to support GLX_ARB_create_context_profile and GLX_EXT_create_context_es2_profile in the future. But the motivation for doing it now is to be able to replace ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2 by profiles. Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
2010-09-10r600g: fixup state calculations for picking states.Dave Airlie
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.
2010-09-10r600g: fixup CB state numbering headerDave Airlie
2010-09-10r600g: fix warning in r600 pipe driverDave Airlie
2010-09-10r600g: evergreen CBs are more sane to support with a single stateDave Airlie
2010-09-10r600g: add multi-buffer flush support properly.Dave Airlie
2010-09-10r600g: fix regression in multi-buffer tests since CB flush mergeDave Airlie
2010-09-10r600g: add initial evergreen supportDave Airlie
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
2010-09-10r600g: align flushing of cb/db with DDX/r600c.Dave Airlie
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.
2010-09-10r600g: don't need 3 bos here.Dave Airlie
the code should reloc correctly a single BO 3 times.
2010-09-09graw: added test for finding shader mem leaksBrian Paul
2010-09-09draw: minor reformattingBrian Paul
2010-09-09graw: emit warnings when context/surface creation failesBrian Paul
2010-09-09winsys: emit warning in null_sw_displaytarget_create()Brian Paul
2010-09-09graw: fix array size, indentation,Brian Paul
2010-09-09st/dri: support EGL_MESA_image_drm: queryImageben
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-09-09st/dri: support EGL_MESA_image_drm: createImageben
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-09-09llvmpipe: remove redundant tgsi_dup_tokens() callBrian Paul
We were calling this twice so the first allocation was orphaned/leaked.
2010-09-08st/dri: Call dri_init_extensions only for API_OPENGL.Chia-I Wu
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.
2010-09-08st/dri: Use enum st_api_type internally.Chia-I Wu
2010-09-08st/dri: Add multi-api supportnobled
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)
2010-09-08st/dri: Make clear which API's are supportednobled
If the caller requests a GLES context, don't silently create a desktop GL context in its place.
2010-09-08r600g: add initial bank swizzle support.Dave Airlie
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.
2010-09-08r600g: Added missing r600_bc_add_literal() calls to XPD implementation.Tilman Sauerbeck
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-09-08r600g: Added preliminary support for the LOG opcode.Tilman Sauerbeck
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-09-08r600g: Added missing abs-ification to RSQ.Tilman Sauerbeck
This makes the 'fp1-RSQ test 2' piglit test work. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-09-08r600g: split opcodes out and add wrapper around usage.Dave Airlie
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.
2010-09-08r600g: add support for constants in memory buffers.Dave Airlie
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.
2010-09-08r600g: abstract the hw states out behind a vtbl.Dave Airlie
this is step one towards evergreen support, it lets us plug in whole new hw level states.
2010-09-07libgl-xlib: Fix --enable-gallium-llvm build.Chia-I Wu
Check MESA_LLVM and link to LLVM as other targets do.
2010-09-07llvmpipe: Add lp_rast_debug.c to Makefile.Chia-I Wu
2010-09-07llvmpipe: Refactor lp_scene_add_resource_referenceJosé Fonseca
Less goto spaghetti.
2010-09-07llvmpipe: Fix negated logic in lp_scene_add_resource_reference().José Fonseca
Fixes performance regression.
2010-09-07llvmpipe: move more coef setup into lp_setup_coef.cKeith Whitwell