diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_surface_formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_surface_formats.c b/src/mesa/drivers/dri/i965/brw_surface_formats.c index 7afca79819a..90e43a71add 100644 --- a/src/mesa/drivers/dri/i965/brw_surface_formats.c +++ b/src/mesa/drivers/dri/i965/brw_surface_formats.c @@ -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++) { |