summaryrefslogtreecommitdiff
path: root/cnn_v2
diff options
context:
space:
mode:
Diffstat (limited to 'cnn_v2')
-rw-r--r--cnn_v2/shaders/cnn_v2_compute.wgsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cnn_v2/shaders/cnn_v2_compute.wgsl b/cnn_v2/shaders/cnn_v2_compute.wgsl
index cdbfd74..c788f69 100644
--- a/cnn_v2/shaders/cnn_v2_compute.wgsl
+++ b/cnn_v2/shaders/cnn_v2_compute.wgsl
@@ -132,7 +132,7 @@ fn main(@builtin(global_invocation_id) id: vec3<u32>) {
// Blend with original on final layer
if (is_output) {
let original = textureLoad(original_input, coord, 0).rgb;
- let result_rgb = vec3<f32>(output.x, output.y, output.z);
+ let result_rgb = vec3f(output.x, output.y, output.z);
let blended = mix(original, result_rgb, params.blend_amount);
output.x = blended.r;
output.y = blended.g;