big rework towards Zig 0.15
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[nzsl_version("1.0")]
|
||||
[nzsl_version("1.1")]
|
||||
[desc("Mandelbrot shader from http://nuclear.mutantstargoat.com/articles/sdr_fract")]
|
||||
[feature(primitive_externals)] //< Required since SFML doesn't use UBO
|
||||
module;
|
||||
@@ -53,8 +53,8 @@ fn main(input: Input) -> Output
|
||||
else
|
||||
u = 0.0;
|
||||
|
||||
let out: Output;
|
||||
out.color = palette.Sample(vec2[f32](u, 0.0));
|
||||
let output: Output;
|
||||
output.color = palette.Sample(vec2[f32](u, 0.0));
|
||||
|
||||
return out;
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user