Commit graph

14 commits

Author SHA1 Message Date
Sascha Willems
39852c4a27 Use proper buffer sizes 2019-11-19 18:02:49 +01:00
Sascha Willems
00982b70bb Added option for passing additional vertex/index buffer memory usage flags for loading models
Removed unused optional assimp flags
2019-04-23 08:15:23 +02:00
saschawillems
df223f5b9b Result (exit) codes for fatal terminations 2018-01-21 18:28:17 +01:00
saschawillems
a3e3dd999f Error message and hint to asset pack if asset loading (model, texture) fails 2017-12-11 22:14:34 +01:00
JarredDavies
ebf0a34ae7 Request memory with VK_MEMORY_PROPERTY_HOST_COHERENT_BIT enabled for model staging buffers.
There is no guarantee in the spec on the order of the following memory types:
                VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT,
                VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
    which means we can't assume that the first memory type with VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT is going to be coherent.
2017-12-01 16:25:23 +00:00
saschawillems
a57c8931e5 Log android error if model couldn't be loaded from asset manager 2017-03-09 20:00:55 +01:00
saschawillems
afef87681c uvscale as vec2 (Refs #282) 2017-02-13 19:34:05 +01:00
saschawillems
56426fc99d uvscale argument as vec2 (Fixes #282) 2017-02-13 19:32:44 +01:00
saschawillems
776b6f0106 Moved VulkanBuffer to vks namespce (Refs #260) 2017-02-12 10:44:51 +01:00
saschawillems
70f4daff5d Moved VulkanDevice to vks namespce (Refs #260) 2017-02-12 10:16:07 +01:00
saschawillems
d26fb8831e Error checking [skip CI] 2017-02-09 22:22:49 +01:00
saschawillems
5a50dfdc1c Parameter ordering for model class (put in line with texture class) 2017-02-04 14:59:31 +01:00
saschawillems
2bc1df7f87 Moved and renamed vertex layout components 2017-01-29 12:05:20 +01:00
saschawillems
509bbf9a03 Renamed file 2017-01-19 19:34:48 +01:00
Renamed from base/VulkanModelLoader.hpp (Browse further)