i965/screen: Report the correct number of image planes
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 16 Aug 2017 19:01:15 +0000 (12:01 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Sep 2017 21:47:40 +0000 (14:47 -0700)
commit9c52aef7d7858058712c0f5926e324af052690df
tree12ee26b6586e232ddd921f598169a753efb2260d
parent8824141b8d48d9120ddbf542d6fb661046c41c62
i965/screen: Report the correct number of image planes

For non-CCS images, we were reporting just one plane even though they
may have multiple in the case of YUV.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/mesa/drivers/dri/i965/intel_screen.c