>>> docker exec -it CONTAINERID /bin/sh
/app # telnet
/bin/sh: telnet: not found
/app # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
v3.7.0-243-gf26e75a186 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main]
v3.7.0-229-g087f28e29d [http://dl-cdn.alpinelinux.org/alpine/v3.7/community]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// each pixel is assigned 4 random u32 values per frame | |
@group(0) @binding(1) | |
var<storage, read> rnd_state: array<u32>; | |
// the current state within this pixel | |
var<private> local_rnd_state:vec4u; | |
fn random_u32(state:ptr<private,vec4u>) -> u32 { | |
var st:vec4u = *state; | |
/* Algorithm "xor128" from p. 5 of Marsaglia, "Xorshift RNGs" */ |