summaryrefslogtreecommitdiffstats
path: root/test_buffer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test_buffer.sh')
-rwxr-xr-xtest_buffer.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/test_buffer.sh b/test_buffer.sh
index e3e6520..20d32e6 100755
--- a/test_buffer.sh
+++ b/test_buffer.sh
@@ -45,16 +45,17 @@ fn fs_main(@location(0) uv: vec2<f32>) -> @location(0) vec4<f32> {
'
oscsend "$HOST" "$PORT" /texture/tex1 s "$TSV_SRC"
oscsend "$HOST" "$PORT" /sampler/samp1 ss nearest repeat
-oscsend "$HOST" "$PORT" /shader s "$SHADER"
-oscsend "$HOST" "$PORT" /binding/video s /texture/tex1
-oscsend "$HOST" "$PORT" /binding/s s /sampler/samp1
+oscsend "$HOST" "$PORT" /module/package::main s "$SHADER"
+oscsend "$HOST" "$PORT" /entrypoint s package::main
+oscsend "$HOST" "$PORT" /binding/package::main/video s /texture/tex1
+oscsend "$HOST" "$PORT" /binding/package::main/s s /sampler/samp1
spawn tsv-view
echo "Playing video buffer (Ctrl+C to stop)..."
T=0
while true; do
- oscsend "$HOST" "$PORT" /uniform/time f "$T"
+ oscsend "$HOST" "$PORT" /uniform/package::main/time f "$T"
T=$((T+1 % 60))
sleep 0.016
done