Skip to content

Commit

Permalink
use SPDFloat in custom filter
Browse files Browse the repository at this point in the history
  • Loading branch information
JolifantoBambla committed Apr 24, 2024
1 parent b003699 commit 65098c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h4>Downsample options</h4>
<div>
<label for="customFilterCode">Custom filter code</label>
<div>
<textarea id="customFilterCode" type="text" cols="120" rows="1">fn spd_reduce_4(v0: vec4<f32>, v1: vec4<f32>, v2: vec4<f32>, v3: vec4<f32>) -> vec4<f32> { return v0; }</textarea>
<textarea id="customFilterCode" type="text" cols="120" rows="1">fn spd_reduce_4(v0: vec4<SPDFloat>, v1: vec4<SPDFloat>, v2: vec4<SPDFloat>, v3: vec4<SPDFloat>) -> vec4<SPDFloat> { return v0; }</textarea>
</div>
</div>
<div>
Expand Down

0 comments on commit 65098c2

Please sign in to comment.