anv: Take references to push descriptor set layouts
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Feb 2019 21:19:57 +0000 (15:19 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 5 Mar 2019 16:06:50 +0000 (10:06 -0600)
commit5c30fffeec1732c21d600c036f95f8cdb1bb5487
treebba58e4766214ec701aff6b60dd54ac2c9d3d814
parent8ab95b849e66f3221d80a67eef2ec6e3730901a8
anv: Take references to push descriptor set layouts

Technically, descriptor set layouts aren't required to survive past the
function they're passed into so we need to reference them.

Cc: "19.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_cmd_buffer.c