[Mesa-dev] [PATCH 4/4] mesa/formats: refactor by globbing on types in switch statement

Chad Versace chad.versace at intel.com
Fri Aug 14 16:09:05 PDT 2015


On Tue 11 Aug 2015, Nanley Chery wrote:
> From: Nanley Chery <nanley.g.chery at intel.com>
> 
> Combine the adjacent cases which have the same GL type in the switch statemnt.
> 
> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> ---
>  src/mesa/main/formats.c | 152 ++++++------------------------------------------
>  1 file changed, 17 insertions(+), 135 deletions(-)

I checked every line in this patch and found no errors.

Patch 4/4 is
Reviewed-by: Chad Versace <chad.versace at intel.com>

As an aside... Do you think the format's datatype be stored directly in
the Mesa's format info table? It seems strange that Mesa maintains that
bit of information outside the info table.


More information about the mesa-dev mailing list