summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_texture.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-07-25 10:07:12 +0200
committerMarek Olšák <maraeo@gmail.com>2010-07-25 10:33:09 +0200
commit451a0ddb190e5185372fed9ec57d24a822442ecc (patch)
tree31d3195810798fb0e1640973fbef9dfbc7e0fffd /src/gallium/drivers/r300/r300_texture.h
parent49330fc5ac13e25cb201e62995329cffaf5046f0 (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/r300/r300_texture.h')
0 files changed, 0 insertions, 0 deletions