================
@@ -456,6 +456,7 @@ defm VulkanMemoryModelDeviceScopeKHR : 
CapabilityOperand<5346, 0, 0, [], []>;
 defm ImageFootprintNV : CapabilityOperand<5282, 0, 0, [], []>;
 defm FragmentBarycentricNV : CapabilityOperand<5284, 0, 0, [], []>;
 defm ComputeDerivativeGroupQuadsNV : CapabilityOperand<5288, 0, 0, [], []>;
+defm DemoteToHelperInvocation : CapabilityOperand<5379, 0, 0, 
[SPV_EXT_demote_to_helper_invocation], []>;
----------------
inbelic wrote:

```suggestion
defm DemoteToHelperInvocation : CapabilityOperand<5379, 0x00010600, 0, 
[SPV_EXT_demote_to_helper_invocation], []>;
```
We could specify the minimum version. Following format from here but I think 
you can remove some leading zeros: 
https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_physical_layout_of_a_spir_v_module_and_instruction

https://github.com/llvm/llvm-project/pull/114588
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to