File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -621,6 +621,26 @@ Result DeviceImpl::initVulkanInstanceAndDevice(
621
621
{
622
622
deviceExtensions.add (VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_EXTENSION_NAME);
623
623
}
624
+ if (extensionNames.Contains (VK_NVX_BINARY_IMPORT_EXTENSION_NAME))
625
+ {
626
+ deviceExtensions.add (VK_NVX_BINARY_IMPORT_EXTENSION_NAME);
627
+ m_features.add (" nvx-binary-import" );
628
+ }
629
+ if (extensionNames.Contains (VK_NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME))
630
+ {
631
+ deviceExtensions.add (VK_NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME);
632
+ m_features.add (" nvx-image-view-handle" );
633
+ }
634
+ if (extensionNames.Contains (VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME))
635
+ {
636
+ deviceExtensions.add (VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
637
+ m_features.add (" push-descriptor" );
638
+ }
639
+ if (extensionNames.Contains (VK_NV_FRAGMENT_SHADER_BARYCENTRIC_EXTENSION_NAME))
640
+ {
641
+ deviceExtensions.add (VK_NV_FRAGMENT_SHADER_BARYCENTRIC_EXTENSION_NAME);
642
+ m_features.add (" barycentrics" );
643
+ }
624
644
}
625
645
if (m_api.m_module ->isSoftware ())
626
646
{
You can’t perform that action at this time.
0 commit comments