Commit Graph

17 Commits

Author SHA1 Message Date
shegangbin 5985354d40 standardize OH extension api
Signed-off-by: shegangbin <shegangbin1@huawei.com>
Change-Id: I854a1a67f1337482279c300dcc37f6637c638f7e
2023-06-19 11:42:13 +08:00
andrew0229 2dd5247186 add openharmony build;add OpenHamrony extension manual, but need generated
Signed-off-by: andrew0229 <zhangzhao62@huawei.com>
2023-03-02 12:30:20 +00:00
Shannon McPherson 9a160725b9 build: Update known-good files for 1.2.171 header
Changes:
- Updated `known_good.json`
- Generated new source files
- Added `VK_USE_PLATFORM_SCREEN_QNX` to platform list in
`common_codegen.py`

Change-Id: I2ef49799434ff31ff81680413a8700caea46593c
2021-03-02 15:40:45 -07:00
Shannon McPherson eecd1d9608 scripts: Update copyright in common_codegen.py
Change-Id: Id5049a260cb8521a1768b6b48b36bdef825e5508
2021-03-02 15:40:45 -07:00
Nicolas Caramelli 96d49674ea Remove duplicate key / value in scripts/common_codegen.py 2020-07-07 15:32:40 -06:00
Shannon McPherson 2962b443ae build: Update known-good files for 1.2.146 header
Changes:
- Updated `known_good.json`
- Generated new source files

Change-Id: Ifbd578d254d544a454e7e84738330eae9983c462
2020-07-07 11:45:02 -06:00
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