| author | |
| committer | |
| log | 5fe9620b779d27fad84c3f3c11d038aa68faba2c |
| tree | 360796bc58859024a4a30b278a88ce0a78ada4ba |
| parent | 7faf6be3535195b96b69fb9b8d12f16015d7ec36 |
This seems to be an accidental inclusion from a copy+paste and stops function from being used with ints.
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/36230
Reviewed-by: Ali Cheraghi <alichraghi@noreply.codeberg.org>1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/spirv.zig+1-1| ... | ... | @@ -97,7 +97,7 @@ pub fn specConst(T: type, comptime default_value: T, comptime spec_id: u32) T { |
| 97 | 97 | }, |
| 98 | 98 | .int, .float => return asm ( |
| 99 | 99 | \\%ret = OpSpecConstant %ty $default_value |
| 100 | \\ OpDecorate %ret SpecId $spec_id" | |
| 100 | \\ OpDecorate %ret SpecId $spec_id | |
| 101 | 101 | : [ret] "" (-> T), |
| 102 | 102 | : [ty] "t" (T), |
| 103 | 103 | [default_value] "c" (default_value), |