Commit Graph

27 Commits

Author SHA1 Message Date
Pawel Lapinski
20fbf8a299 Renamed shader files and updated compile_shaders.bat batch file. 2018-03-20 10:29:58 +01:00
Pawel Lapinski
85c53b9c33 Small code refactoring - preparing for further parts of the tutorial. 2018-02-27 10:51:55 +01:00
Pawel Lapinski
2592271bfa Renamed base class used in tutorials. 2018-02-26 22:48:53 +01:00
Pawel Lapinski
7b4dca8586 Fixed calculation of projection matrices (aligned with the Vulkan Cookbook). 2018-02-05 14:52:26 +01:00
Pawel Lapinski
9af5bc6d35 Changed line endings from Windows (\r\n) to Linux (\n) style. 2017-11-14 09:57:36 +01:00
Pawel Lapinski
340a7a664a Fixed small mistake in device selection loop. Added info about selected device name in Tutorial01. 2017-09-19 21:28:15 +02:00
codergirl42
0994ef6c5c Updated License Headers
Fixed control characters that caused misformatting in some text editors
2017-06-05 15:40:42 -07:00
codergirl42
561ac8c3c7 Updated License to Apache 2.0 2017-04-21 16:20:21 -07:00
s-ol
6439648691 fix window creation with XCB and XLIB 2016-11-06 11:52:23 +01:00
plapins
ac538d2f72 Renamed Vulkan library on Linux OS to libvulkan.so.1. 2016-07-27 11:23:27 +02:00
plapins
cdd862333c Updated README.md file (added link to fourth tutorial). 2016-07-16 00:21:08 +02:00
plapins
bb53abad14 Replaced deprecated VK_API_VERSION definition with VK_MAKE_VERSION() macro. 2016-07-03 13:35:14 +02:00
plapins
67b0dd27c9 Fixed code responsible for checking minimal required device parameters (limits). 2016-07-02 22:42:06 +02:00
plapins
c064ec5a4a Added tutorials "06 - Descriptor Sets" and "07 - Uniform Buffers". Added functions for projection matrices generation to Tools. Added function for loading images from files (with stb_image library). Updated README.md file with description of Tutorial06. 2016-06-22 23:23:22 +02:00
plapins
a4f78d3eed Modified rendering framework to support surface size of 0 width and 0 height (this can occur on Windows when window gets minimized). In such situation, swapchain is not created and rendering function is not called. Instead, rendering loop waits for 1/10 of a second. 2016-06-20 16:26:00 +02:00
plapins
6bce4d9799 Fixed bug in buffer memory allocation code in tutorials 04 and 05. Modified ImageParameters structure (renamed "ImageView" member to "View", added "Sampler" member) and updated tutorial 03, 04 and 05. Fixed typos in comments. 2016-06-14 12:27:47 +02:00
plapins
2c06d5d63f Added code for tutorial 05 - Staging Resources 2016-06-06 14:08:17 +02:00
plapins
24131e6a8e Added flush for modified (mapped) buffer's memory and removed unnecessary CommitMemoryChanges() function in Tutorial04. 2016-06-02 12:41:49 +02:00
plapins
49a1cac9d2 Fixed bug in Tutorial04 in which command buffer was submitted to queue but used framebuffer that was already destroyed. 2016-05-12 12:09:53 +02:00
plapins
68cbd74336 Refactored ListOfFunctions.inl file: divided functions into tutorials in which they are first used. 2016-05-01 22:11:40 +02:00
plapins
ffca3688bc Modified Tutorial04: introduced recommended drawing approach with arbitrary number of [command buffer, semaphore, fence] resources and command buffer recorded each frame; removed creation of a custom image and a copy operation (from custom image to swapchain); framebuffer is now created only during command buffer recording; added dynamic viewport and scissors test states. 2016-04-22 23:23:51 +02:00
plapins
ff48362533 VulkanCommon: removed semaphore creation, added image views for swapchain images, removed transfer_dst usage from swapchain images. 2016-04-22 23:13:01 +02:00
plapins
95675bd125 Renamed "Tutorial" namespace to "ApiWithoutSecrets". Added ApiWithoutSecrets namescape to all files. Placed function pointers in an ApiWithoutSecrets namespace to fix errors on Linux. 2016-04-13 09:27:27 +02:00
plapins
d34da4e8e0 Changed all printf() functions to std::cout. Added information about available swap chain image usages. Cleaned included header files. 2016-04-13 08:59:52 +02:00
Eric Engestrom
27851ad5df Fix spelling mistakes 2016-04-08 00:39:40 +01:00
plapins
506089c206 Changed number of queue create infos provided during device creation from one to the actual number of elements in a vector (as found by fatto). 2016-04-01 20:54:14 +02:00
plapins
766e3f76d6 Added license.txt file.
Added Project folder with source code examples Part 1, Part 2, Part 3 and Part 4.
2016-03-14 20:21:47 +01:00