diff options
author | Brian Paul <[email protected]> | 2012-09-04 20:17:15 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-09-05 08:44:26 -0600 |
commit | 771e7b6d884bb4294a89f276a904d90b28efb90a (patch) | |
tree | 8f1899177702dbdccec0c150494a3d488b8c3f57 /src/mesa/drivers | |
parent | 456c7355e06c352e1ca9e79f6ef9cdaed66ddf9c (diff) |
mesa: fix per-level max texture size error checking
This is a long-standing omission in Mesa's texture image size checking.
We need to take the mipmap level into consideration when checking if the
width, height and depth are too large.
Fixes the new piglit max-texture-size-level test.
Thanks to Stéphane Marchesin for finding this problem.
Note: This is a candidate for the stable branches.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions