Commit Graph

2033 Commits

Author SHA1 Message Date
Andreas Süßenbach
3e6fed9492
Introduce implicit cast operators for vk::UniqueHandles, vk::SharedHandles and vk::raii::Handles (#1771) 2024-01-16 13:48:53 +01:00
Andreas Süßenbach
e4ea505027
Simplified typename checks on allocator template types (#1770) 2024-01-10 13:30:04 +01:00
Nikolai Siukosev
180ef2f598
Added VULKAN_HPP_NO_WIN32_PROTOTYPES preprocessor condition (#1756)
* Added VULKAN_HPP_NO_WIN32_PROTOTYPES preprocessor condition which disables dynamic loader type declaration for win32

* Added VULKAN_HPP_NO_WIN32_PROTOTYPES README.md section
2024-01-09 09:13:37 +01:00
Sharadh Rajaraman
e84352916a
C++20 named module documentation updates (#1767)
* Named module updates
- Fix CMake instructions for the module
- Provided examples on module config
- Elaborated on the dynamic dispatcher

* Update README.md

- Rearranged warning
- Removed subdirectory from `BASE_DIRS` 
- Added subdirectory to `FILES`
- Added more information for dynamic loader CMake setup with module

* Add target_compile_features for VulkanHppModule

* Add minimum required Vulkan version check in the CMake module example

Add minimum required Vulkan version check in the CMake module example
2024-01-08 17:53:59 +01:00
Andreas Süßenbach
9eab68eb5d
Add function pointer check when using DispatchLoaderDynamic. (#1769) 2024-01-08 12:19:28 +01:00
github-actions[bot]
1a24b01583
Update Vulkan-Headers to v1.3.275 (#1768)
Co-authored-by: GitHub <noreply@github.com>
2024-01-08 10:21:39 +01:00
Andreas Süßenbach
d127fea13f
Loop over cpp_standard and build_type in macos CI (#1766) 2024-01-08 09:02:32 +01:00
Andreas Süßenbach
890e32f27b
Loop over cpp_standard and build_type in ubuntu CI (#1763) 2024-01-04 15:40:18 +01:00
Andreas Süßenbach
db5c141013
Downgrade error on multiple identical "depends" attributes for "require" sections for an extension to a warning. (#1765) 2024-01-04 11:37:46 +01:00
Andreas Süßenbach
d2f13e2f7f
Include <memory> in vulkan_raii.hpp to have std::unique_ptr available. (#1762) 2024-01-03 11:49:10 +01:00
Andreas Süßenbach
52666b03f5
Resolve warning on struct with multiple members referencing the same member for len. (#1759) 2024-01-02 14:52:16 +01:00
Juan Ramos
d684b72b3e
Check for libvulkan.1.dylib (#1755) 2024-01-02 13:56:05 +01:00
Andreas Süßenbach
197017ef20
Add support of noexcept-path for vk::raii classes (#1742) 2024-01-02 13:47:01 +01:00
github-actions[bot]
2cc4dbdbca
Update Vulkan-Headers to v1.3.274 (#1754)
Co-authored-by: GitHub <noreply@github.com>
2024-01-02 13:10:46 +01:00
Andreas Süßenbach
fafe484a31
Reduce number of jobs in CI by running a loop in a job (#1751) 2023-12-15 19:50:45 +01:00
Andreas Süßenbach
f67cfcc229
Use the actual CMAKE_CXX_STANDARD provided by the workflow. (#1750) 2023-12-13 21:56:00 +01:00
Andreas Süßenbach
19dd76bcb4
Change CI on MacOS from macos-11 to macos-latest. (#1749) 2023-12-13 14:50:01 +01:00
github-actions[bot]
170a000750
Update Vulkan-Headers to v1.3.273 (#1748)
Co-authored-by: GitHub <noreply@github.com>
2023-12-13 13:32:34 +01:00
Andreas Süßenbach
6b132a4628
Fix usage of wrong command name when determining the skip count for that command (#1747) 2023-12-11 14:46:16 +01:00
github-actions[bot]
e621db0771
Update Vulkan-Headers to v1.3.272 (#1743)
Co-authored-by: GitHub <noreply@github.com>
2023-12-04 12:31:47 +01:00
Andreas Süßenbach
84b77d1406
Add support for a new class of commands. (#1741) 2023-11-29 19:21:22 +01:00
Andreas Süßenbach
5bd1e56054
Explicitly ignore new limittype "not". (#1740) 2023-11-29 19:20:27 +01:00
GitHub
f28803081e Update Vulkan-Headers to v1.3.271 2023-11-28 05:51:00 -08:00
Patrick O'Connell
6453966415
Add missing includes (#1730) 2023-11-16 08:55:30 +01:00
Bohdan Soproniuk
1bfaa9fd5d
Use vk::Format that matches coloredCubeData (#1729) 2023-11-16 08:54:45 +01:00
Andreas Süßenbach
846ac99cee
Remove warning on "ratified" and "supported" being different for an extension. (#1728) 2023-11-14 16:50:41 +01:00
Andreas Süßenbach
e86419f738
Include headers holding feature-test macros in vulkan_hpp_macros.hpp. (#1727) 2023-11-14 16:50:21 +01:00
Andreas Süßenbach
8a4896d519
Update readme on using vulkan-headers instead of vulkan-hpp with vcpkg. (#1726) 2023-11-14 16:49:53 +01:00
Andreas Süßenbach
9bece47d4c
Fix ArrayWrapper1D::operator std::string() and ArrayWrapper1D::operator std::string_view() to return a string/string_view of the correct length. (#1725) 2023-11-14 16:49:01 +01:00
github-actions[bot]
4cb522cc51
Update Vulkan-Headers to v1.3.270 (#1724)
Co-authored-by: GitHub <noreply@github.com>
2023-11-13 15:03:17 +01:00
Andreas Süßenbach
1620b8b0bf
Add missing include guard to vulkan_video.hpp (#1723) 2023-11-09 11:29:46 +01:00
Andreas Süßenbach
2e5e845bb9
Add C++23 to the workflow. (#1713) 2023-11-02 08:54:14 +01:00
Sharadh Rajaraman
26664a38a4
Add extension macros as constexpr (#1710)
* Initial implementation

* Reordered prefixes, added SPEC_VERSION macro

- And added using statements to module file

* Actually add changes to .hpp and .cppm files

* Fixes for extension constexpr macros

- renamed some vars
- simplified logic and control flow

* Grouped by extension name rather than macro guards

- And added titles to all extension constexprs

* Syntax changes

- Removed the structured binding and fixed asserts
- Used C++20 functions
- Added another assert to check that extension and specversion macros exist

* Remove `std::ranges` usage
2023-10-26 14:59:13 +02:00
Andreas Süßenbach
de5821703f
Ignore warnings in some tests; fix ambiguity in ArrayWrapper test (#1712) 2023-10-24 18:27:35 +02:00
github-actions[bot]
9c15a1e1ef
Update Vulkan-Headers to v1.3.269 (#1707)
Co-authored-by: GitHub <noreply@github.com>
2023-10-23 13:58:24 +02:00
Andreas Süßenbach
3e0d722ca5
Silent warnings on unused variables in some tests; make test UniqueHandleDefaultArguments part of the solution for 64 bit only. (#1704) 2023-10-18 13:45:14 +02:00
Andreas Süßenbach
5b6f6faf7a
Fix ArrayWrapper test program: don't use std::string_literals to be C++11 conform. (#1703) 2023-10-18 09:55:20 +02:00
Andreas Süßenbach
c77427babb
Adjust module support handling with CMake version 3.28 and above (#1699) 2023-10-18 08:07:18 +02:00
Andreas Süßenbach
33ea43b53f
Update submodule glslang to version 13.0.0 (#1700) 2023-10-17 12:41:14 +02:00
Andreas Süßenbach
bab0e249f2
Improve implicit conversion operators of vk::ArrayWrapper1D on char type; added constructors from std::string and std::string_view (#1698) 2023-10-17 08:52:54 +02:00
Andreas Süßenbach
962979c679
Identify delete commands starting with "vkRelease" (#1697) 2023-10-16 16:01:35 +02:00
github-actions[bot]
d2134fefe2
Update Vulkan-Headers to v1.3.268 (#1696)
Co-authored-by: GitHub <noreply@github.com>
2023-10-16 12:10:45 +02:00
tom-huntington
2620a62641
Update README.md (#1675)
* Update README.md

Update readme cmake commands

* Update README.md
2023-10-12 13:35:33 +02:00
Andreas Süßenbach
c8cf030fe9
Add FlagBits type as required if it is not listed where the corresponding Flags type is required (#1689) 2023-10-10 21:54:36 +02:00
Andreas Süßenbach
6be20fb9e3
Fix documentation on existance of some copyable vk::raii classes (#1687) 2023-10-10 08:38:18 +02:00
Anton Shangareev
f9bed11716
Use add_subdirectory-friendly CMAKE variables (#1679) 2023-10-09 16:05:13 +02:00
Andreas Süßenbach
7b8f30221a
Extend not on module usage with Visual Studio. (#1684) 2023-10-09 13:37:36 +02:00
Anton Shangareev
b961a1a4c2
Fix C++20 module build with -DVULKAN_HPP_NO_SMART_HANDLE (#1678)
* Move SharedHandle and UniqueHandle under correct preprocessor guard in .cppm

* Fix VulkanHppGenerator
2023-10-09 12:25:01 +02:00
Andreas Süßenbach
18e912955e
Add some note in README.md, that our modules are not working with VS 2022. (#1683) 2023-10-09 11:56:47 +02:00
github-actions[bot]
d8d8b53a31
Update Vulkan-Headers to v1.3.267 (#1681)
Co-authored-by: GitHub <noreply@github.com>
2023-10-09 10:15:08 +02:00