layers: indirect GPA in dispatch table
authorMike Stroyan <mike@LunarG.com>
Wed, 8 Apr 2015 16:31:48 +0000 (10:31 -0600)
committerChia-I Wu <olv@lunarg.com>
Thu, 16 Apr 2015 09:48:21 +0000 (17:48 +0800)
commit411a5237821fb6d150708d65289d0aae5393501f
tree4a1d661b329d9563e0e4cbbd89df7bd10daf6d7e
parenta1e75fafab511c128d364dfccec6f9afc24ed8f1
layers: indirect GPA in dispatch table

layer_initialize_dispatch_table was using gpa pointer without lookup.
That could put the loader GPA function in for the lowest dispatch table
instead of the icd GPA function.
Use the same return from GPA call for GPA itself.
There was code fixing up GPA dispatch in draw_state.cpp and mem_tracker.cpp.
Remove that now that layer_initialize_dispatch_table does the right thing.
layers/draw_state.cpp
layers/mem_tracker.cpp
vk-generate.py