OSDN Git Service

vk: Refactor anv_image_make_surface()
authorChad Versace <chad.versace@intel.com>
Mon, 14 Sep 2015 17:58:43 +0000 (10:58 -0700)
committerChad Versace <chad.versace@intel.com>
Mon, 14 Sep 2015 18:00:18 +0000 (11:00 -0700)
commite01d5a0471bdf7e679eb576da2706e5436695fe9
tree905a0bdef32a7b06ce07ecd263c276a0eec89788
parent8c8ad6dddf127e7a4facd40ec378a93a5719e5b1
vk: Refactor anv_image_make_surface()

Move the code that calculates the layout of 2D surfaces into a switch case.
src/vulkan/anv_image.c