diff options
author | Marek Olšák <[email protected]> | 2011-01-28 01:01:01 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-01-28 01:04:51 +0100 |
commit | 2050f2ab96f923112d3475a655b31c8f5145a800 (patch) | |
tree | 620884683ee9c64212168d4d986661e82d16d1bf /src/gallium/drivers/r300/r300_context.h | |
parent | 82e60236a950100bda7e00308c9b57861274608c (diff) |
r300g: fix and re-enable 8x8 zbuffer compression mode
Also cleanup the whole thing.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 6e96ae85ffd..57ecfb168f8 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -387,6 +387,11 @@ struct r300_texture_desc { /* Whether CBZB fast color clear is allowed on the miplevel. */ boolean cbzb_allowed[R300_MAX_TEXTURE_LEVELS]; + + /* Zbuffer compression info for each miplevel. */ + boolean zcomp8x8[R300_MAX_TEXTURE_LEVELS]; + /* If zero, then disable compression. */ + unsigned zmask_dwords[R300_MAX_TEXTURE_LEVELS]; }; struct r300_texture { |