| author | |
| committer | |
| log | 616e69c80745cdc872b1db5ad63b919d82d9e9cb |
| tree | dfda5b97b88173e41676f27a70b763bbc28e2298 |
| parent | 4d1010d36c69a88a94494f155ba22490d562e3e8 |
The support was already there but somebody forgot to allow to use the
calling conventions spirv_fragment and spirv_vertex when having opengl
as os tag.1 files changed, 1 insertions(+), 1 deletions(-)
src/Zcu.zig+1-1| ... | ... | @@ -4510,7 +4510,7 @@ pub fn callconvSupported(zcu: *Zcu, cc: std.builtin.CallingConvention) union(enu |
| 4510 | 4510 | }, |
| 4511 | 4511 | .stage2_spirv => switch (cc) { |
| 4512 | 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 | 4514 | else => false, |
| 4515 | 4515 | }, |
| 4516 | 4516 | }; |