anv/state: Dedupe code for lowering surface format
authorChad Versace <chad.versace@intel.com>
Fri, 22 Jan 2016 22:48:36 +0000 (14:48 -0800)
committerChad Versace <chad.versace@intel.com>
Sat, 23 Jan 2016 00:49:17 +0000 (16:49 -0800)
commit6a03c69adb646b6f7c11acc888550c1fb68b5a5d
tree346f30f91e5e985bae3a96a7416f19a093e26f9f
parent11d5c1905ce3856a3832718bbcb0c65928a3b26b
anv/state: Dedupe code for lowering surface format

Add helper anv_surface_format().
src/vulkan/gen7_state.c
src/vulkan/gen8_state.c
src/vulkan/genX_state_util.h