Commit Graph

11 Commits

Author SHA1 Message Date
Nicolas Caramelli 33adf476d6 loader: Add support for directfb surface extension
The new VK_EXT_directfb_surface extension is a WSI extension and
thereforce needs loader support like the other surface extensions.
2020-07-07 10:33:54 -06:00
Shannon McPherson 11b1c661b7 build: Update known-good for 1.2.135 header
Updated `CMakeLists.txt` and `common_codegen.py` to allow access to beta
types and commands when including `vulkan.h`. Generated new loader
header files.

Change-Id: I7241ff08cf9d70cd22472735f53d8f6d72fb8a46
2020-03-17 15:20:26 -06:00
Mike Schuchardt 1d9aa51c78 scripts: Port master codegen script from VVL 2019-07-19 10:36:03 -07:00
Mike Schuchardt 5a735ce511 scripts: Update known-good for 1.1.106 header
Changes:
- Integrate upstream script changes: We have to plumb-through the new
conventions object to continue using the makeCParamDecl utility function
- Add GGP to available platforms
- Add handling for extension dependencies: Previously, the codegen for
loader trampolines could not handle an extension command that depends on
more than one extension being present. This removes that limitation
- Add checks for device extensions: This adds a check for two functions
at device creation time:
  * VK_KHR_device_group
  * VK_EXT_full_screen_exclusive
The loader needs to know about these extensions for proper handling
of the vkGetDeviceGroupSurfacePresentModes2EXT terminator
- Update known-good file

Updated:
- `loader/loader.c`
- `loader/loader.h`
- `scripts/common_codegen.py`
- `scripts/dispatch_table_helper_generator.py`
- `scripts/helper_file_generator.py`
- `scripts/known_good.json`
- `scripts/loader_extension_generator.py`
- `scripts/loader_genvk.py`

Change-Id: I9f0828a8eee0e8e95b479e1b8feb31acaa10040d
2019-04-08 16:38:37 -06:00
Shannon McPherson 0ebf63b7f6 build: Correct Metal platform name
In `common_codegen.py`, the Metal platform was defined without the
"_EXT" suffix

Change-Id: Ied604c46b55c669567517f5b2b7613d8c7f8ae64
2019-03-06 11:46:14 -07:00
Shannon McPherson 10de4385cc build: Update known-good for 1.1.102 header
Additionally, updated copyright dates and added Metal to the platform
list

Updated:
- `scripts/common_codegen.py`
- `scripts/known_good.json`

Change-Id: I54718d18bff98f24b79d6d7bdf075698f7689885
2019-03-05 13:07:21 -07:00
Lenny Komow 290581f9d0 scripts: Remove Mir exceptions from codegen
Change-Id: Ief43a6294c4cd1a9397d6c6630bb0319c62f387c
2018-11-06 14:49:42 -07:00
Shannon McPherson 1b00177cb5 scripts: Add fuchsia to platform dictionary
Change-Id: I229825efa86109e3e24de722fac52179963d3e70
2018-10-09 16:22:03 -06:00
Lenny Komow 92e3fcf041 scripts: Remove unused scripts
There were numerous scripts in this repo that weren't used, but were
inherited from the old Vulkan-LoaderAndValidationLayers repo. Most
of them were validation layer codegen, but there were also some
utilities for dealing with glslang and spriv-tools.
2018-05-17 09:33:40 -06:00
Mike Schuchardt aad2ea9e1d scripts: Fix xlib_xrandr platform name
Change-Id: I3aa8e929d394322ebfcfbf2a59846b2adae057e3
2018-03-09 13:54:31 -07:00
Mark Lobodzinski cd868b5d32 scripts: Update generators for 1.1 2018-03-09 13:54:31 -07:00