diff options
author | Dave Airlie <[email protected]> | 2010-12-30 19:16:16 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-01-09 17:21:10 +1000 |
commit | 5826967d2e6131714081287be5425b68702f1ca5 (patch) | |
tree | cd41c7fac8805d77263dad31c1d3f12aa9e059b2 /src/gallium/drivers/i965/brw_resource_texture_layout.c | |
parent | 3332229b3ba7a183a9f120ae4bbf9865e96df110 (diff) |
i965g: update to similiar gen stuff as i965
Diffstat (limited to 'src/gallium/drivers/i965/brw_resource_texture_layout.c')
-rw-r--r-- | src/gallium/drivers/i965/brw_resource_texture_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_resource_texture_layout.c b/src/gallium/drivers/i965/brw_resource_texture_layout.c index 2187bdd82ce..afecc77e312 100644 --- a/src/gallium/drivers/i965/brw_resource_texture_layout.c +++ b/src/gallium/drivers/i965/brw_resource_texture_layout.c @@ -388,7 +388,7 @@ GLboolean brw_texture_layout(struct brw_screen *brw_screen, { switch (tex->b.b.target) { case PIPE_TEXTURE_CUBE: - if (brw_screen->chipset.is_igdng) + if (brw_screen->gen == 5) brw_layout_cubemap_idgng( tex ); else brw_layout_3d_cube( tex ); |