i965: Add the missing supportable EXT_texture_snorm formats
authorIan Romanick <ian.d.romanick@intel.com>
Sun, 3 Apr 2011 01:49:13 +0000 (18:49 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 4 Apr 2011 21:32:01 +0000 (14:32 -0700)
commitad3fbac00bb4430aa26f4dbd3a795715b0fc7fef
tree60896777d3ba36a7a9b5461d08d7a60362892fd7
parent19d06b5c058f08eeaeb2f54bd9d24d0c8b11e621
i965: Add the missing supportable EXT_texture_snorm formats

This class of hardware can natively sample all of the snorm surface
formats that DX10 requires, but it can't do some of the legacy GL
formats.  In particular, all of the alpha, luminance, and intensity
formats are unsupported.

This partially fixes the breakage in glean's pixelFormats test since
GL_EXT_texture_snorm support was added to Mesa.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/intel/intel_context.c