Squareys
c2040d49fa
Vk: Add ability to get descriptor from buffer and check an error
10 years ago
Squareys
ba28bdafd3
Vk: Improve PhysicalDevice::getMemoryType(...) and doc++
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
7fbacd285f
Vk: doc++ for CommandBuffer
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
5a6470346d
Vk: Changes to PhysicalDevice
10 years ago
Squareys
15fb4a69fc
Vk: Add Texture class
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
a851d3063c
Vk: Add more and missing source files to CMakeLists.txt
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
74d5c78a5b
Vk: Add begin and end commands
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
ef13e7f69f
Vk: Add Mesh
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
936f32af9d
Vk: Lazily initialize physical device memory properties
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
a68c3cf46b
Vk: Add function for creating persp proj matrix with [0,1] clipping range
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
ca6b6337e7
Vk: Add GraphicsPipelineBuilder
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
cac8f8552c
Vk: Rename Context to Instance to match Vulkan naming
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
62ba27ee31
Vk: Enhance Framebuffer, Image, Pipeline wrap DescriptorPool, DescriptorSet
...
Signed-off-by: Squareys <squareys@googlemail.com>
More WIP
Signed-off-by: Squareys <squareys@googlemail.com>
WIP
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
5b531f4f8a
Vk: Improve pipelineBarrier and beginRenderPass commands
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
fb3aeef676
Re-add C++14 flags
...
Got lost during some git difficulties
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
c25faa3f1d
Some merge conflicts resolved WIP
...
I hope this concludes this git dilemma :P
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
c585d60da1
Vk: Wrap many Vulkan types
...
* Buffer
* Command
* CommandBuffer
* Device & PhysicalDevice
* DeviceMemory
* Framebuffer
* Image & ImageView
* Shader
* Semaphore
* Swapchain
* RenderPass
* Queue
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
3b16f136ad
Vk: Fix Validation enum
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
582e799800
Vk: Add some Nvidia specific VkResults and required win32 surface ext
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
bdd3d9b66a
Vk: Continue context setup
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
d06ec5a3b3
Vk: Add AbstractVulkanTester
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
56873793c7
Vk: Add ContextTest
...
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
a73b2724e1
Vk: Add Context
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
cf3d958f1b
modules: Add Magnum::Vk to FindMagnum.cmake
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
e768dabb5c
[TODO] Platform: Add Vulkan library to GlfwApplication
...
TODO: Add to FindMagnum.cmake
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
0a8e323938
Vk: Add to cmake project
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
778e3893f2
Vk: Add visibility.h
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
de2ba765e3
Platform: Add createVkSurface to GlfwApplication
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
9d83e2795d
modules: Add FindVulkan.cmake
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
e288d5b236
Add TARGET_VULKAN option
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Vladimír Vondruš
2ed3fba575
Adapted plugin constructor signatures to Corrade::PluginManager updates.
10 years ago
Vladimír Vondruš
a960a3d8cd
Math: initialize BoolVector to silence compiler warnings.
10 years ago
Vladimír Vondruš
db3ef59ddc
MeshTools: don't use deprecated functionality.
10 years ago
Vladimír Vondruš
9de8fb9a67
Math: expect minor sRGB monotonicity test failure on Emscripten -O3 build.
...
The debug output isn't even able to print the difference as it is
differing *very* little.
10 years ago
Vladimír Vondruš
5a0be1dfee
Math: document the test repeats to avoid confusion.
10 years ago
Vladimír Vondruš
1f2af862dc
Doc++
10 years ago
Vladimír Vondruš
bdb6daec82
Math: new Half literal class.
10 years ago
Vladimír Vondruš
16ef1ae0b6
Math: functions for half-float (un)packing.
...
Most of the code is in the actual test where I'm comparing and
benchmarking three different implementations (a
naive/straightforward/ground-truth one, the chosen one and a fast though
cache-spilling table-based one) to ensure the behavior is consistent
across all of them and that the performance is within reasonable bounds.
The Corrade::TestSuite benchmarking stuff needs serious improvements,
though.
10 years ago
Vladimír Vondruš
c8cc1dc88e
Math: expect failure in SVD test only on non-optimized Emscripten builds.
...
Emscripten 1.37.1 with -O3 doesn't fail there.
10 years ago
Vladimír Vondruš
9ebc1068cb
Math: missing include after updates in Corrade::TestSuite.
10 years ago
Vladimír Vondruš
502d59c2a8
Math: ability to specify number of integer bits for {un,}pack().
...
This also allowed me to get rid of the <limits> header.
10 years ago
Vladimír Vondruš
996c707cbc
Math: reduced code duplication in vector packing functions.
...
This should also improve debug performance as there is less code to
inline.
10 years ago
Vladimír Vondruš
aaa38d3570
MeshTools: got rid of <limits> dependency in removeDuplicates().
10 years ago
Vladimír Vondruš
54c7b8d775
Math: document why unpacking is done this way.
10 years ago
Vladimír Vondruš
e5fe46949e
Math: got rid of <limits> dependency in Constants.h.
...
The tests still pass, so why not.
10 years ago
Vladimír Vondruš
6944818cc6
Math: improved packing test with in-range values to verify rounding.
10 years ago
Vladimír Vondruš
dd2058cee3
Math: renamed {de,}normalize() to {,un}pack() in a new Packing.h header.
...
To be more consistent with GLSL naming. Also, the original naming was
quite misleading, as normalize() is used in GLSL for something
completely different.
If building with deprecated APIs, the Functions.h header includes the
new Packing.h header and the {de,}normalize() functions are defined as
deprecated aliases to the new functions. This will be removed at some
point in the future.
10 years ago
Vladimír Vondruš
543782d78b
Math: added Algorithms::kahanSum().
...
The test is running pretty slow on debug builds, though (sorry). I see
no way how to make it faster while still exposing the issues with
std::accumulate().
10 years ago
Vladimír Vondruš
8679402f24
Equality comparison operators for PixelStorage.
10 years ago
Vladimír Vondruš
72c29d27c1
package/debian: properly specify minimal CMake version.
10 years ago