summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-05-27r600g: various fixesBas Nieuwenhuizen
- enabled flushing a buffer more than once - enabled the blitter for r600_clear - added some more colors to r600_is_format_supported (copied from r600_conv_pipe_format) - r600_set_framebuffer_state now sets rctx->fb_state - more states are saved before a blit (had to add some accounting for the viewport and the vertex elements state) - fixed a few errors with reference counting
2010-05-27r600g: fix driver + shader compiler backend changeJerome Glisse
Change the way we translate from c_compiler to the asic specific representation. Should make things simpler. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-05-27r600g: Integrate into buildJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27r600g: Fix buffer offsetsJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27r600g: adapt to latest interfaces changesMarek Olšák
- Wrapped the buffer and texture create/destroy/transfer/... functions using u_resource, which is then used to implement the resource functions. - Implemented texture transfers. I left the buffer and texture transfers separate because one day we'll need a special codepath for textures. - Added index_bias to the draw_*elements functions. - Removed nonexistent *REP and *FOR instructions. - Some pipe formats have changed channel ordering, so I've removed/fixed nonexistent ones. - Added stubs for create/set/destroy sampler views. - Added a naive implementation of vertex elements state (new CSO). - Reworked {texture,buffer}_{from,to}_handle. - Reorganized winsys files, removed dri,egl,python directories. - Added a new build target dri-r600.
2010-05-27r600g: Initial importJerome Glisse
2010-05-27llvmpipe: s/bool/boolean/Brian Paul
2010-05-27llvmpipe: s/bool/booleanBrian Paul
2010-05-27sw/xlib: avoid dereferencing a null pointerBrian Paul
2010-05-27gallivm: add assertions to check type of phi variablesBrian Paul
2010-05-27mesa: fix incorrect GL_DEPTH_STENCIL_ATTACHMENT format checkBrian Paul
We want to check the incoming renderbuffer format, not the (potentially non-existant) current attachment. Fixes segfault w/ fbotexture -ds2. NOTE: this will be applied to the 7.8 branch too.
2010-05-27r300g/swtcl: fix secondary color and back-face color outputsMarek Olšák
These piglit tests have been fixed: - bgra-sec-color-pointer - glsl-routing See comments at the beginning of r300_vs_draw.c WPOS is implemented too but it doesn't work yet. I'm still working on it.
2010-05-27llvmpipe: Refer to my personal udis86 repository.José Fonseca
As it has a bunch of fixes/additions not merged by upstream yet.
2010-05-27util: Also add a define for the dynamic library's prefix.José Fonseca
2010-05-27egl/mks: remove extra param from function callBrian Paul
2010-05-27egl_g3d: add missing param to egl_g3d_st_manager_get_egl_image()Brian Paul
2010-05-27fbdev: some hacking to get the driver to compile (untested)Brian Paul
2010-05-27vbo: comments and whitespaceBrian Paul
2010-05-27vbo: remove unused prototypeBrian Paul
2010-05-27vbo: remove dead codeBrian Paul
2010-05-27vbo: update/add commentsBrian Paul
2010-05-27mesa: Remove unnecessary headers.Vinson Lee
2010-05-27egl: Return NULL if we fail to load a default driverKristian Høgsberg
2010-05-26mesa: remove unused includesBrian Paul
2010-05-26mesa: rewrite _mesa_get_handle() and add some commentsBrian Paul
2010-05-26mesa: move GLSL uniform functions into new source fileBrian Paul
2010-05-26st/mesa: Remove unnecessary headers.Vinson Lee
2010-05-26Enable hardware mipmap generation for radeon.Will Dyson
Use _mesa_meta_GenerateMipmap. It is Fast Enough(tm). Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-26Fix image_matches_texture_obj() MaxLevel checkWill Dyson
When generating or uploading a new (higher) mipmap level for an image, we can need to allocate a miptree for a level greater than texObj->MaxLevel. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-26Fallback to software render if there is no miptree for an imageWill Dyson
This can happen when checking if a software fallback for a higher level operation (such as GenerateMipmap) is needed. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-27r300g: decouple drawing code and two-sided stencil refvalue fallbackMarek Olšák
It's now more separate from the rest of the driver and it can be disabled by commenting out just 1 line. Well, I couldn't make the previous version work with SW TCL reliably, that's the reason of this little rework.
2010-05-26r300g/swtcl: handle large index count properlyMarek Olšák
This fixes piglit/draw-elements.
2010-05-26r300g/swtcl: force vertex prefetching for non-indexed primitivesMarek Olšák
2010-05-26r300g/swtcl: move emitting AOS to prepare_for_renderingMarek Olšák
2010-05-26r300g/swtcl: vbo transfer sanity checksMarek Olšák
2010-05-26r300g: add get_cs_info winsys entrypoint, abandon check_csMarek Olšák
2010-05-26r300g/swtcl: do not use u_upload_mgr and do not compute max_indexMarek Olšák
2010-05-26r300g: remove unnecessary includesMarek Olšák
2010-05-26i965: Add support for EXT_timer_query on Ironlake.Eric Anholt
We could potentially do this on G45 as well, though the units are different. On 965, the timestamp is tied to hclk, which would make supporting it harder.
2010-05-26intel: Handle decode of PIPE_CONTROL instructions.Eric Anholt
2010-05-26i965: Move Gen6 debugging emit_mi_flush into the Gen6 block.Eric Anholt
2010-05-26i965: Don't PIPE_CONTROL instruction cache flush.Eric Anholt
This is a workaround for Ironlake errata. The emit_mi_flush is used for a few purposes: 1) Flushing write caches for RTT (including blit to texture) 2) Pipe fencing for sync objects 3) Spamming cache flushes to track down cache flush bugs Spamming cache flushes seems less important than following the docs, and we should probably do that with a different mechanism than the one for render cache flushes.
2010-05-26i965: Emit MI_FLUSH before PSP on Ironlake for clip max threads errata.Eric Anholt
2010-05-26gallivm: Remove unnecessary headers.Vinson Lee
2010-05-26st/xorg: Remove unnecessary headers.Vinson Lee
2010-05-26util: Remove unnecessary headers.Vinson Lee
2010-05-26st/dri: Remove dri.c from SCons build.Vinson Lee
This was missed in commit f501230db3a94c9328b8e769d9c17b2c3792e19c. Fixes SCons build.
2010-05-26Revert the 'make static' part of 962f92611216e304c95e7c089b38d58066236014Kristian Høgsberg
The es1 and es2 dispath table initialization code is generated from the API XML files and we can't easily share the dispatch table code setup. Keep the _mesa_init_shader_dispatch() part of the patch, but roll back the static-ization of shader entrypoints so es1 and es2 dispatch initialization still works.
2010-05-26r300g: fix fence referencingMarek Olšák
2010-05-25mesa: move all vertex array functions into varray.cBrian Paul