i965: Don't use BRW_DEPTHFORMAT_D24_UNORM_X8_UINT on Gen4.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 20 Dec 2011 23:26:21 +0000 (15:26 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 23 Dec 2011 20:15:20 +0000 (12:15 -0800)
commit9df8662e28ff6b60e5296dc4583372e0771a3263
tree06a262e13bf0fc6d38a6d40eb0097f19edcec593
parentcb045880b113b0042d8dfb7e4cdf76e6cc76c1d1
i965: Don't use BRW_DEPTHFORMAT_D24_UNORM_X8_UINT on Gen4.

X8 depth formats weren't supported until Ironlake (Gen 5).

Fixes GPU hangs introduced in d84a180417d1eabd680554970f1eaaa93abcd41e.
One example test case was "fbo-missing-attachment-blit from".

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_misc_state.c