i965/miptree: Share alloc_flags in miptree_create
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 11 Jun 2018 17:35:28 +0000 (10:35 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jul 2018 15:31:21 +0000 (08:31 -0700)
commit32b22592a883b527c7207818e209300542b15edc
tree57dbd03d0ff1250bcb5863b72100e02d7a737f9b
parent2321e85759b5737ffeaebeef0c92c8baf4be612c
i965/miptree: Share alloc_flags in miptree_create

Note that this maintains BO_ALLOC_BUSY for depth renderbuffers, but not
depth textures.

v2: Add note about BO_ALLOC_BUSY in message (Topi).

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c