Vladimír Vondruš
22f918dffd
Vk: some more docs / tips for pipeline barriers.
5 years ago
Vladimír Vondruš
14389c99d5
Vk: save current dynamic state on a pipeline bind.
...
Will be used for the draw() command.
5 years ago
Vladimír Vondruš
5604ccf3cd
Vk: implement binding a pipeline.
5 years ago
Vladimír Vondruš
18cced3e6b
Vk: add an execution-only pipelineBarrier() overload.
...
Useful for WAR barriers. I also *finally* get why is it called a
pipeline barrier and not a memory barrier.
5 years ago
Vladimír Vondruš
79c3519045
Vk: add driver workaround scaffolding and the first one for SwiftShader.
...
Yay? It's funny, what produces correct result causes validation errors.
I suppose this will be very similar for all other workarounds.
5 years ago
Vladimír Vondruš
47add2f7dd
Vk: implement image clears, buffer, image and buffer/image copies.
...
Since depth/stencil images can't be linear, I needed buffer/image copies
to test those, and conversely to test buffer/image copies I needed image
clears.
A pretty big chunk of work, and it led to a discovery of a SwiftShader
bug, which I will work around next. First Vulkan driver workaround, so
the whole scaffolding needs to get added as well.
5 years ago
Vladimír Vondruš
7b431a6dfb
Vk: implement a buffer fill command.
5 years ago
Vladimír Vondruš
dc3502d921
Vk: convenience cmd.pipelineBarrier() overloads.
...
Another thing I realized while writing docs, having to always put the
{}, {} things there is silly, and in many cases we need just one, not
all of them.
5 years ago
Vladimír Vondruš
aae41288e8
Vk: implement a pipeline barrier command.
5 years ago
Vladimír Vondruš
daf175b797
Vk: add assertions to prevent information loss in Vulkan 1.1 fallbacks.
...
Usually the validation layers should be expected to catch this, but in
this case we omit the pNext structure chain before it has a chance to be
caught by the layer, so the assert is needed.
5 years ago
Vladimír Vondruš
ef107e4dad
Vk: doc++
5 years ago
Vladimír Vondruš
e1930d7929
Vk: doc++
5 years ago
Vladimír Vondruš
bf671d272c
Vk: finally *some* docs on command buffer and render pass usage.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
4a49b3a770
Vk: implement render pass begin / end / next commands.
5 years ago
Vladimír Vondruš
7ee30c55e3
Vk: command buffer begin and end.
5 years ago
Vladimír Vondruš
b977a14214
Vk: unneeded include.
...
Probably a leftover from before the moment when I realized I can't use
a Reference due to the NoCreate constructor.
5 years ago
Vladimír Vondruš
a62e2b8f09
Vk: start writing some actual docs.
...
Because I put this on hold for two months and almost forgot what design
guidelines I wanted to follow and how the heck is the whole thing used.
6 years ago
Vladimír Vondruš
b45c9c310f
Vk: command pool and buffer reset.
6 years ago
Vladimír Vondruš
2353ba8c1a
Vk: command buffer allocation.
6 years ago