mesa/src
Niklas Haas 804cc44d09 radv: add device->instance extension dependencies
From the vulkan spec 33.3 "Extension Dependencies":

"Any device extension that has an instance extension dependency that is
not enabled by vkCreateInstance is considered to be unsupported, hence
it must not be returned by vkEnumerateDeviceExtensionProperties for any
VkPhysicalDevice child of the instance."

Therefore we need to check whether the instance-level extensions are
actually enabled when deciding to support a device-level extension or
not.

Furthermore, we need to do this for all instance-level extensions of any
(transitive) device-level extension dependency, due to the following
paragraph:

"If an extension is supported (as queried by
vkEnumerateInstanceExtensionProperties or
vkEnumerateDeviceExtensionProperties), then required extensions of that
extension must also be supported for the same instance or physical
device."

Finally, because some of these vulkan extensions may be implicitly
promoted to future vulkan core API versions, we can also satisfy the
dependency if the vulkan API version is high enough.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2019-01-27 13:50:35 +01:00
..
amd radv: add device->instance extension dependencies 2019-01-27 13:50:35 +01:00
broadcom v3d: Add support for CS barrier() intrinsics. 2019-01-14 15:40:55 -08:00
compiler glsl: fix block member alignment validation for vec3 2019-01-27 03:00:03 -05:00
egl mapi: move genCommon.py to src/mapi/new 2019-01-24 18:13:25 +00:00
freedreno freedreno: automake: ship ir3_nir_trig.py in the tarball 2019-01-24 18:13:24 +00:00
gallium st/nine: Enable debug info if NDEBUG is not set 2019-01-26 19:53:19 +01:00
gbm meson: Add tests to suites 2018-11-20 09:09:22 -08:00
getopt
glx glx: add support for putimageshm2 path (v2) 2019-01-25 04:27:45 +10:00
gtest meson: hide warnings from external project gtest 2018-10-31 18:20:25 +00:00
hgl
intel intel/compiler: Add a file-level description of brw_eu_validate.c 2019-01-26 10:33:22 -08:00
loader loader: fix the no-modifiers case 2019-01-22 16:33:27 -05:00
mapi mapi: print function declarations for shared glapi 2019-01-25 13:04:04 -08:00
mesa i965: Always compile fp64 funcs when needed 2019-01-26 10:33:22 -08:00
util gallium: Enable ASIMD/NEON on aarch64. 2019-01-24 11:07:24 -08:00
vulkan vulkan: make generated enum to strings helpers available from c++ 2019-01-22 18:20:53 +00:00
Makefile.am freedreno: move drm to common location 2018-11-27 15:44:02 -05:00
meson.build TODO: glx: meson: build dri based glx tests, only with -Dglx=dri 2018-12-12 17:47:36 +00:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00