Update to latest SPIRV-Tools, supporting Vulkan 1.2.

This commit is contained in:
John Kessenich
2020-01-15 09:35:48 -07:00
parent 273d3a5093
commit c3bb5d6914
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ spv_target_env MapToSpirvToolsEnv(const SpvVersion& spvVersion, spv::SpvBuildLog
return spv_target_env::SPV_ENV_VULKAN_1_1;
}
case glslang::EShTargetVulkan_1_2:
return spv_target_env::SPV_ENV_UNIVERSAL_1_5; //?? should change to SPV_ENV_VULKAN_1_2, when available
return spv_target_env::SPV_ENV_VULKAN_1_2;
default:
break;
}