Don't abort when drivers don't support WSI calls
authorCharles Giessen <charles@lunarg.com>
Mon, 10 Oct 2022 18:24:58 +0000 (12:24 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Mon, 10 Oct 2022 20:54:07 +0000 (14:54 -0600)
commitcb519989cdddf50ba391c8a854c197cf59bb63ab
treee91091aca37dd18e597dd1349b3d3b79971ab0be
parent6c6453713574126835f6946c03127adcb1e93dca
Don't abort when drivers don't support WSI calls

Instance extensions are aggregated, therefore an application has no way of
knowing whether an ICD supports a WSI function or not. This necessitates
returning instead of aborting from WSI functions, as well as writing 0,
NULL, or returning false as needed for each function. This also needs
additional NULL checks before calling down into the driver.
loader/wsi.c
tests/loader_wsi_tests.cpp