mesa/formatquery: add a comment to clarify INTERNALFORMAT_PREFERRED
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 5 May 2016 09:27:05 +0000 (11:27 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 2 Jun 2016 06:54:17 +0000 (08:54 +0200)
commitb48c42cd1f81bf9a411d19aea2660d75622a1350
treee49c50d7209526d80a6ffa1bd6e830b72cbe7a23
parentc1ceee6cc966e25fb1e68d267bafdeb4528bc980
mesa/formatquery: add a comment to clarify INTERNALFORMAT_PREFERRED

The comment clarifies that the driver is called only to try to get
a preferred internalformat, and that it was already checked if the
format is supported or not.

Acked-by: Eduardo Lima <elima@igalia.com>
Acked-by: Antia Puentes <apuentes@igalia.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/formatquery.c