vk: Set cb_state to NULL at cmd buffer create time
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Wed, 3 Jun 2015 05:51:42 +0000 (22:51 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Wed, 3 Jun 2015 05:57:42 +0000 (22:57 -0700)
commit5744d1763c8a094c5141f37c2affe24f5feb63f9
treeee9e00a6d436307a738ea9658f300f90e7d8f396
parentc8f078537e66ee4eba28bd5e381ef8a1a679f1be
vk: Set cb_state to NULL at cmd buffer create time

Dynamic color/blend state can be NULL in case we're not rendering to
color targets (only output to depth and/or stencil). Initialize
cmd_buffer->cb_state to NULL so we can reliably detect whether it's been
set or not.
src/vulkan/device.c