Commit Graph

30 Commits

Author SHA1 Message Date
Adam Sawicki
f43e9cd270 VulkanSample, CreateTexture function: switched from staging image with VK_IMAGE_TILING_LINEAR to staging buffer and vkCmdCopyBufferToImage. 2019-02-20 14:55:31 +01:00
Adam Sawicki
ae5c4661ec Updated copyright headers after New Year. 2019-01-02 10:23:35 +01:00
Adam Sawicki
1a8424f41a Preparations for v2.0.0 release. Updated version numbers. Rebuilt binaries and documentation. 2018-12-13 11:01:16 +01:00
Adam Sawicki
da6c19423d Wrote test for sparse image binding with testing actual content - function BaseImage::TestContent. It uses vkCopyBufferToImage and then a compute shader to read back pixels of the image. 2018-12-05 17:34:34 +01:00
Adam Sawicki
978fcf54ab Testing environment: Added class StagingBufferCollection, functions UploadGpuData, ValidateGpuData, TestGpuData, in preparation for testing defragmentation of GPU memory.
# Conflicts:
#	src/Tests.cpp
#	src/VulkanSample.cpp
2018-12-05 14:38:48 +01:00
Adam Sawicki
6a6d8c6ea2 Merge branch 'master' into sparse_binding_example
# Conflicts:
#	docs/html/vk__mem__alloc_8h.html
#	docs/html/vk__mem__alloc_8h_source.html
#	src/Tests.cpp
#	src/VulkanSample.cpp
#	src/vk_mem_alloc.h
2018-12-05 13:20:32 +01:00
Adam Sawicki
b0c363693f Added function vmaResizeAllocation.
Added tests: function TestResize. Bumped CSV recording file format version to 1.4.
2018-11-13 16:17:38 +01:00
Adam Sawicki
b8d34d5e6a Replaced assert() with new macro TEST() in all tests, to check conditions also in Release configuration.
# Conflicts:
#	src/SparseBindingTest.cpp
#	src/Tests.cpp
#	src/VulkanSample.cpp
2018-10-03 17:41:20 +02:00
Adam Sawicki
a7d7769959 Replaced assert() with new macro TEST() in all tests, to check conditions also in Release configuration. 2018-10-03 16:15:27 +02:00
Adam Sawicki
51fa96660e Wrote basic test for sparse binding. 2018-10-03 13:44:29 +02:00
Adam Sawicki
94e8206598 Added new validation layer message to ignores, and documented it.
"Mapping an image with layout VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL can result in undefined behavior if this memory is used by the device. Only GENERAL or PREINITIALIZED should be used."

Issue #34 thanks @victorbush !
2018-08-20 11:14:07 +02:00
Adam Sawicki
82c3f33547 Added custom, simple structures: vec3, vec4, mat4. Removed dependency on external library MathFu. 2018-06-11 15:27:33 +02:00
Adam Sawicki
a68c01c85e Added optional usage of VmaAllocatorCreateInfo::pAllocationCallbacks (disabled by default). 2018-03-13 16:40:45 +01:00
Adam Sawicki
6cc5e859ea Added usage of VK_KHR_dedicated_allocation extension. 2018-03-13 16:37:54 +01:00
Adam Sawicki
b8333fb925 Publishing testing environment. Tests are available under [T] key. 2018-03-13 16:15:53 +01:00
Adam Sawicki
f1a793cadd Added source files to project: Common.*, Tests.*, VmaUsage.*. 2018-03-13 15:42:22 +01:00
Adam Sawicki
4426bfbc19 Updated year to 2018. 2018-01-22 18:18:24 +01:00
Adam Sawicki
8eb9d8e253 Fixed attachment layout transitions. #2 2017-11-13 16:30:14 +01:00
Adam Sawicki
3bd398a373 Fixed attachment layout transitions. 2017-11-13 16:10:38 +01:00
Adam Sawicki
5268dbbce5 Version 2.0.0-alpha.5. Major change in memory mapping - now it's internally reference-counted.
Renamed flag VMA_ALLOCATION_CREATE_PERSISTENT_MAP_BIT to VMA_ALLOCATION_CREATE_MAPPED_BIT.
See documentation of vmaMapMemory().
2017-11-08 12:52:05 +01:00
Adam Sawicki
14137d11bc Removed unnecessary VkSubpassDependency. 2017-10-16 18:06:05 +02:00
Adam Sawicki
976f920c15 Version 2.0.0-alpha.3 - major update. 2017-09-12 20:45:14 +02:00
Adam Sawicki
59a3e7e885 Trying to setup Travis CI #2 2017-08-21 15:47:30 +02:00
Adam Sawicki
10844a8f1c Changed image memory barriers to fix validation layer errors. Simplified code - deleted functions CopyImage, TransitionImageLayout. 2017-08-16 17:32:09 +02:00
Adam Sawicki
0851377d4e Merge branch 'v2' 2017-07-13 16:14:04 +02:00
Adam Sawicki
b0425876ec Fix for Linux GCC cont'd. Enabled warning level 4 in Visual Studio for compilation of vk_mem_alloc.h. (Cherry pick from v1) 2017-07-04 15:47:00 +02:00
Adam Sawicki
86ccd63a98 Enabled warning level 4 in Visual Studio for compilation of vk_mem_alloc.h. 2017-07-04 14:57:53 +02:00
Adam Sawicki
2f16fa52d8 Small fixes merge from v2. 2017-07-04 14:43:20 +02:00
Adam Sawicki
819860e1f0 Submitting version 2.0.0-alpha.1 to separate branch. 2017-07-04 14:30:38 +02:00
Adam Sawicki
e6e498f63a First commit 2017-06-16 17:21:31 +02:00