OSDN Git Service

anv/cmd_buffer: Properly handle render passes with 0 attachments
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 11 Jul 2017 22:47:36 +0000 (15:47 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 17 Jul 2017 15:18:46 +0000 (08:18 -0700)
commitbd41564746ca4f4bd46185b99754eaa012c359e5
tree3bb0ba552ba8961d996299c7b023dff799fcef4b
parentc62809171c9593b10c1205ea9bf3484b37245965
anv/cmd_buffer: Properly handle render passes with 0 attachments

We were early returning and never created the NULL surface state.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: James Legg <jlegg@feralinteractive.com>
Cc: mesa-stable@lists.freedesktop.org
src/intel/vulkan/genX_cmd_buffer.c