i965: Use miptree_create_for_dri_image in image_target_renderbuffer_storage
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 12 Jun 2017 17:40:46 +0000 (10:40 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 13 Jul 2017 04:15:46 +0000 (21:15 -0700)
commit30cfed57ce1f6dcbbf677e4f615438c969ef3d30
tree5b28604d3041965ed2f52556352c30d99cba07c5
parent091965760da6d2624b6cebd2e67c17fb905dae7e
i965: Use miptree_create_for_dri_image in image_target_renderbuffer_storage

This does make a tiny functional change in that we now also test for
whether or not the format supports texturing and not just rendering.
However, this should have no practical effect as all renderbuffers use
texturable formats.

Reviewed-by: Chad Versace <chadversary@chromium.org>
src/mesa/drivers/dri/i965/intel_fbo.c