summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-05-08 14:38:25 -0700
committerKenneth Graunke <[email protected]>2013-12-13 21:14:19 -0800
commit35f0aafaa4781cc0ad0cc9092cca7af79b3f9743 (patch)
treef0581115c4c6743ee3d69e1ab4db00b2ebc0609f /src/mesa
parent8bb666cee30ec8e38f6a22c1d17216deda272bbc (diff)
i965: Treat Haswell as 75 in the surface format table.
Much like we do for G45. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_surface_formats.c2
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++) {