Commit Graph

496 Commits

Author SHA1 Message Date
Mike Schuchardt 47b2c57d6a build: Update to header 1.3.226
- Update known-good
- Generate source
2022-09-01 09:24:25 -07:00
Mike Schuchardt 85615a2e8c build: Update to header 1.3.225
- Update known-good
- Generate source
2022-08-18 13:03:19 -07:00
Mike Schuchardt c23adb37bc build: Update to header 1.3.224
- Update known-good
- Generate source
2022-08-04 13:32:11 -07:00
Mike Schuchardt a9aab18bea build: Update to header 1.3.223
- Update known-good
- Generate source
2022-07-28 10:59:12 -07:00
Mike Schuchardt 7fbff92bff build: Update to header 1.3.222
- Update known-good
- Generate source
2022-07-21 10:05:41 -07:00
Mike Schuchardt 7be768e5cc build: Update to header 1.3.221
- Update known-good
- Generate source
2022-07-14 09:20:23 -07:00
Mike Schuchardt ebaf827719 build: Update to header 1.3.220
- Update known-good
- Generate source
2022-07-07 11:26:05 -06:00
Mike Schuchardt 5815ceb5ee build: Update to header 1.3.219
- Update known-good
- Generate source
2022-06-30 12:28:09 -06:00
Mike Schuchardt 637329a14e build: Update to header 1.3.218
- Update known-good
- Generate source
- Add missing enums to test framework
2022-06-16 13:35:17 -07:00
Mike Schuchardt df428678d8 build: Update to header 1.3.217
- Update known-good
- Generate source
2022-06-13 12:54:07 -07:00
Mike Schuchardt bb5cf75fbf build: Update to header 1.3.216
- Update known-good
- Generate source
2022-06-02 12:52:22 -07:00
Mike Schuchardt 523a4b0e3d build: Update to header 1.3.215
- Update known-good
- Generate source
2022-05-24 11:41:56 -06:00
Mike Schuchardt 456f3f9c4b build: Update to header 1.3.214
- Update known-good
- Generate source
2022-05-17 08:43:02 -07:00
Mike Schuchardt a43773fae1 build: Update to header 1.3.213
- Update known-good
- Generate source
2022-05-11 10:31:02 -07:00
Mike Schuchardt 6409835fcc build: Update to header 1.3.212
- Update known-good
- Generate source
2022-04-21 10:26:19 -07:00
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