Re: [Mesa-dev] [PATCH] radv: Set the RADEON_SURF_OPTIMIZE_FOR_SPACE flag for images

2017-07-17 Thread Dave Airlie
On 17 July 2017 at 20:14, Alex Smith wrote: > This looks like a regression from df301237940 ("radv: use > ac_compute_surface"). Before that, the opt4Space addrlib flag was set > to true unless the image has FMASK (ac_compute_surface will similarly > only set that flag for images without FMASK). >

[Mesa-dev] [PATCH] radv: Set the RADEON_SURF_OPTIMIZE_FOR_SPACE flag for images

2017-07-17 Thread Alex Smith
This looks like a regression from df301237940 ("radv: use ac_compute_surface"). Before that, the opt4Space addrlib flag was set to true unless the image has FMASK (ac_compute_surface will similarly only set that flag for images without FMASK). This saves multiple gigabytes of VRAM on one of our ga