summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/common.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2018-02-04 23:08:49 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-02-05 02:49:03 -0800
commitf92e45bb8c97287ced54e27e2a5ba66bcac66b19 (patch)
tree03b28e8f5fb5ec4212f68acbd866f08c0af252e1 /video/out/vulkan/common.h
parent92778873ad958db9d4ea360fb7240cf9b1c150f6 (diff)
downloadmpv-f92e45bb8c97287ced54e27e2a5ba66bcac66b19.tar.bz2
mpv-f92e45bb8c97287ced54e27e2a5ba66bcac66b19.tar.xz
vo_gpu: vulkan: try enabling required features
Instead of enabling every feature under the sun, make an effort to just whitelist the ones we actually might use. Turns out the extended storage format support is needed for some of the storage formats we use, in particular rgba16.
Diffstat (limited to 'video/out/vulkan/common.h')
-rw-r--r--video/out/vulkan/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vulkan/common.h b/video/out/vulkan/common.h
index b849b6dc0b..1a4c3b842f 100644
--- a/video/out/vulkan/common.h
+++ b/video/out/vulkan/common.h
@@ -72,4 +72,5 @@ struct mpvk_ctx {
// Cached capabilities
VkPhysicalDeviceLimits limits;
+ VkPhysicalDeviceFeatures features;
};