i965: Move memset of TextureFormatSupported to brw_init_surface_formats.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Sep 2013 18:34:09 +0000 (11:34 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 13 Oct 2013 07:10:44 +0000 (00:10 -0700)
commit8d315b25830de88108a87b2d555d54f7691e7983
treec5fb750be6980f5b8e86c21c46a60a90a266dba0
parentfc5b865cec99c34586b2f5484c46af419b2a0395
i965: Move memset of TextureFormatSupported to brw_init_surface_formats.

brw_init_surface_formats already sets entries in TextureFormatsSupported
to true; it may as well take care of initializing it to false too.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/drivers/dri/i965/intel_context.c