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
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
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
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
dangerfen
ef02739a10
Added macro guard.
2021-04-07 19:26:59 -06:00
dangerfen
1b6e09a04a
Fixes bug with 1.1/1.2 features not being appended to the pNext chain properly.
2021-04-07 19:26:59 -06:00
Mehmet Oguz Derin
903fdfe87b
Compare against feature flags
2021-04-06 15:04:24 -06:00
Mehmet Oguz Derin
617123254a
Compare against feature flags
2021-04-06 15:04:24 -06:00
Mehmet Oguz Derin
8d4ac0db50
Check usage flags when iterating desired formats
2021-04-06 15:04:24 -06:00
Charles Giessen
151c76d1cc
Add selection by and enableing 1.1 and 1.2 features.
...
Users can now ask for physical devices which support a specific 1.1 and 1.2
feature. VkBootstrap will then add the selected features to the enable list
in device creation.
2021-03-29 13:23:27 -06:00
Charles Giessen
cf8df11a0a
Change clang-format to not add spaces before parens
2021-02-18 13:26:43 -07:00
Charles Giessen
3ebe53bdfe
Add full_error() function to Result for easier printing of errors
...
Comment the various error functions in Result
2021-02-18 13:26:43 -07:00
Charles Giessen
4120362762
Use uint32_t in Queues everywhere, add QUEUE_INDEX_MAX_VALUE as sentinel
...
This commit removes the many casts from int to uint and back, as -1 was used
as a sentinel value. Because thats confusing and leads to many casts
everywhere it was decided to add a sentinel value and compare everything
to that to determine if a queue index is valid or not.
2021-02-18 13:26:43 -07:00
Charles Giessen
daf244d180
Make SwapchainBuilder constructor take allocation callbacks from device
2021-02-18 13:26:43 -07:00