[Mesa-dev] [PATCH] i965: Treat Haswell as 75 in the surface format table.

Kenneth Graunke kenneth at whitecape.org
Wed May 8 14:39:43 PDT 2013


Much like we do for G45.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index ee2c9f1..09c0a9a 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -488,7 +488,7 @@ brw_init_surface_formats(struct brw_context *brw)
    gl_format format;
 
    gen = intel->gen * 10;
-   if (intel->is_g4x)
+   if (intel->is_g4x || intel->is_haswell)
       gen += 5;
 
    for (format = MESA_FORMAT_NONE + 1; format < MESA_FORMAT_COUNT; format++) {
-- 
1.8.2.1



More information about the mesa-dev mailing list