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:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user