diff options
author | Eric Anholt <eric@anholt.net> | 2010-03-17 10:05:55 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-03-17 11:15:45 -0700 |
commit | 7c697b1670fe34b54a7b82d8ff0732845caa05a3 (patch) | |
tree | da5b0ce87eedb2bb5bd2e006c45b15fb90aa17f4 /radeon/radeon_cs_gem.c | |
parent | 30ce1fd1522ef266f172321438626813b78ed14c (diff) |
intel: Align untiled buffer pitch to 64B.
This is the largest untiled pitch requirement from gen2 through gen4.
It's only the case for gen3 rendering to color regions with depth, but
it's rare for this to be a significant factor in memory usage -- for
example, gen4 requires 1 or 2 times the element size, or up to 64
bytes depending on the size of the elements. This is easier than
encoding all the various little quirks for untiled pitch alignment,
since we rarely do untiled now.
Diffstat (limited to 'radeon/radeon_cs_gem.c')
0 files changed, 0 insertions, 0 deletions