Support SPIR-V 1.2.

It's the default with recent spirv-as, so be more friendly.
This commit is contained in:
Hans-Kristian Arntzen 2017-05-22 13:59:58 +02:00
parent a0d0a0ec9e
commit e5595270c7

View File

@ -707,6 +707,7 @@ static bool is_valid_spirv_version(uint32_t version)
case 99:
case 0x10000: // SPIR-V 1.0
case 0x10100: // SPIR-V 1.1
case 0x10200: // SPIR-V 1.2
return true;
default: