mesa: check for immutable texture in _mesa_test_texobj_completeness()
authorBrian Paul <brianp@vmware.com>
Fri, 4 Nov 2011 01:56:51 +0000 (19:56 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 7 Nov 2011 21:25:47 +0000 (14:25 -0700)
commit68c3d21b6857ec39f0849867355b736191823479
tree305b1e668c5146620789d85d36be0f2a22694e67
parentb64dc2a275714ae67c735298d8104ff292c60edf
mesa: check for immutable texture in _mesa_test_texobj_completeness()

One of the points of GL_ARB_texture_storage is to make it impossible
to have malformed mipmap stacks.  If we know the texture object is
immutable, we can skip a bunch of size checking.
src/mesa/main/texobj.c