anv: Add the pci_id into the shader cache UUID

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 14 April 2017 20:41 EDT

This prevents a user from using a cache created on one hardware generation on a different one. Of course, with Intel hardware, this requires moving their drive from one machine to another but it's still possible and we should prevent it.

d2d6cf6 anv: Add the pci_id into the shader cache UUID
src/intel/vulkan/anv_device.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share