loader: ghlvl#79, Fix to not report unsupported WSI surface extensions on Linux
authorJon Ashburn <jon@lunarg.com>
Fri, 25 Mar 2016 18:49:35 +0000 (12:49 -0600)
committerJon Ashburn <jon@lunarg.com>
Fri, 25 Mar 2016 19:37:03 +0000 (13:37 -0600)
commit67b59972f35f2bad19a9fde9d58e85d1a75039a7
tree5aaef9f2572d939943fd0039f8090ac298965e04
parent78e6548c3e5777ff03c8b473d4c1aa9e08e4d78d
loader: ghlvl#79, Fix to not report unsupported WSI surface extensions on Linux

Also fix issue where loader would advertise support for these extensions even if
the ICD or layers doesn't support it.  Now ICD must report surface extensions
for the loader to report them.  And on Linux if loader support for a given
surface extension (eg Mir) is compiled out then loader doesn't report it.

Change-Id: I51e302a32f5431f4893a3795ff31be60e9263f43
loader/loader.c
loader/wsi.c
loader/wsi.h