ilo: improve SURFTYPE_BUFFER validations
authorChia-I Wu <olvaffe@gmail.com>
Wed, 24 Jun 2015 04:57:57 +0000 (12:57 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 26 Jun 2015 05:45:27 +0000 (13:45 +0800)
commit07acf9cb167d4e1f7aebd6837d22e3523ad63109
treeeb49895cf1cda87115aa22ea4978e9b8d20f6d31
parent9871646c132ba137709b0bfebfe285985dc351e6
ilo: improve SURFTYPE_BUFFER validations

Reorganize the validations to make them more systematic.
src/gallium/drivers/ilo/core/ilo_state_surface.c
src/gallium/drivers/ilo/core/ilo_state_surface.h