diff options
author | Jason Ekstrand <[email protected]> | 2017-08-02 12:18:25 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-08-07 09:31:11 -0700 |
commit | 4d27c6095e8385cccd225993452baad4d2e35420 (patch) | |
tree | f095377523f467f27e8cd8e7ea862d110d1eb040 /src/mesa | |
parent | c15b92ce1160d742ea431062bbe4b3e818bb2aaf (diff) |
intel/isl: Don't align the height of the last array slice
We were calculating the total height of 2D surfaces by multiplying the
row pitch by the number of slices. This means that we actually request
slightly more space than actually needed since the padding on the last
slice is unnecessary. For tiled surfaces this is not likely to make a
difference. For linear surfaces, on the other hand, this means we may
require additional memory. In particular, this makes the i965 driver
reject EGL imports of buffers which do not have this extra padding.
Reviewed-by: Jordan Justen <[email protected]>
Cc: "17.2" <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions