SPV: Fix #1487: Only declare AMD int16/half_float extensions when needed.

This commit is contained in:
John Kessenich
2018-09-10 18:10:51 -06:00
parent 546b78854a
commit afe0c66f65
9 changed files with 19 additions and 21 deletions

View File

@@ -14,7 +14,6 @@ error: Capability Float16 is not allowed by Vulkan 1.0 specification (or require
Capability Int16
Capability StorageUniform16
Capability StorageInputOutput16
Extension "SPV_AMD_gpu_shader_half_float"
Extension "SPV_AMD_gpu_shader_int16"
Extension "SPV_KHR_16bit_storage"
1: ExtInstImport "GLSL.std.450"