mesa/src
Marek Olšák db299a9f82 r300g: fix some bugs with zbuffer compression (v4)
This drops the memblock manager for ZMASK. Instead, only one zbuffer can be
compressed at a time. Note that this does not necessarily have to be slower.
When there is a large number of zbuffers, compression might be used more often
than it was before. It's also easier to debug.

How it works:
1) 'clear' turns the compression on.
2) If some other zbuffer is set or the currently-bound zbuffer is used
   for texturing, the driver decompresses it and then turns the compression off.

Notes:
- The ZMASK clear has been refactored, so that only one packet3 is used to clear
  ZMASK.
- The 8x8 compression mode is disabled. I couldn't make it work without issues.
- Also removed driver-specific stuff from u_blitter.

Driver status:
- RV530 and R580 appear to just work (finally).
- RV570 should work, but there may be an issue that we don't correctly
  calculate the number of dwords to clear, resulting in a partially
  uninitialized zbuffer.
- RS690 misrenders as if no ZMASK clear happened. No idea what's going on.
- RV350 may even hardlock. This issue was already present and this patch doesn't
  fix it.

I think we are still missing some hardware info we need to make the zbuffer
compression work fully.

Note that there is also an issue with HiZ, resulting in a sort of blocky
zigzagged corruption around some objects.
2011-01-27 18:12:01 +01:00
..
driclient
egl egl: Fix EGL_VERSION string. 2011-01-14 14:29:19 +08:00
gallium r300g: fix some bugs with zbuffer compression (v4) 2011-01-27 18:12:01 +01:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: Refresh autogenerated lexer file 2011-01-26 16:37:45 -08:00
glu mesa: fix mesa version string construction 2010-10-19 08:59:27 -06:00
glut scons: Revamp how to specify targets to build. 2010-11-01 13:30:22 +00:00
glw Makefiles: Don't complain if depend file to be included doesn't exist. 2010-07-21 13:19:33 -07:00
glx glx: fix request lengths 2011-01-24 18:10:38 -07:00
mapi Revert "glapi: adding missing @GOTPCREL qualifer in glapi_x86-64.S" 2011-01-25 12:12:34 -07:00
mesa glsl: use 'this' pointer to be consistent 2011-01-26 21:16:41 -07:00
talloc scons: Fix inverted logic. 2010-08-26 18:29:04 +01:00
Makefile
SConscript scons: Add support for GLES. 2011-01-22 11:59:05 +08:00