commit | b1576fd065df3285ccf23d2e3927efd60656204d | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Fri Nov 01 18:20:01 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Nov 05 21:07:44 2019 +0000 |
tree | 1adc505b0c69c850077552426d10b950c7a8f786 | |
parent | 1cc60677574f044d44f74f5b54b018c93305c002 [diff] |
Dawn: fix mipmap width and height computation during upload. Don't go below 1 in width or height when downsizing for uploads. This can happen with rectangular textures, where one dimension hits the lower bound. Change-Id: Ica28e6274cf1df658145233ab6694f2c64c55201 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252316 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>