anv: Only parse pImmutableSamplers if the descriptor has samplers
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 19 Jan 2019 15:40:12 +0000 (09:40 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 21 Jan 2019 17:45:58 +0000 (11:45 -0600)
commitc7f4a2867ce492d78c1f8e2870c0a593d280572d
tree9061f7464331390e4756acceef5f502d35d473e5
parentf0ba8260541f6eac7ce88e4d72f9c2b955f5e3ea
anv: Only parse pImmutableSamplers if the descriptor has samplers

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/vulkan/anv_descriptor_set.c