anv: Be more careful about hashing pipeline layouts
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 30 Jun 2018 03:03:49 +0000 (20:03 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 2 Jul 2018 20:07:06 +0000 (13:07 -0700)
commitd1c778b362d3ccf203f33095bee2af45dc8cde9a
treed133cce30cc718f6fb50b783cb9b5b5dc4d43c75
parent06412bfc9869247f33b6bba8e256cf33f71f6973
anv: Be more careful about hashing pipeline layouts

Previously, we just hashed the entire descriptor set layout verbatim.
This meant that a bunch of extra stuff such as pointers and reference
counts made its way into the cache.  It also meant that we weren't
properly hashing in the Y'CbCr conversion information information from
bound immutable samplers.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/intel/vulkan/anv_descriptor_set.c