diff options
author | Jason Ekstrand <[email protected]> | 2016-06-07 14:33:40 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-06-22 12:26:43 -0700 |
commit | f47e23a8b6abd3bbc1d2d60c023c5a7ffaf70d72 (patch) | |
tree | afc74f41597716fd5a8daf7209fac60074e693d9 /src/intel/isl/isl_surface_state.c | |
parent | 96706bad5ff37e56ee48f9bbb143d39a6e113a62 (diff) |
isl/state: Use TILEWALK_XMAJOR for linear surfaces on gen7
This matches better what happens on gen8 where the "Tiled Surface" and
"Tile Walke" bits are combined into a single two-bit value. This is also
more consistent with what the GL driver does.
Reviewed-by: Chad Versace <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_surface_state.c')
-rw-r--r-- | src/intel/isl/isl_surface_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index f64d96ca059..9569c3ef44f 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -328,8 +328,8 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state, s.TileMode = isl_to_gen_tiling[info->surf->tiling]; #else s.TiledSurface = info->surf->tiling != ISL_TILING_LINEAR, - s.TileWalk = info->surf->tiling == ISL_TILING_X ? TILEWALK_XMAJOR : - TILEWALK_YMAJOR; + s.TileWalk = info->surf->tiling == ISL_TILING_Y0 ? TILEWALK_YMAJOR : + TILEWALK_XMAJOR, #endif #if GEN_GEN >= 8 |