From 3f6d9a3a75e2615866f8ed2cd0015fabea6490b7 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 6 Sep 2021 22:55:51 +0200 Subject: Load gltf materials + diffuse and specular brdf --- src/vk-context.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vk-context.cpp') diff --git a/src/vk-context.cpp b/src/vk-context.cpp index 2f909ff..d68dca9 100644 --- a/src/vk-context.cpp +++ b/src/vk-context.cpp @@ -118,6 +118,7 @@ void vkcontext::create_device() { physical_device_12_features.bufferDeviceAddress = VK_TRUE; physical_device_12_features.runtimeDescriptorArray = VK_TRUE; physical_device_12_features.shaderStorageImageArrayNonUniformIndexing = VK_TRUE; + physical_device_12_features.shaderSampledImageArrayNonUniformIndexing = VK_TRUE; physical_device_12_features.descriptorBindingPartiallyBound = VK_TRUE; physical_device_12_features.descriptorBindingPartiallyBound = VK_TRUE; physical_device_12_features.descriptorBindingUpdateUnusedWhilePending = VK_TRUE; -- cgit v1.3