Compare commits
No commits in common. "daynight" and "master" have entirely different histories.
|
|
@ -23,11 +23,8 @@ fn on_fragment(in: Varying) -> @location(0) u32 {
|
||||||
let state = a.y;
|
let state = a.y;
|
||||||
let n = a.x + a.z + a.w + b.x + b.y + c.y + c.z + d.y;
|
let n = a.x + a.z + a.w + b.x + b.y + c.y + c.z + d.y;
|
||||||
switch (n) {
|
switch (n) {
|
||||||
|
case 2u: { return state; }
|
||||||
case 3u: { return 1u; }
|
case 3u: { return 1u; }
|
||||||
case 4u: { return state; }
|
|
||||||
case 6u: { return 1u; }
|
|
||||||
case 7u: { return 1u; }
|
|
||||||
case 8u: { return 1u; }
|
|
||||||
default: { return 0u; }
|
default: { return 0u; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user