i915g: Align all texture dimensions to the next POT
authorStéphane Marchesin <marcheu@chromium.org>
Sat, 22 Nov 2014 08:10:23 +0000 (00:10 -0800)
committerStéphane Marchesin <marcheu@chromium.org>
Sat, 22 Nov 2014 08:13:40 +0000 (00:13 -0800)
commite30c799da920f6c6f502cbd05380235b791e05fd
tree78d83e296523033e5cd76cac80319c74ccfa1884
parent675019584c9dea1aca690225f1d83bda7e910eb8
i915g: Align all texture dimensions to the next POT

This creates a usable layout for all NPOT textures. Of course these
still have lots of limitations, but at least we can render to a
level.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
src/gallium/drivers/i915/i915_resource_texture.c