vulkan/context: activate runtime array indexing and non-uniform accesses

We use them everywhere in Vulkan in FFmpeg now.
This commit is contained in:
Lynne authored and Kacper Michajłow committed 2026-05-19 17:35:08 +02:00
1 parent a16b333eef
commit 873a1e8a24
1 file changed
+5
+5
View File
@@ -350,6 +350,11 @@ pl_vulkan mppl_create_vulkan(struct vulkan_opts *opts,
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES,
.pNext = &atomic_float_feature,
.scalarBlockLayout = true,
.shaderUniformBufferArrayNonUniformIndexing = true,
.shaderSampledImageArrayNonUniformIndexing = true,
.shaderStorageBufferArrayNonUniformIndexing = true,
.shaderStorageImageArrayNonUniformIndexing = true,
.runtimeDescriptorArray = true,
.shaderBufferInt64Atomics = true,
.uniformBufferStandardLayout = true,
};