| ... | @@ -4510,7 +4510,7 @@ pub fn callconvSupported(zcu: *Zcu, cc: std.builtin.CallingConvention) union(enu | ... | @@ -4510,7 +4510,7 @@ pub fn callconvSupported(zcu: *Zcu, cc: std.builtin.CallingConvention) union(enu |
| 4510 | }, | 4510 | }, |
| 4511 | .stage2_spirv => switch (cc) { | 4511 | .stage2_spirv => switch (cc) { |
| 4512 | .spirv_device, .spirv_kernel => true, | 4512 | .spirv_device, .spirv_kernel => true, |
| 4513 | .spirv_fragment, .spirv_vertex => target.os.tag == .vulkan, | 4513 | .spirv_fragment, .spirv_vertex => target.os.tag == .vulkan or target.os.tag == .opengl, |
| 4514 | else => false, | 4514 | else => false, |
| 4515 | }, | 4515 | }, |
| 4516 | }; | 4516 | }; |