summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/identity
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-07-25 10:07:12 +0200
committerMarek Olšák <[email protected]>2010-07-25 10:33:09 +0200
commit451a0ddb190e5185372fed9ec57d24a822442ecc (patch)
tree31d3195810798fb0e1640973fbef9dfbc7e0fffd /src/gallium/drivers/identity
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/identity')
0 files changed, 0 insertions, 0 deletions