vk: Add generic wrapper for filling out buffer surface state
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Wed, 19 Aug 2015 23:01:33 +0000 (16:01 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Mon, 24 Aug 2015 20:45:40 +0000 (13:45 -0700)
commit8fe74ec45c93b3ec64243f351a7e2173a76cf788
tree518a727aca3e079b943d1b9f249c80a567d7ddc7
parenta2b822185ecc8868e1cccfaa98f16129f36c686b
vk: Add generic wrapper for filling out buffer surface state

We need this for generating surface state on the fly for dynamic buffer
views.

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
src/vulkan/anv_cmd_buffer.c
src/vulkan/anv_device.c
src/vulkan/anv_private.h