OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 1 Sep 2016 10:39:47 +0000 (11:39 +0100)
commit2566315063715cc9153a48e44f26e8ba9eb955ac
treec9fe7865376837ede0b6e058c50cb47fd4ddd646
parentb529a77d79a68d5ff89e188f9564b47b1ee8487a
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>
(cherry picked from commit 13c09fdd0cfb62f3f45c39ad01a1c8f4b37c9c19)
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