anv/cmd_buffer: Handle running out of binding tables in compute shaders
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Nov 2016 04:17:24 +0000 (20:17 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Nov 2016 16:06:33 +0000 (08:06 -0800)
commit722ab3de9f0e30e1dfbbd2b5217330b85f53bcec
tree7b01c1274a0ef219c599456f2d50f7d48ef4724f
parenta8ef92b031729fca86f8615d0ca113ddf0965af9
anv/cmd_buffer: Handle running out of binding tables in compute shaders

If we try to allocate a binding table and fail, we have to get a new
binding table block, re-emit STATE_BASE_ADDRESS, and then try again.  We
already handle this correctly for 3D and blorp but it never got handled for
CS.  This fixes the new stress.lots-of-surface-state.cs.static crucible test.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/genX_cmd_buffer.c