Vulkan: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 1 | + | Vulkan is a new low-level Graphics API, intended to replace OpenGL. | |
| 2 | 2 | ||
| 3 | 3 | ## Float Point Exception | |
| 4 | 4 | ||
| 5 | - | ||
| 6 | - | ||
| 7 | - | ||
| 8 | - | ||
| 5 | + | Similar to OpenGL apps, the float-point exceptions should be turned off. This can be achieved by adding the following code prior to calling Vulkan API: | |
| 9 | 6 | ``` | |
| 7 | + | SetExceptionMask([exInvalidOp, exDenormalized, exPrecision]); | |
| 8 | + | ``` | |
| 10 | 9 | ||
| 11 | - | ||
| 10 | + | [SetExceptionMask](<http://www.freepascal.org/docs-html/rtl/math/setexceptionmask.html>) function is declared in Math unit | |
| 12 | 11 | ||
| 13 | 12 | ## Headers | |
| 14 | 13 | ||
| 15 | - | ||
| 14 | + | There are no Vulkan headers in fpc packages, but some are available online: | |
| 16 | 15 | ||
| 17 | - | ||
| 18 | - | ||
| 19 | - | ||
| 20 | - | ||
| 21 | - | ||
| 16 | + | * <https://github.com/BeRo1985/pasvulkan> | |
| 17 | + | * <https://github.com/MaksymTymkovych/Delphi-Vulkan> | |
| 18 | + | * (Delphi-Vulkan fork) <https://github.com/skalogryz/FPC-Vulkan> | |
| 19 | + | * <http://git.ccs-baumann.de/bitspace/Vulkan/tree/master/projects> | |
| 20 | + | * <https://github.com/james-mcjohnson/VulkanLibraryForFreePascal> | |
| 22 | 21 | ||
| 23 | 22 | ## See Also | |
| 24 | 23 | ||
| 25 | - | ||
| 26 | - | ||
| 27 | - | ||
| 24 | + | * [Vulkan on Wikipedia](<https://en.wikipedia.org/wiki/Vulkan_\(API\)>) | |
| 25 | + | * <https://www.khronos.org/vulkan/> \- official site | |
| 26 | + | * [[OpenGL]] | |
| 28 | 27 | ||
| 29 | 28 | --- | |
| 30 | - | ||
| 31 | - | ||
| 32 | - | ||
| 29 | + | *From the Free Pascal wiki, page "Vulkan", as the Internet Archive kept it on 2024-12-12, last changed on 2024-12-08. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
