diff options
author | Marek Olšák <[email protected]> | 2010-07-25 10:07:12 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-25 10:33:09 +0200 |
commit | 451a0ddb190e5185372fed9ec57d24a822442ecc (patch) | |
tree | 31d3195810798fb0e1640973fbef9dfbc7e0fffd /src/gallium/drivers/r600 | |
parent | 49330fc5ac13e25cb201e62995329cffaf5046f0 (diff) |
r300g: make sure a texture is large enough for the CBZB clear
The number of macrotiles in the Y direction must be even, otherwise memory
corruption may happen (e.g. broken fonts). Basically, if we get a buffer
in resource_from_handle, we can determine from the buffer size whether it's
safe to use the CBZB clear or not.
Diffstat (limited to 'src/gallium/drivers/r600')
0 files changed, 0 insertions, 0 deletions