i965: Fix S8 and X8 reversal in brw_depthbuffer_format refactor.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 21 Feb 2014 07:08:22 +0000 (23:08 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 22 Feb 2014 03:17:50 +0000 (19:17 -0800)
commit82f9ad8c6011f5c1e8fd7065eeb6094f6e16dea9
treea2d011b6f60632fec144105e83143718ef4efe4f
parent5a0b08e9ea5ee6075aee551b223e045e7506cb7d
i965: Fix S8 and X8 reversal in brw_depthbuffer_format refactor.

In commit 09d9a8913e8c28fc4c1c60d7da85a2f093786894, I accidentally
botched the X8 and S8 cases.  (I wrote this patch before realizing that
X8 and S8 had been swapped in the big MESA_FORMAT rename, and apparently
didn't rebase it properly after fixing that...)

Fixes regressions in 13 Piglit tests on Ironlake.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75291
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_surface_formats.c