Commit Graph

481 Commits

Author SHA1 Message Date
Mike Schuchardt 9b812aaf39 build: Update to header 1.3.211
- Update known-good
- Generate source
2022-04-05 10:27:27 -07:00
Mike Schuchardt 8e75084ccc build: Update to header 1.3.210
- Update known-good
- Generate source
2022-04-01 10:55:08 -07:00
unknown 36567bdade Fixup several small issues found by Visual Studio
The VS Analyzer went through the codebase and pointed out a dozen warnings and
one possible crash.
2022-03-30 10:06:23 -06:00
Charles Giessen c5c8d7296b Enable /W4 errors and support clang-cl
Enable /W4 errors on MSVC and fix all corresponding errors.

Refactor the CMakeLists.txt to allow for compiling with clang-cl. This required
figuring out that -Wall -Wextra mangle the set of warnings used. The solution
is to use /W4 instead when compiling with clang-cl on Windows.
2022-03-29 16:10:30 -06:00
Mike Schuchardt 55e8464ae3 build: Update to header 1.3.209
- Update known-good
- Generate source
2022-03-23 11:28:44 -06:00
Mike Schuchardt 3ba725f1b7 build: Update to header 1.3.208
- Update known-good
- Generate source
2022-03-15 12:06:40 -07:00
Charles Giessen dec1fcac60 Remove hasing of unknown functions
Use a simple linear search instead. This greatly simplifies the logic and
reduces the places for the logic to go awry.
2022-03-14 23:31:26 -06:00
Mike Schuchardt d9792bc944 build: Update to header 1.3.207
- Update known-good
- Generate source
2022-03-08 10:32:42 -08:00
Mike Schuchardt b033c4117b build: Update to header 1.3.206
- Update known-good
- Generate source
2022-02-18 10:04:25 -08:00
Mark Young 4e6194bf5b Update loader VUID messages
Update the loader VUID messages that were added in validating handles
so that thye include the validation flag when going through debug utils
messenger.
2022-02-09 13:19:48 -07:00
Mike Schuchardt 3b768f1b31 build: Update to header 1.3.205
- Update known-good
- Generate source
2022-02-07 10:26:31 -08:00
Kevin McCullough cbc39df8fd Add VK_NN_vi_surface to WSI extension names array 2022-01-25 19:34:27 -07:00
Mike Schuchardt 4e9676fb0e build: Update to header 1.3.204
- Update known-good
- Generate source
2022-01-25 10:54:13 -08:00
Mark Young 60386cb67f Fix loader phys dev termin for physical device extensions.
Fix some loader terminator functions for instance physical device
functions (that were pre-Vulkan 1.1).  At that point in the API, we
didn't treat VkPhysicalDevices like VkDevices.  Now, you must first
query the device for extension support for even VkPhysicalDevice calls.
Back then, the loader had to emulate the functionality.

Added tests to validate many of these functions.
2022-01-07 16:56:38 -07:00
Mike Schuchardt a4f9f284e2 build: Update to header 1.2.203
- Update known-good
- Generate source
2021-12-20 08:46:42 -08:00
Mike Schuchardt 681903cf53 build: Update to header 1.2.202
- Update known-good
- Generate source
2021-12-07 10:25:37 -08:00
Mike Schuchardt 3309dd2008 build: Update to header 1.2.201
- Update known-good
- Generate source (version bump only)
2021-12-01 09:54:01 -08:00
Mike Schuchardt 6922adeadd build: Update to header 1.2.200
- Update known-good
- Generate source (version bump only)
2021-11-29 10:17:35 -08:00
Mark Young 035140a542 Update loader to include handle validation
Validate the Vulkan dispatchable handles (VkInstance, VkPhysicalDevice, etc) for
any trampoline functions the loader uses to query the dispatch table from.
This is so we can at least report errors before something bad happens.

Also, add tests to the test framework to catch this case.  Right now they simply
check to make sure we aborted, but they don't know why the loader aborted.
Eventually, we need to come back and check the loader messages and make sure it
aborted for the reasons we want.

Fix a generator warning in dispatch_table_helper_generator.py where a compare was
the wrong type.

Fixes GH Issue #64.
2021-11-19 10:32:13 -07:00
Mike Schuchardt 160725a09f build: Update to header 1.2.199
- Update known-good
- Generate source (version bump only)
2021-11-16 11:22:26 -08:00
Mike Schuchardt 4070036567 build: Update to header 1.2.198
- Update known-good
- Generate source (version bump only)
2021-11-09 11:40:47 -08:00
Mark Young fdad38ff0f Fix GCC 11.2 build
Gcc 11.2 build was failing to build with the GoogleTest version
that was being built.  So bump to next version of GoogleTest with
fixes (GoogleTest release-1.11.0), but that also required changing
the build directory to build GoogleTest in so update our Makefiles
to build in the new folder as well.
2021-11-04 15:01:10 -06:00
Mike Schuchardt 97ee5b6abc build: Update to header 1.2.197
- Update known-good
- Generate source
2021-11-03 09:21:38 -07:00
Mike Schuchardt 7f96dac401 build: Update to header 1.2.196
- Update known-good
- Generate source
2021-10-14 10:12:55 -07:00
Mike Schuchardt 04854c881a build: Update to header 1.2.195
- Update known-good
- Generate source
2021-10-05 11:20:01 -07:00
Charles Giessen c08bd348fe build: Move test dependencies to known_good.json
This makes the requisite changes to make the dependencies needed for testing automatically
downloaded by cmake when the UPDATE_DEPS option is given.
2021-09-28 12:54:43 -06:00
Charles Giessen 4acf4078c8 build: Update update_deps.py to match VVL
Was out of date with the feature set VVL contained.

Fixed an issue where backslashes were used on windows, which caused issues when
cmake decided to escape a string one more time than necessary.
"C:\\Users\\..." -> "C:\Users" which has a `\U` escape symbol mucking things up.
2021-09-28 12:54:43 -06:00
Mike Schuchardt 1cd1d9ba5c build: Update to header 1.2.194
- Update known-good
- Generate source
2021-09-28 11:44:36 -06:00
Charles Giessen 5a1a5c3aa7 build: Set DLL version automatically
The loader.rc file was used to set the version used in the loader. However,
this was always done manually (either by hand or a script to edit the file).
This commit makes the version number needed generated automatically based on
the current generated header version or uses a provided version, such as in
the case of SDK builds with a 'build revision', eg "1.2.191.2".

This commit also renames the atrosciously named
loader_generated_header_version_generator to a nicer
loader_versioning_generator.
2021-09-24 11:47:30 -06:00
Mike Schuchardt 22c075d774 build: Update to header 1.2.193
- Update known-good
- Generate source
2021-09-21 10:49:42 -07:00
Mike Schuchardt 9c2305b2fc build: Update to header 1.2.192
- Update known-good
- Generate source
2021-09-15 09:41:50 -07:00
Charles Giessen 74c60eac02 build: Use generated source everywhere
The previous commit that added a generated header version didn't apply
it to mac or linux specific versioning. This commit fixes that.
2021-09-09 13:46:18 -06:00
Charles Giessen c084d162eb loader: Make _GNU_SOURCE a cmake definition
Moves the many instances of #define _GNU_SOURCE into a single cmake call which
sets the macro in all translation units for the vulkan library. This way it
cannot be forgotten and makes behavior across the library consistent.
2021-09-09 11:28:56 -06:00
Mike Schuchardt c5e1ad9239 build: Update to header 1.2.191
- Update known-good
- Generate source
2021-09-08 15:22:33 -07:00
Charles Giessen 9e2020f8fe scripts: Remove loader_icd_init_entries duplicate
Seems to be a copy-paste error that makes the function declaration appear twice.
2021-08-30 13:10:33 -06:00
Mike Schuchardt 8b4150acd5 build: Update to header 1.2.190
- Update known-good
- Generate source
2021-08-30 09:17:43 -07:00
Mike Schuchardt 9135c7f475 build: Update to header 1.2.189
- Update known-good
- Generate source
2021-08-17 12:55:15 -07:00
Charles Giessen f677db09a7 loader: Make use of a generated header version
This changes the loader to always set the version to the one which was used when
generating the source files that are checked into the repo, instead of using the
version gotten from the Vulkan-Headers find cmake file.

Change-Id: Id0955ddfd10e35e0f358f5a77799d8baa4992b04
2021-08-11 15:17:20 -06:00
Mike Schuchardt 42f9e39fdb build: Update to header 1.2.188
- Update known-good
- Generate source (no change)
2021-08-10 12:40:45 -07:00
Mike Schuchardt 8b30727de2 scripts: Use altlen instead of parsing latexmath
KhronosGroup/Vulkan-ValidationLayers switched to this method a while ago
and this syncs the KhronosGroup/Vulkan-Loader version of
helper_file_generator.py to match.
2021-08-10 12:40:45 -07:00
Mark Young 1cc8fb0cf3 Fix loader_log messages to use LOADER_ log levels
The loader_log messages were using the DEBUG_REPORT log levels
which just happened to coincide with the existing LOADER_ log levels.
Going forward, to add layer logging in its own level, this would not
have worked.
2021-08-10 12:10:47 -06:00
Mike Schuchardt 3fc2a81bbd build: Update to header 1.2.187
- Update known-good
- Generate source (no change)
2021-08-03 15:16:04 -07:00
Mike Schuchardt 10f3abe3e5 build: Update to header 1.2.186
- Update known-good
- Generate source (no change)

Change-Id: I7c0699f8613ecbfefe79981f34faa5e276703324
2021-07-27 13:27:49 -07:00
Mike Schuchardt cd7e2e9775 build: Update to header 1.2.185
- Update known-good
- Re-enable code generation for VK_HUAWEI_subpass_shading
- Generate source

Change-Id: I6607e1de097d1b8a2f631cd1f11b088204b8bb3a
2021-07-20 15:29:56 -06:00
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