Commit Graph

34680 Commits

Author SHA1 Message Date
Jerome Glisse 72128962d6 r600g: Initial import 2010-05-27 23:23:56 +02:00
Brian Paul 3d41dd7934 llvmpipe: s/bool/boolean/ 2010-05-27 14:55:58 -06:00
Brian Paul bd024ce2b1 llvmpipe: s/bool/boolean 2010-05-27 14:54:21 -06:00
Brian Paul 0faefb194e sw/xlib: avoid dereferencing a null pointer 2010-05-27 13:40:16 -06:00
Brian Paul c3b62bc86c gallivm: add assertions to check type of phi variables 2010-05-27 13:40:16 -06:00
Brian Paul a504f2387e mesa: fix incorrect GL_DEPTH_STENCIL_ATTACHMENT format check
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-27 13:11:08 -06:00
Marek Olšák 90e5a37d12 r300g/swtcl: fix secondary color and back-face color outputs
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-27 20:56:32 +02:00
José Fonseca 8bd3a4c1aa llvmpipe: Refer to my personal udis86 repository.
As it has a bunch of fixes/additions not merged by upstream yet.
2010-05-27 19:40:10 +01:00
José Fonseca 571ee049f2 util: Also add a define for the dynamic library's prefix. 2010-05-27 19:37:56 +01:00
Brian Paul 057f7e8140 egl/mks: remove extra param from function call 2010-05-27 12:04:43 -06:00
Brian Paul 462bccef4f egl_g3d: add missing param to egl_g3d_st_manager_get_egl_image() 2010-05-27 12:04:08 -06:00
Brian Paul df64122c30 fbdev: some hacking to get the driver to compile (untested) 2010-05-27 09:46:32 -06:00
Brian Paul a4bd52adba update linux-fbdev config 2010-05-27 09:46:21 -06:00
Brian Paul 3644dbbdbd vbo: comments and whitespace 2010-05-27 09:40:33 -06:00
Brian Paul 4225c4e1b0 vbo: remove unused prototype 2010-05-27 09:40:33 -06:00
Brian Paul 9aae67ca3a vbo: remove dead code 2010-05-27 09:40:33 -06:00
Brian Paul b6187057be vbo: update/add comments 2010-05-27 09:40:33 -06:00
Vinson Lee f49a65628f mesa: Remove unnecessary headers. 2010-05-27 08:10:31 -07:00
Kristian Høgsberg 6e9da8ab60 egl: Return NULL if we fail to load a default driver 2010-05-27 09:59:27 -04:00
Brian Paul 7d7bdee50d mesa: remove unused includes 2010-05-26 22:42:13 -06:00
Brian Paul eb88c02a4b mesa: rewrite _mesa_get_handle() and add some comments 2010-05-26 22:40:38 -06:00
Brian Paul 69861ae497 mesa: move GLSL uniform functions into new source file 2010-05-26 22:30:10 -06:00
Vinson Lee 655c9a0533 st/mesa: Remove unnecessary headers. 2010-05-26 20:12:33 -07:00
Will Dyson 055750fafb Enable hardware mipmap generation for radeon.
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-26 18:17:28 -04:00
Will Dyson a9ee956511 Fix image_matches_texture_obj() MaxLevel check
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-26 18:17:28 -04:00
Will Dyson f49da110a8 Fallback to software render if there is no miptree for an image
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-26 18:17:28 -04:00
Marek Olšák 76034aaf65 r300g: decouple drawing code and two-sided stencil refvalue fallback
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-27 00:08:42 +02:00
Marek Olšák 1345c5bf94 r300g/swtcl: handle large index count properly
This fixes piglit/draw-elements.
2010-05-26 22:39:19 +02:00
Marek Olšák 3a6fd21917 r300g/swtcl: force vertex prefetching for non-indexed primitives 2010-05-26 22:22:52 +02:00
Marek Olšák 55a6d37434 r300g/swtcl: move emitting AOS to prepare_for_rendering 2010-05-26 22:22:52 +02:00
Marek Olšák 500160a3c9 r300g/swtcl: vbo transfer sanity checks 2010-05-26 22:22:52 +02:00
Marek Olšák a81730cb32 r300g: add get_cs_info winsys entrypoint, abandon check_cs 2010-05-26 22:22:52 +02:00
Marek Olšák 6ca3f86bdc r300g/swtcl: do not use u_upload_mgr and do not compute max_index 2010-05-26 22:22:52 +02:00
Marek Olšák bbfd785259 r300g: remove unnecessary includes 2010-05-26 22:22:52 +02:00
Eric Anholt 3b68b6c83e i965: Add support for EXT_timer_query on Ironlake.
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-26 12:14:44 -07:00
Eric Anholt fd3425fdff intel: Handle decode of PIPE_CONTROL instructions. 2010-05-26 12:13:54 -07:00
Eric Anholt ddb10c3e60 i965: Move Gen6 debugging emit_mi_flush into the Gen6 block. 2010-05-26 12:13:54 -07:00
Eric Anholt 8f61114907 i965: Don't PIPE_CONTROL instruction cache flush.
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-26 12:13:54 -07:00
Eric Anholt 6e2330daa6 i965: Emit MI_FLUSH before PSP on Ironlake for clip max threads errata. 2010-05-26 12:13:54 -07:00
Vinson Lee 80689ae615 gallivm: Remove unnecessary headers. 2010-05-26 11:13:23 -07:00
Vinson Lee 2966a25d3b st/xorg: Remove unnecessary headers. 2010-05-26 10:59:57 -07:00
Vinson Lee 3fa8a8ea28 util: Remove unnecessary headers. 2010-05-26 10:53:54 -07:00
Vinson Lee 67d5a51021 st/dri: Remove dri.c from SCons build.
This was missed in commit f501230db3.
Fixes SCons build.
2010-05-26 10:24:36 -07:00
Kristian Høgsberg cee4220f16 Revert the 'make static' part of 962f926112
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-26 11:32:36 -04:00
Marek Olšák 1bdbc0e38f r300g: fix fence referencing 2010-05-26 16:39:32 +02:00
Brian Paul d3f598a506 mesa: move all vertex array functions into varray.c 2010-05-25 21:42:13 -06:00
Brian Paul a830eef8c2 mesa: added _mesa_GetVertexAttribIiv / AttribIuiv()
Refactor the code for all the glGetVertexAttrib() functions.
2010-05-25 21:38:02 -06:00
Brian Paul e00d07cff6 mesa: added _mesa_VertexAttribIPointer() 2010-05-25 21:18:33 -06:00
Brian Paul e793a24d7c mesa: new GL 3.0 VertexAttrib commands
Still need to plug in API dispatch...
2010-05-25 21:18:33 -06:00
Brian Paul 962f926112 mesa: make a bunch of shader API functions static 2010-05-25 21:18:33 -06:00