anv/pipeline: Assume layout != NULL
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 6 Nov 2019 17:19:00 +0000 (11:19 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Mon, 18 Nov 2019 18:35:14 +0000 (18:35 +0000)
commitabfd4651ed683dec2cd11c15f9ce95e0a31fa72c
treeb97f635ff71f02c7059958bbca71e81571356ffa
parent59623f211bd7f43976d7ec27521d50a58bca5e79
anv/pipeline: Assume layout != NULL

In the early days of the driver we allowed layout to be VK_NULL_HANDLE
and used that for some internal pipelines when we wanted to be lazy.
Vulkan doesn't actually allow NULL layouts, however, so there's no
reason to have this check.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_pipeline.c