aboutsummaryrefslogtreecommitdiffstats
path: root/src/vk-context.cpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2021-09-06 22:55:51 +0200
committerladevieq <ladevie.quentin@gmail.com>2021-09-06 22:55:51 +0200
commit3f6d9a3a75e2615866f8ed2cd0015fabea6490b7 (patch)
tree077e568cca0a8823f0b361f570a2d76b43011aac /src/vk-context.cpp
parentbf512216323f3df55627421bb0187ed364d58340 (diff)
Load gltf materials + diffuse and specular brdf
Diffstat (limited to 'src/vk-context.cpp')
-rw-r--r--src/vk-context.cpp1
1 files changed, 1 insertions, 0 deletions
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;