Commit Graph

12 Commits

Author SHA1 Message Date
Shannon McPherson 16869d0219 build: Update known-good files for 1.2.145 header
Changes:
- Updated `known_good.json`
- Propagated `loader_genvk.py` changes
- Modified scripts to accommodate new genvk functionality
- Generated new source files

Change-Id: If54251171bb3c70cef305d1e954aa02124432106
2020-06-22 11:08:36 -06:00
Shannon McPherson b3998208cf build: Fix loader_genvk.py error logging
A modification to one line of code was missed when updating the loader
genvk file for the 1.2.140 header update and when the change was
incorporated it exposed the newly added `logDiag` function which can be
found in `reflib.py` in Vulkan-Docs. Instead of adding another script to
the Loader repo, `write` functionality was reinstated in
`loader_genvk.py`.

Change-Id: Idf792b24c86120a8c278f46ac8a47013c4c37f16
2020-05-05 11:02:53 -06:00
Shannon McPherson 6b08b5a360 build: Update known-good for 1.2.140 header
Changes:
- Updated `known_good.json`
- Propagated `loader_genvk.py` changes
- Generated new source files
- Modified `.gitattributes` to ensure generated source files should
always have LF line endings because that is how it will be generated on
all platforms going forward. Upstream change in Vulkan-Docs explicitly
generates code with LF line endings.
- Removed automatic CRLF to LF conversion git setting in `.appveyor.yml`

Change-Id: I1ca36b80dfabe83fa16e36116d1ad43c0a65ff78
2020-05-04 13:44:54 -06:00
Mike Schuchardt 5e50026d7e scripts: Remove bogus helper file generator opts 2019-07-19 10:36:03 -07:00
Mike Schuchardt 1d9aa51c78 scripts: Port master codegen script from VVL 2019-07-19 10:36:03 -07:00
Mike Schuchardt 22e7249be5 scripts: Temporary workaround for python2
Temporarily patch abc module with ABC helper class until upstream
conventions.py script stops using it.
2019-05-13 07:49:06 -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
Mike Schuchardt bbe3fc14f1 scripts: Merge upstream changes to genvk.py 2019-01-18 08:35:24 -08:00
Mark Young 2f02c8cb29 loader: Fix python3 warning
Python 3.8 will remove time.clock() and the warnings suggest that
time.process_time() or time.perf_counter() should be used instead.
So, move the script to using time.process_time().

Change-Id: I982da1560adec4aab49f42936334e520456647c1
2018-11-01 13:31:12 -06:00
Michał Janiszewski a078725b1f scripts: Compare to None using is operator
This is a trivial change that replaces `==` operator with `is` operator, following PEP 8 guideline:

> Comparisons to singletons like None should always be done with is or is not, never the equality operators.

https://legacy.python.org/dev/peps/pep-0008/#programming-recommendations

Change-Id: I4f9f6c921e4158365d4e41965bfcd43b7a3c07e0
2018-11-01 13:26:26 -06:00
Mark Young 9bceaac243 docs: Remove references to old repo
Remove references to the old repo. Also, remove ninja build steps
since they are no longer valid.

Change-Id: I4a963ec7dc49af2d7d0d186079f0aee78d110d70
2018-06-05 09:49:17 -06:00
Lenny Komow edb36ae565 repo: Remove Vulkan-Headers submodule
Change-Id: I84ec2f2c07482685a275ca2d1804359f09321bad
2018-06-01 16:44:02 -06:00