Commit 616e69c807
Changed files (1)
src
src/Zcu.zig
@@ -4510,7 +4510,7 @@ pub fn callconvSupported(zcu: *Zcu, cc: std.builtin.CallingConvention) union(enu
},
.stage2_spirv => switch (cc) {
.spirv_device, .spirv_kernel => true,
- .spirv_fragment, .spirv_vertex => target.os.tag == .vulkan,
+ .spirv_fragment, .spirv_vertex => target.os.tag == .vulkan or target.os.tag == .opengl,
else => false,
},
};