Commit Graph

45 Commits

Author SHA1 Message Date
plapins
05959fd7e5 Updated Tutorial 05 to incorporate changes implemented in a Tutorial 04. 2016-07-04 22:51:31 +02:00
plapins
bb53abad14 Replaced deprecated VK_API_VERSION definition with VK_MAKE_VERSION() macro. 2016-07-03 13:35:14 +02:00
plapins
83666e93b9 Modified Tutorial04: improved code maintenance (replaced static arrays with std::vectors); changed order of some operations (moved vertex buffer creation before rendering resources creation). 2016-07-02 22:45:16 +02:00
plapins
67b0dd27c9 Fixed code responsible for checking minimal required device parameters (limits). 2016-07-02 22:42:06 +02:00
plapins
638d77d51b Improved image memory barriers (used subpass dependencies in render pass). 2016-07-01 18:23:04 +02:00
plapins
7181fa4016 Added description of Tutorial07 to README.md file. Added image presenting rendering results of Tutorial07. 2016-06-24 10:02:13 +02:00
plapins
8c6cc0ded3 Adjusted size of a quad in Tutorial07. 2016-06-24 10:00:16 +02:00
plapins
cf481257a0 Added "/Project/build" folder to GIT's ignore list. 2016-06-24 09:39:25 +02:00
plapins
de3f1b1b99 Unified GLSL version across shaders in all tutorials. 2016-06-24 09:36:28 +02:00
plapins
85192863b1 Added rendering result of tutorial 06 - Descriptor Sets. 2016-06-22 23:24:48 +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
37d04f3be5 Fixed uninitialized variable problem in Tutorial05 and formatting (unnecessary spaces) in tutorials 04 and 05. 2016-06-20 16:26:40 +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
55b350815e Added example usage to compile_shaders.bat file. 2016-06-16 10:53:43 +02:00
plapins
184b6c39ef Added simple batch file for converting GLSL shaders into SPIR-V assemblies using glslangValidator. 2016-06-16 10:36:40 +02:00
plapins
77c5c16467 Updated GLSL and SPIR-V shaders (added gl_PerVertex redeclaration to vertex shaders). 2016-06-16 10:35:43 +02:00
plapins
482e337fad Updated description of Tutorial04 in a README.md file. 2016-06-15 15:35:23 +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
1ee571a0fb Fixed Tutorial04 definition in header file. 2016-06-06 11:13:30 +02:00
plapins
a996a583cf Fixed pWaitDstStageMask parameter of submit info structure in Tutorial03 and Tutorial04 (queue should wait before color attachment output stage not transfer dst stage). 2016-06-02 12:42:34 +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
515dd00e87 Changed queue family indices to VK_QUEUE_FAMILY_IGNORED in image memory barriers when there is no transfer of ownership (src and dst families are identical). 2016-04-25 11:21:51 +02:00
plapins
56aefa3db2 Resized image generated by Tutorial04. 2016-04-22 23:29:35 +02:00
plapins
6247befe43 Updated image generated by Tutorial04. 2016-04-22 23:24:11 +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
e9929a92a7 Updated Tutorial03 to incorporate changes introduted in VulkanCommon class (added semaphores, removed image view creation for each swapchain image). 2016-04-22 23:16:01 +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
52cf26fdf6 Added copy operation of DataXX folders from TutorialXX to build folder. 2016-04-13 15:21:52 +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
Pawel Lapinski
6578ecc793 Added link to third tutorial. 2016-04-08 10:19:09 +02:00
Pawel Lapinski
83fd9f9303 Added link to second tutorial. 2016-04-08 09:30:22 +02:00
Pawel Lapinski
42e4310541 Fixed spelling mistakes.
Fixed spelling mistakes.
2016-04-08 08:01:10 +02:00
Eric Engestrom
27851ad5df Fix spelling mistakes 2016-04-08 00:39:40 +01:00
Pawel Lapinski
ef9d81d2bf Added link to the first tutorial. 2016-04-07 08:38:55 +02:00
plapins
f6b78a7154 Fixed indentation and unnecessary whitespaces in Tutorial01.cpp and Tutorial04.cpp. 2016-04-07 08:35:47 +02: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
Pawel Lapinski
9a1e0a5223 Updated readme.md file with link to Vulkan-related resources
Added link to https://www.khronos.org/vulkan/ in new "Drivers" section
2016-03-25 21:18:07 +01:00
Pawel Lapinski
dbbf93288b Updated readme.md file with link to the "preface" chapter.
Added link to the article with introduction to the author, Vulkan API and source code.
2016-03-25 19:37:27 +01:00
plapins
77d441165f Updated README.md file - added short descriptions for each lesson. Added screenshots for each lesson. 2016-03-15 10:49:21 +01: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
Ekzuzy
3879abc75e Created a readme.md file
Created readme.md file with short description of the project/tutorial and a mocap link to software.intel.com site.
2016-03-13 23:56:57 +01:00