ilo: add ilo_state_surface_valid_format()
authorChia-I Wu <olvaffe@gmail.com>
Mon, 22 Jun 2015 05:37:05 +0000 (13:37 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 22 Jun 2015 07:18:56 +0000 (15:18 +0800)
commit3547bb078307995e92d509037bc86af7fd60c8c3
tree43022eb3aa15dff7d8cbcb0a084929063d70f0fc
parentaa3e5e0dded4d732ea46083201940bd23214785c
ilo: add ilo_state_surface_valid_format()

Check if a surface format can be used for the specified access type.
src/gallium/drivers/ilo/Makefile.sources
src/gallium/drivers/ilo/core/ilo_format.c
src/gallium/drivers/ilo/core/ilo_state_surface.h
src/gallium/drivers/ilo/core/ilo_state_surface_format.c [new file with mode: 0644]