vk: Stream surface state instead of using the surface pool
authorKristian Høgsberg <kristian.h.kristensen@intel.com>
Tue, 19 May 2015 21:14:24 +0000 (14:14 -0700)
committerKristian Høgsberg <kristian.h.kristensen@intel.com>
Thu, 21 May 2015 03:34:52 +0000 (20:34 -0700)
commita1bd426393fb24a53d2cb180b21db4473ed71330
treedbe7d3cc6a6a8b21b648db27d37cffa8786be4c3
parent01504057f5a456bd9d2fc8ed969eda05421d3ebc
vk: Stream surface state instead of using the surface pool

Since the binding table pointer is only 16 bits, we can only have 64kb
of binding table state allocated at any given time. With a block size of
1kb, that amounts to just 64 command buffers, which is not enough.
src/vulkan/aub.c
src/vulkan/device.c
src/vulkan/meta.c
src/vulkan/private.h