OSDN Git Service

anv/entrypoints: Save off the entire devinfo rather than a pointer
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 7 Oct 2016 00:16:51 +0000 (17:16 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 7 Oct 2016 04:13:52 +0000 (21:13 -0700)
commit82b4f1c47b1d6ca326dbd863253d89337f565309
treeb493201125553391c1a0787c1d4c64788d9df0e1
parent85a47f647e140fd2b43bda917795145f047032d1
anv/entrypoints: Save off the entire devinfo rather than a pointer

Since the gen_device_info structs are no longer just constant memory, a
pointer to one is not a pointer to something in the .data section so we
shouldn't be storing it in a static variable.  Instead, we should just
store the entire device_info structure.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_entrypoints_gen.py