Re: [Mesa-dev] [PATCH 08/30] i965/miptree: Add tile_x/y to total_width/height

2017-06-22 Thread Chad Versace
On Fri 16 Jun 2017, Jason Ekstrand wrote: > This is what we do in intel_image_target_renderbuffer_storage and it > makes more sense than stomping them. Because the image gets created as > a 2D image with one miplevel, they should already be equal to the > provided width/height. Adding the tile of

[Mesa-dev] [PATCH 08/30] i965/miptree: Add tile_x/y to total_width/height

2017-06-16 Thread Jason Ekstrand
This is what we do in intel_image_target_renderbuffer_storage and it makes more sense than stomping them. Because the image gets created as a 2D image with one miplevel, they should already be equal to the provided width/height. Adding the tile offset makes some sense depending on how you interpr