mpv/video/out/vulkan
Niklas Haas 0ba6c7d73f vo_gpu: vulkan: optimize redundant pipeline barriers
Using renderpass layout transitions is more optimal and doesn't require
a redundant pipeline barrier.

Since our render passes are static and don't change throughout the
lifetime of a ra_renderpass, we unfortunately don't have much
flexibility here - so just hard-code SHADER_READ_ONLY_OPTIMAL as the
output format as this will be the most common case.

We also can't short-circuit the transition when we need to preserve the
framebuffer contents, since that depends on the current layout; so we
still use an explicit tex_barrier in this case. (Most optimal for this
scenario would be an input attachment anyway)
2017-09-26 23:50:01 +02:00
..
common.h vo_gpu: vulkan: add support for wayland 2017-09-26 17:25:35 +02:00
context.c
context.h
context_wayland.c vo_gpu: vulkan: add support for wayland 2017-09-26 17:25:35 +02:00
context_xlib.c vo_gpu: vulkan: add support for wayland 2017-09-26 17:25:35 +02:00
formats.c
formats.h
malloc.c
malloc.h
ra_vk.c vo_gpu: vulkan: optimize redundant pipeline barriers 2017-09-26 23:50:01 +02:00
ra_vk.h
spirv_nvidia.c
utils.c vo_gpu: vulkan: add support for wayland 2017-09-26 17:25:35 +02:00
utils.h vo_gpu: vulkan: add support for wayland 2017-09-26 17:25:35 +02:00