Commit Graph

324 Commits

Author SHA1 Message Date
Charles Giessen
ab60522c9b Format internal queue selection functions 2021-05-21 14:04:28 -06:00
Charles Giessen
70265d8b29 Assert in SwapchainBuilder on queue getting failure
This resolves the TODO about what to do if the queues couldn't be found.
2021-05-21 14:04:28 -06:00
Charles Giessen
84ba7a79ee Document constructors for SwapchainBuilder
Specifically done for the 3rd constructor which will query the necessary
queues when they are not provided
2021-05-21 14:04:28 -06:00
Charles Giessen
045b1e7b0f Add queue selection tests and refactor internal code a bit 2021-05-21 14:04:28 -06:00
Lesley Lai
36eff8fa42 Use CMake namespaced target in CMake Readme
This provides better error messages when the target cannot be found
2021-05-10 13:16:20 -06:00
Charles Giessen
95b82a9537
Add mention of needing to link to the dynamic linker on linux
If a user copy/pastes the code into their project, they need to link to the dynamic linker on linux platforms.
2021-04-22 23:47:07 -06:00
Charles Giessen
75db58ae8b Refactor GenericFeaturesPNextNode 2021-04-18 14:42:35 -06:00
Charles Giessen
c607a65755 Remove memset, fix mismatched size comparison 2021-04-18 14:42:35 -06:00
Charles Giessen
7271cac30c Revert "Revert "Removed duplicate include.""
This reverts commit 0b2faf5659.
2021-04-18 14:42:35 -06:00
Charles Giessen
193c20491a Revert "Revert "Cleanup and warning for user provided VkPhysicalDeviceFeatures2.""
This reverts commit 38d150101b.
2021-04-18 14:42:35 -06:00
Charles Giessen
90875cfaf5 Revert "Revert "Cleanup and asserts for VkPhysicalDeviceFeatures2.""
This reverts commit db55cb8f27.
2021-04-18 14:42:35 -06:00
Charles Giessen
a0d1ce5b39 Revert "Revert "Simplified structures and plugged into existing logic.""
This reverts commit 2a352b5a25.
2021-04-18 14:42:35 -06:00
Charles Giessen
f4eb8fdffc Revert "Revert "Collapsed ExtensionFeatures and StructureContainer together into FeaturesContainer. After the purging of the function pointers all ExtensionFeatures was doing was just wrapping StructureContainers functions.""
This reverts commit 64aeed5855.
2021-04-18 14:42:35 -06:00
Charles Giessen
9c4317e324 Revert "Revert "Removes need for function pointers.""
This reverts commit e671170007.
2021-04-18 14:42:35 -06:00
Charles Giessen
63f06898f9 Revert "Revert "Assert for null sTypes.""
This reverts commit 7126555c3b.
2021-04-18 14:42:35 -06:00
Charles Giessen
3c38977084 Revert "Revert "Pass by value rather than ref.""
This reverts commit 441938d731.
2021-04-18 14:42:35 -06:00
Charles Giessen
5c85f3a796 Revert "Revert "Fixed Features11/12 break. Tests now pass.""
This reverts commit 299b36a3a4.
2021-04-18 14:42:35 -06:00
Charles Giessen
8a3c1ac6ed Revert "Revert "- Restored removed functions - Restored pNext chain to device (appends to the end of the ExtentionFeatures chain) - Style changes - Migrated ExtensionFeatures into detail""
This reverts commit 4bfc21f8be.
2021-04-18 14:42:35 -06:00
Charles Giessen
e8100dd16c Revert "Revert "Fix breaking bug with features not being populated from VkGetPhysicalDeviceFeatures2""
This reverts commit 77be102a13.
2021-04-18 14:42:35 -06:00
Charles Giessen
98a4ae7ea8 Revert "Revert "Added generic feature polling/matching/enabling.""
This reverts commit 523e76144d.
2021-04-18 14:42:35 -06:00
Charles Giessen
fefa3f7e5a
Restart CI on pull requests 2021-04-18 14:13:29 -06:00
Charles Giessen
9b18d9465c Revert "Revert "add VK_BOOTSTRAP_WERROR option in README""
This reverts commit c10dfc9a6a.
2021-04-18 14:10:06 -06:00
Charles Giessen
59a8965e15 Revert "Revert "add an option to enable warnings as errors""
This reverts commit 6db8cfba86.
2021-04-18 14:10:06 -06:00
Charles Giessen
523e76144d Revert "Added generic feature polling/matching/enabling."
This reverts commit 0a397a33d5.
2021-04-18 14:09:56 -06:00
Charles Giessen
77be102a13 Revert "Fix breaking bug with features not being populated from VkGetPhysicalDeviceFeatures2"
This reverts commit 21e400cfcc.
2021-04-18 14:09:56 -06:00
Charles Giessen
4bfc21f8be Revert "- Restored removed functions - Restored pNext chain to device (appends to the end of the ExtentionFeatures chain) - Style changes - Migrated ExtensionFeatures into detail"
This reverts commit 0359ceb3fb.
2021-04-18 14:09:56 -06:00
Charles Giessen
299b36a3a4 Revert "Fixed Features11/12 break. Tests now pass."
This reverts commit 632a42f5cd.
2021-04-18 14:09:56 -06:00
Charles Giessen
441938d731 Revert "Pass by value rather than ref."
This reverts commit 3dc81e44df.
2021-04-18 14:09:56 -06:00
Charles Giessen
7126555c3b Revert "Assert for null sTypes."
This reverts commit 73e2b82dce.
2021-04-18 14:09:56 -06:00
Charles Giessen
e671170007 Revert "Removes need for function pointers."
This reverts commit 075be4900b.
2021-04-18 14:09:56 -06:00
Charles Giessen
64aeed5855 Revert "Collapsed ExtensionFeatures and StructureContainer together into FeaturesContainer. After the purging of the function pointers all ExtensionFeatures was doing was just wrapping StructureContainers functions."
This reverts commit 2f69fa52cb.
2021-04-18 14:09:56 -06:00
Charles Giessen
2a352b5a25 Revert "Simplified structures and plugged into existing logic."
This reverts commit 6ee81abdd3.
2021-04-18 14:09:56 -06:00
Charles Giessen
db55cb8f27 Revert "Cleanup and asserts for VkPhysicalDeviceFeatures2."
This reverts commit 5ac038b778.
2021-04-18 14:09:56 -06:00
Charles Giessen
38d150101b Revert "Cleanup and warning for user provided VkPhysicalDeviceFeatures2."
This reverts commit 91b3949339.
2021-04-18 14:09:56 -06:00
Charles Giessen
0b2faf5659 Revert "Removed duplicate include."
This reverts commit 6a9e0e2ee8.
2021-04-18 14:09:56 -06:00
Charles Giessen
6db8cfba86 Revert "add an option to enable warnings as errors"
This reverts commit 6bb00bf694.
2021-04-18 14:08:34 -06:00
Charles Giessen
c10dfc9a6a Revert "add VK_BOOTSTRAP_WERROR option in README"
This reverts commit 82459b10c0.
2021-04-18 14:08:34 -06:00
Cody Goodson
6a9e0e2ee8 Removed duplicate include. 2021-04-18 14:04:27 -06:00
Cody Goodson
91b3949339 Cleanup and warning for user provided VkPhysicalDeviceFeatures2. 2021-04-18 14:04:27 -06:00
Cody Goodson
5ac038b778 Cleanup and asserts for VkPhysicalDeviceFeatures2. 2021-04-18 14:04:27 -06:00
Cody Goodson
6ee81abdd3 Simplified structures and plugged into existing logic. 2021-04-18 14:04:27 -06:00
Cody Goodson
2f69fa52cb Collapsed ExtensionFeatures and StructureContainer together into FeaturesContainer. After the purging of the function pointers all ExtensionFeatures was doing was just wrapping StructureContainers functions. 2021-04-18 14:04:27 -06:00
Cody Goodson
075be4900b Removes need for function pointers. 2021-04-18 14:04:27 -06:00
vibi-manx
73e2b82dce Assert for null sTypes. 2021-04-18 14:04:27 -06:00
vibi-manx
3dc81e44df Pass by value rather than ref. 2021-04-18 14:04:27 -06:00
vibi-manx
632a42f5cd Fixed Features11/12 break. Tests now pass. 2021-04-18 14:04:27 -06:00
vibi-manx
0359ceb3fb - Restored removed functions
- Restored pNext chain to device (appends to the end of the ExtentionFeatures chain)
- Style changes
- Migrated ExtensionFeatures into detail
2021-04-18 14:04:27 -06:00
dangerkangaroo
21e400cfcc Fix breaking bug with features not being populated from VkGetPhysicalDeviceFeatures2 2021-04-18 14:04:27 -06:00
dangerkangaroo
0a397a33d5 Added generic feature polling/matching/enabling. 2021-04-18 14:04:27 -06:00
Charles Giessen
23dcdd59bf example: Add config file to locate shaders
The example triangle now will have a absolute filepath to the shaders.
This allows running the exe from directories other than the location of the shaders in the filesystem.
Alternative solutions would be to copy/paste the shader binary into the source code.
2021-04-16 10:30:04 -06:00