anv/image: Break surface state fill logic into a helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 11 Jul 2017 17:06:36 +0000 (10:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Sep 2017 00:21:06 +0000 (17:21 -0700)
commit22e6858b2b1c76463072393412fb5085bb4ed157
tree4f7ead6cd6a82a3fb5ea4084ff360cf6d3c5fcf7
parentc7716718ace83545844cfd042987fb693085fed6
anv/image: Break surface state fill logic into a helper

This gives us a single centralized place where we take an image view and
use it to fill out a surface state.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c