vk: Use a separate block pool and state stream for binding tables
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 May 2015 02:56:32 +0000 (19:56 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 May 2015 03:57:43 +0000 (20:57 -0700)
commit923691c70dc647ea6a10766f58d4f6d56b547c43
tree74d1c37a7879ad9d841a5ffb4e0127fdfb6063f2
parentd24f8245db3418d8d146f373e085780d2217335c
vk: Use a separate block pool and state stream for binding tables

The binding table pointers packet only allows for a 16-bit binding table
address so all binding tables have to be in the first 64 KB of the surface
state BO.  We solve this by adding a slave block pool that pulls off the
first 64 KB worth of blocks and reserves them for binding tables.
src/vulkan/device.c
src/vulkan/private.h