Commit Graph

437 Commits

Author SHA1 Message Date
Mike Schuchardt cc3faa040b build: Update to header 1.2.184
- Update known-good
- Generate source

Change-Id: Ib2cfed88095541a127c23cf7418e9a66d81bd35e
2021-07-06 14:00:46 -06:00
Mike Schuchardt de73b4f7eb build: Update to header 1.2.183
- Update known-good
- Generate source (no change)

Change-Id: I059e6c2d8430228b4f20cadb83929b220efa5d0d
2021-06-30 15:37:42 -06:00
Mike Schuchardt 1ff4c76125 build: Update to header 1.2.182
- Update known-good
- Disable codegen for VK_HUAWEI_subpass_shading
  https://github.com/KhronosGroup/Vulkan-Docs/issues/1564
- Generate source

Change-Id: If59954254bdf433bd5171f2a63cad88e34069c89
2021-06-21 10:07:16 -07:00
Mike Schuchardt 0907c364e9 build: Update to header 1.2.181
- Update known-good
- Generate source (no change)

Change-Id: I7aed911c95d3faa89f7cd012ce56ccde00927943
2021-06-14 12:31:20 -06:00
Mike Schuchardt 869a866fa9 build: Update to header 1.2.180
- Update known-good
- Generate source (no change)

Change-Id: I56d4483f777754c9e368ac9b0025d550070fdd83
2021-06-07 14:43:14 -06:00
Mike Schuchardt 71984dc207 build: Update to header 1.2.179
- Update known-good
- Generate source (no change)

Change-Id: Ib52dc0ff04f76fd1db2dea4a125a094d30abab62
2021-05-24 12:25:00 -06:00
Mike Schuchardt 4dfe247549 build: Update to header 1.2.178
- Update known-good
- Generate source

Change-Id: I3e2756d9dc0452cc3743a05840d8e2a76961406a
2021-05-11 12:43:53 -07:00
Mike Schuchardt 19c6560149 build: Update to header 1.2.177
- Update known-good
- Generate source (no changes)

Change-Id: I45f5702a6c975aa423b03f2e02fd19fca92d50d2
2021-04-29 10:49:58 -07:00
Mike Schuchardt 80f0954864 scripts: Switch from mkpath to makedirs
distutils.dir_util.mkpath will not re-create a directory if it has been
removed with shutil.rmtree because it caches the filesystem under the
hood. This was causing the clone retry to fail on the second iteration
every time.

Switch to using os.makedirs for equivalent functionality without the
cache.
2021-04-29 09:11:03 -07:00
Mike Schuchardt 6594b39ff6 build: Update to header 1.2.176
- Update known-good
- Generate source
- Fix version parsing in FindVulkanHeaders.cmake
- Add to VK_ENABLE_BETA_EXTENSIONS to GN build to pick up beta
  VkObjectType values

Change-Id: Ied4e4e71017e48d344b1c9cacf037ae989aceec9
2021-04-20 09:45:05 -07:00
Mike Gorchak ff7918e9a0 Add support for QNX platform. 2021-04-06 14:52:51 -06:00
Mike Schuchardt 2a1867df69 build: Update to header 1.2.174
- Update known-good
- Generate source (no changes)

Change-Id: Ia2099a0d63692c19ce8444721d5eb25f94c809d9
2021-03-29 13:05:47 -07:00
Mike Schuchardt 0dd217944b build: Update known-good files for 1.2.173 header
- Update known_good.json
- Generate source files
2021-03-23 13:37:52 -07:00
Shannon McPherson 1fbb5fc294 build: Update known-good files for 1.2.172 header
Changes:
- Updated `known_good.json`

Change-Id: I7977f22711cefae65e6eabe00ec44d9e43e890a5
2021-03-10 08:56:41 -08: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
Jeremy Gebben 47e0359285 build: Update known-good files for 1.2.170 header
Changes:
- Updated `known_good.json`
- Generated new source files

Change-Id: I98c582a8cad9ffbdda5a1b2ffa5517b866803047
2021-02-15 11:58:50 -07:00
Shannon McPherson 0ff2683cfc build: Update known-good files for 1.2.169 header
Changes:
- Updated `known_good.json`

Change-Id: Iaf11b12afdcd11b06ebce4b66a0b56b2b097522f
2021-02-08 14:34:38 -07:00
Shannon McPherson a0fe93c79c build: Update known-good files for 1.2.166 header
Changes:
- Updated `known_good.json`

Change-Id: Idf48ead0a4cad20ec6f1675741be0ebae45770a0
2021-01-05 10:45:38 -07:00
Shannon McPherson 5ecdd78cdf build: Update known-good files for 1.2.165 header
Changes:
- Updated `known_good.json`
- Generated new source files

Change-Id: I5156923b1d3fb96d9e4fbe8dddb533f93561adfd
2020-12-19 18:07:29 -07:00
Shannon McPherson 5341556e46 build: Update known-good files for 1.2.162 header
Changes:
- Updated `known_good.json`
- Generated new source files

Change-Id: Ic0f414ccf230314fa648abbb00da9509e1389a31
2020-11-23 09:19:03 -07:00
J.D. Rouan 1eaf7849ba Add GGP WSI platform support to Vulkan-Loader
Add GGP WSI platform support to Vulkan-Loader. GGP is Google Games
Platform, the platform for Stadia.
2020-11-23 09:12:55 -07:00
Mike Schuchardt 9ad2bdd5b3 scripts: Add default return type for VkDeviceSize 2020-11-23 09:08:28 -07:00
Shannon McPherson 28a1bf338e build: Update known-good files for 1.2.161 header
Changes:
- Updated `known_good.json`

Change-Id: Ib6f5ff539b627b6978e81e6247ecfdeee1506c1f
2020-11-16 12:55:26 -07:00
Shannon McPherson 4117c855ef build: Update known-good files for 1.2.160 header
Changes:
- Updated `known_good.json`
- Generated new source files

Change-Id: I8afe698dd58a062d28f40a49f51cfa6c19409387
2020-11-10 11:07:08 -07:00
Shannon McPherson 0e3dd70633 build: Update known-good files for 1.2.159 header
Changes:
- Updated `known_good.json`

Change-Id: I7c30f49ac3514e8c3dd1866b07bf3bc3ee2fe55e
2020-11-02 11:46:58 -07:00
Shannon McPherson 8bc3ef9763 build: Update known-good files for 1.2.158 header
Changes:
- Updated `known_good.json`
- Generated new source files

Change-Id: I5f06eec6afb61bac576cbad3e6e6982c0bd0440c
2020-10-27 11:11:32 -06:00
Craig Stout c6ed84db5b Add support for VK_FUCHSIA_imagepipe_surface 2020-10-26 17:59:09 -06:00
Shannon McPherson b0fbde85c9 build: Update known-good files for 1.2.157 header
Changes:
- Updated `known_good.json`

Change-Id: I7705cbe942a67c7b915349a1c34c7615d1dc4691
2020-10-12 14:37:47 -06:00
Shannon McPherson c189cf570c build: Update known-good files for 1.2.156 header
Changes:
- Updated `known_good.json`

Change-Id: Iefcdd52d8021515764d644ca86b0c5cd3dce8e16
2020-10-06 10:47:13 -06:00
Shannon McPherson aa5b9e93d7 build: Update known-good files for 1.2.154 header
Changes:
- Updated `known_good.json`
- Generated new source files

Change-Id: I909289d4e1523ed32aa62516a4725a2ff2df4f65
2020-09-21 10:42:38 -06:00
Shannon McPherson 057703acae build: Update known-good files for 1.2.153 header
Changes:
- Updated `known_good.json`

Change-Id: I54f79fa08f65ff333ab47b651939dfd05b3c5094
2020-09-07 13:37:45 -06:00
Shannon McPherson 43e5e8ee1b build: Update known-good files for 1.2.152 header
Changes:
- Updated `known_good.json`

Change-Id: Ia6090de3d029dd2bf96a8d745d3c95461fd31bd6
2020-08-27 14:30:15 -06:00
Shannon McPherson 1cb7306171 build: Update known-good files for 1.2.151 header
Changes:
- Updated `known_good.json`

Change-Id: I1b10c8c50ddbdafc545b5cf8b41e28f5fe79efbd
2020-08-17 11:41:19 -06:00
Shannon McPherson da2efc8fe9 build: Update known-good files for 1.2.150 header
Changes:
- Updated `known_good.json`

Change-Id: I39f42dafe28afcec9b1fa8c9966d108fb7e703b9
2020-08-14 10:40:31 -06:00
Shannon McPherson 7423194f27 build: Update known-good files for 1.2.148 header
Changes:
- Updated `known_good.json`

Change-Id: Ib18f665a1782af4cd9e34923de67b7c3b7ad8393
2020-07-20 12:36:53 -06:00
Bob Ellison e1688b08bb scripts: fix update_deps retry clone
There was a subtle bug in the original change; "git fetch"
would retry correctly, but "git clone" failed because the
destination directory was missing (after having been removed,
to ensure a clean clone operation).

The test case that was used (hundreds of times) happened to
provoke an error on the "git fetch" path; I was unaware that
the "git clone" failure path had never been exercised.
2020-07-15 18:29:58 -06:00
Shannon McPherson 5c2c66e649 build: Update known-good files for 1.2.147 header
Changes:
- Updated `known_good.json`

Change-Id: I2309eef9e654cdca58770161a9397929a0b23de8
2020-07-14 14:29:06 -06:00
Bob Ellison 2716ba1248 scripts: udpate_deps retry on clone or fetch failure
Duplicate change from b636386a7824eb4e6a0d99962e1491ac68d3a295
on KhronosGroup/Vulkan-ValidationLayers, to keep update_deps.py
in sync across all repos.  Original commit message is:

We see spurious failures to connect to github when trying to
run update_deps.py (up to 7% of runs, depending on the machine).
This is an annoyance when running by hand, but a headache and
a serious resource waste when running in automation (as a single
broken "git clone" or "git fetch" can cause the whole run to fail).

These changes allow update_deps.py to automatically retry
"git fetch" and "git clone" operations on failure.

These changes will be duplicated in follow-on PRs to the
other repositories that include "update_deps.py", to keep
them all in sync. These are KhronosGroup/Vulkan-Tools,
KhronosGroup/Vulkan-Loader, LunarG/VulkanSamples, and
LunarG/VulkanTools.

I'm also including a "technical debt" update here, because
VulkanTools/scripts/update_deps.py had diverged from the other
"update_deps.py" versions, to add a way to avoid building a
dependency if that dependency is not supported on the current
build platform. This should be harmless to the other
repositories (though potentially useful in the future). The
original commit was aaabc9df034f1fdf9a976a6293d0983b079143ee
with description:

    In update deps, this will check that a dependency is actually supported
    on the platform being built. This is needed because the loader is a
    dependency on all platforms other than Windows.
2020-07-13 13:19:56 -06: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 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
dan sinclair a7bedea290 scripts: Use named params for generator options
When calling in the vulkan header python generator the options have
changed in 1.2.142 which causes the options passed by the loader to be
off by one. This ends up setting the emitExtensions to the value of the
sortProcedure and eventually causes the script to fail.

This CL updates the loader to used named parameters for the generator so
that the addition of the genpath does not throw off the parameter
positioning.

Change-Id: I14fda7e90be985216c5243457a22fdcb01b5c82b
2020-06-09 16:24:23 -06:00
Shannon McPherson f6e909f8e3 Build: Update known-good files for 1.2.141 header
Change-Id: Ib5f2fab581fb98fa1391c8fde1009bb8bd1c09c7
2020-05-26 10:50:54 -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
Shannon McPherson e37796212e build: Update known-good for 1.2.137 header
Updated `known_good.json` and generated new source files

Change-Id: If8edd83ec20ef78e0067a43d5acbee80cfe00ead
2020-04-08 15:52:42 -06:00
Charles Giessen 7be32aa141 scripts: stubs in dispatch table lacked matching return types
Generated functions stubs had either a return type of void or
VkResult. Recent vulkan extensions had functions which returned
uint32_t, uint64_t, and VkDeviceAddress. The
dispatch_table_helper_generator didn't account for this and GCC would
complain about mismatching types. While likely not an issue, it did
create very noisy builds.

Modified files:
	loader/generated/vk_dispatch_table_helper.h
	scripts/dispatch_table_helper_generator.py

Change-Id: Iba229093461b75fd6ccd195cf60e200a22b8678f
2020-03-23 12:50:07 -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