anv: Add pipeline_has_stage guards a few places
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 25 Aug 2016 19:22:28 +0000 (12:22 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 Aug 2016 22:08:23 +0000 (15:08 -0700)
commit13c09fdd0cfb62f3f45c39ad01a1c8f4b37c9c19
tree8ce5831819f8a7127beb5173c2d0d16b0e6debe4
parentb259d86ad62503dfb3a18e501fb5ddff2c5c099a
anv: Add pipeline_has_stage guards a few places

All of these worked before because they were depending on prog_data to be
null.  Soon, we won't be able to depend on a nice prog_data pointer and
it's nice to be more explicit anyway.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_cmd_buffer.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_l3.c
src/intel/vulkan/genX_pipeline_util.h