anv: strdup the device path into the physical device
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 24 May 2016 18:02:18 +0000 (11:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 28 May 2016 00:18:33 +0000 (17:18 -0700)
commite023c104f738d030c21a519e805705961e4ccf46
treed773c1ffee4cba36a83d6d156ee590d6702b83f9
parent9048dee32837d281fe7aee5fe34c438fa95ac9d2
anv: strdup the device path into the physical device

This way we don't have to assume that the string coming in is a piece of
constant data that exists forever.
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h