Add support for targeting Vulkan 1.2 in the C API
authorLynne <dev@lynne.ee>
Mon, 8 Nov 2021 09:48:38 +0000 (10:48 +0100)
committerLynne <dev@lynne.ee>
Mon, 8 Nov 2021 09:48:38 +0000 (10:48 +0100)
glslang/CInterface/glslang_c_interface.cpp

index 2e04f53..4fdeff7 100644 (file)
@@ -269,6 +269,8 @@ static glslang::EShTargetClientVersion c_shader_client_version(glslang_target_cl
     switch (client_version) {
     case GLSLANG_TARGET_VULKAN_1_1:
         return glslang::EShTargetVulkan_1_1;
+    case GLSLANG_TARGET_VULKAN_1_2:
+        return glslang::EShTargetVulkan_1_2;
     case GLSLANG_TARGET_OPENGL_450:
         return glslang::EShTargetOpenGL_450;
     default: