anv/cmd_buffer: Add an assert on emit_binding_table failure
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Nov 2016 16:11:45 +0000 (08:11 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Nov 2016 16:50:27 +0000 (08:50 -0800)
commit3ef8dff865fd7365ba36b49c43b5c858d26587ed
tree458e7d66a4e25fe0f985b88a4ca5657d452672f5
parentd9a3ad94cac34c51603660af6647290d238f64bc
anv/cmd_buffer: Add an assert on emit_binding_table failure

The != VK_SUCCESS case is really only capable of handling the one error.
This assert makes things a bit safer if something else goes wrong.

Suggested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/genX_cmd_buffer.c