diff options
Diffstat (limited to 'tools/cnn_v2_test/index.html')
| -rw-r--r-- | tools/cnn_v2_test/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cnn_v2_test/index.html b/tools/cnn_v2_test/index.html index 88c4733..cab20ea 100644 --- a/tools/cnn_v2_test/index.html +++ b/tools/cnn_v2_test/index.html @@ -414,13 +414,13 @@ fn main(@builtin(global_invocation_id) id: vec3<u32>) { let d = textureLoad(depth_tex, coord, 0).r; let uv_x = f32(coord.x) / f32(dims.x); let uv_y = 1.0 - (f32(coord.y) / f32(dims.y)); - let sin10_x = sin(10.0 * uv_x); + let sin20_y = sin(20.0 * uv_y); let packed = vec4<u32>( pack2x16float(vec2<f32>(rgba.r, rgba.g)), pack2x16float(vec2<f32>(rgba.b, d)), pack2x16float(vec2<f32>(uv_x, uv_y)), - pack2x16float(vec2<f32>(sin10_x, 1.0)) + pack2x16float(vec2<f32>(sin20_y, 1.0)) ); textureStore(output_tex, coord, packed); }`; |
