isl: Remove duplicate px->sa conversions

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 17 August 2016 16:46 UTC

In all three cases, we start with width and height taken from isl_surf::phys_slice0_extent_sa which is already in samples. There is no need to do the conversion and doing so gives us an incorrect value.

1e02611 isl: Remove duplicate px->sa conversions
src/intel/isl/isl.c | 20 --------------------
1 file changed, 20 deletions(-)

Upstream: cgit.freedesktop.org


  • Share