diff options
author | Nicolai Hähnle <[email protected]> | 2016-06-24 16:35:36 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-07-01 17:54:40 +0200 |
commit | 0ba053b34c29106817568996ac53b41029cf4e4c (patch) | |
tree | 0a00dfba1b730ed75306f74ee953431a3a701311 /scons | |
parent | de772bc060fb401e30cfbfa4ae3973fb025865e5 (diff) |
st/mesa: an incomplete texture may have a zero-size first image
Fixes a regression introduced by commit 42624ea83 which triggered
an assertion in
dEQP-GLES2.functional.texture.completeness.cube.not_positive_level_0
While stImage must have a non-zero size as verified by the caller, we also
look at the size of the base image in an attempt to make a better guess at
the level0 size (this is important when the base image size is odd). However,
the base image may have a zero size even when it exists.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96629
Cc: 12.0 <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions