Re: [Mesa-dev] [PATCH 2/3] i965/miptree: Drop an if case from retile_as_linear

2018-07-12 Thread Chris Wilson
Quoting Nanley Chery (2018-07-12 18:28:15) > Drop an if statement whose predicate never evaluates to true. row_pitch > belongs to a surface with non-linear tiling. According to > isl_calc_tiled_min_row_pitch, the pitch is a multiple of the tile width. > By looking at isl_tiling_get_info, we see tha

[Mesa-dev] [PATCH 2/3] i965/miptree: Drop an if case from retile_as_linear

2018-07-12 Thread Nanley Chery
Drop an if statement whose predicate never evaluates to true. row_pitch belongs to a surface with non-linear tiling. According to isl_calc_tiled_min_row_pitch, the pitch is a multiple of the tile width. By looking at isl_tiling_get_info, we see that non-linear tilings have widths greater than or eq