panfrost: Support planar formats
Add support for PIPE_RESOURCE_PARAM_NPLANES by counting the planes in a resource, and allow finding the correct plane in panfrost_resource_get_handle().
Signed-off-by: Derek Foreman derek.foreman@collabora.com
Add support for PIPE_RESOURCE_PARAM_NPLANES by counting the planes in a resource, and allow finding the correct plane in panfrost_resource_get_handle().
Signed-off-by: Derek Foreman derek.foreman@collabora.com