i965: Treat Haswell as 75 in the surface format table.

Much like we do for G45.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Kenneth Graunke
2013-05-08 14:38:25 -07:00
parent 8bb666cee3
commit 35f0aafaa4
@@ -535,7 +535,7 @@ brw_init_surface_formats(struct brw_context *brw)
memset(&ctx->TextureFormatSupported, 0, sizeof(ctx->TextureFormatSupported));
gen = brw->gen * 10;
if (brw->is_g4x)
if (brw->is_g4x || brw->is_haswell)
gen += 5;
for (format = MESA_FORMAT_NONE + 1; format < MESA_FORMAT_COUNT; format++) {