projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965g: update to similiar gen stuff as i965
[mesa.git]
/
src
/
gallium
/
drivers
/
i965
/
brw_resource_texture.c
diff --git
a/src/gallium/drivers/i965/brw_resource_texture.c
b/src/gallium/drivers/i965/brw_resource_texture.c
index fded2da38201d3b9893e47884127ecce7c35e567..0cb895f35dee26488f3fddde0c41f84181d55a68 100644
(file)
--- a/
src/gallium/drivers/i965/brw_resource_texture.c
+++ b/
src/gallium/drivers/i965/brw_resource_texture.c
@@
-392,7
+392,7
@@
brw_texture_create( struct pipe_screen *screen,
if (tex->compressed == 0 &&
!bscreen->no_tiling)
{
- if (bscreen->
chipset.is_96
5 &&
+ if (bscreen->
gen <
5 &&
util_format_is_depth_or_stencil(template->format))
tex->tiling = BRW_TILING_Y;
else