@@ -277,18 +277,19 @@ def SPV_DeviceTypeAttr : SPV_EnumAttr<
277
277
]>;
278
278
279
279
def SPV_V_AMD : I32EnumAttrCase<"AMD", 0>;
280
- def SPV_V_ARM : I32EnumAttrCase<"ARM", 1>;
281
- def SPV_V_Imagination : I32EnumAttrCase<"Imagination", 2>;
282
- def SPV_V_Intel : I32EnumAttrCase<"Intel", 3>;
283
- def SPV_V_NVIDIA : I32EnumAttrCase<"NVIDIA", 4>;
284
- def SPV_V_Qualcomm : I32EnumAttrCase<"Qualcomm", 5>;
285
- def SPV_V_SwiftShader : I32EnumAttrCase<"SwiftShader", 6>;
286
- def SPV_V_Unknown : I32EnumAttrCase<"Unknown", 7>;
280
+ def SPV_V_Apple : I32EnumAttrCase<"Apple", 1>;
281
+ def SPV_V_ARM : I32EnumAttrCase<"ARM", 2>;
282
+ def SPV_V_Imagination : I32EnumAttrCase<"Imagination", 3>;
283
+ def SPV_V_Intel : I32EnumAttrCase<"Intel", 4>;
284
+ def SPV_V_NVIDIA : I32EnumAttrCase<"NVIDIA", 5>;
285
+ def SPV_V_Qualcomm : I32EnumAttrCase<"Qualcomm", 6>;
286
+ def SPV_V_SwiftShader : I32EnumAttrCase<"SwiftShader", 7>;
287
+ def SPV_V_Unknown : I32EnumAttrCase<"Unknown", 0xff>;
287
288
288
289
def SPV_VendorAttr : SPV_EnumAttr<
289
290
"Vendor", "recognized SPIR-V vendor strings", "vendor", [
290
- SPV_V_AMD, SPV_V_ARM, SPV_V_Imagination, SPV_V_Intel ,
291
- SPV_V_NVIDIA, SPV_V_Qualcomm, SPV_V_SwiftShader,
291
+ SPV_V_AMD, SPV_V_Apple, SPV_V_ARM, SPV_V_Imagination ,
292
+ SPV_V_Intel, SPV_V_NVIDIA, SPV_V_Qualcomm, SPV_V_SwiftShader,
292
293
SPV_V_Unknown
293
294
]>;
294
295
0 commit comments