Pawel Lapinski
8e634b23bc
Merge pull request #19 from TexKiller/patch-1
...
Fix texture path on Tutorial07
2017-03-09 11:03:04 +01:00
TexKiller
eeb6f36ca6
Fix texture path on Tutorial07
...
Changing Data06 to Data07 in texture path.
2017-03-09 05:00:43 -03:00
Pawel Lapinski
38d58f4fae
Merge pull request #17 from lanphon/master
...
Use passed image handle to allocate memory.
2016-12-20 09:53:32 +01:00
Xinzhao@SWAT-06
35ff9cc8f0
Use the parameter of the image handle to allocate memory.
...
The original code will use Vulkan.Image.Handle to query the requirement of
the image to be allocated memory, which is unreasonable, since the handle
for the image has been given as the parameter "image" already. When reuse
this function to create other images, the program would crash in the
driver side for this reason.
2016-12-20 16:23:49 +08:00
Pawel Lapinski
ace944f547
Merge pull request #15 from s-ol/master
...
Fix window creation with XCB and XLIB
2016-12-06 08:20:56 +01:00
s-ol
6439648691
fix window creation with XCB and XLIB
2016-11-06 11:52:23 +01:00
plapins
42eb048187
Fixed bug in Tutorial07 in wrong data size provided during copy operation.
2016-09-13 11:03:27 +02:00
plapins
d5a6671ec0
Added Linux version of compile_shaders.sh file.
2016-09-13 11:03:05 +02:00
plapins
47bb2a9177
Fixed initial layout (changed to undefined) during transitioning swapchain image after acquisition (both inside a pipeline barrier and render pass) in the rest of tutorials (04 to 07).
2016-08-19 10:57:38 +02:00
plapins
1d4a08db7e
Fixed small mistake in a comment.
2016-08-19 10:51:29 +02:00
plapins
e5b9c166d2
Fixed initial layout (changed to undefined) during transitioning swapchain image after acquisition (both inside a pipeline barrier and render pass).
2016-08-19 10:51:11 +02:00
plapins
ca638ee002
Added link to the 5th tutorial to the README.md file.
2016-08-17 15:37:07 +02:00
plapins
ac538d2f72
Renamed Vulkan library on Linux OS to libvulkan.so.1.
2016-07-27 11:23:27 +02:00
plapins
6891584245
Added handle's value clearing after framebuffer's destruction.
2016-07-27 11:23:26 +02:00
Pawel Lapinski
74bcb3aecb
Updated links to tutorials on software.intel.com site.
2016-07-18 23:49:58 +02:00
plapins
cdd862333c
Updated README.md file (added link to fourth tutorial).
2016-07-16 00:21:08 +02:00
plapins
1570a40314
Refactored code in Tutorial 05 (changed order of operaions - moved rendering resources creation to the beginning).
2016-07-05 00:20:14 +02:00
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