intel: check texture formats in intel_validate_framebuffer()
authorBrian Paul <brianp@vmware.com>
Thu, 26 Feb 2009 23:51:50 +0000 (16:51 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 27 Feb 2009 01:48:36 +0000 (18:48 -0700)
commitf77b720cde981d441e482bbbd68115634b3041ce
tree6a94e62c48a5a249413e24123bfb4f7aa2b138a6
parent645f220710923f72e80281fa75e577e133b5a53c
intel: check texture formats in intel_validate_framebuffer()

We can't render into any texture format; only certain formats.
Check that render-to-texture's format is renderable in the
intel_validate_framebuffer()

There seems to be a bug somewhere that causes rendering to rgb565 textures
to be corrupted so disallow that for now.  This will be revisted.
src/mesa/drivers/dri/intel/intel_fbo.c