diff options
author | Rob Clark <robdclark@chromium.org> | 2020-02-29 11:16:43 -0800 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-03-07 09:22:17 -0800 |
commit | 27d4de2bb9bfd9c425848c78d729ba27f9408041 (patch) | |
tree | a24b18a3e42fbddce55d9fbc91076a1c62443eec /cube-tex.c | |
parent | f20dc5e295a8605bcbfacbbe487e5452a9e7e312 (diff) | |
download | kmscube-27d4de2bb9bfd9c425848c78d729ba27f9408041.tar.gz |
add shadertoy mode
Doesn't handle shadertoy shaders which use textures for inputs. That
probably wouldn't be straightforward without using the web API to fetch
and introspect the shader. But that sounds like a lot more work.
Diffstat (limited to 'cube-tex.c')
-rw-r--r-- | cube-tex.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -516,8 +516,7 @@ static int init_tex(enum mode mode) return init_tex_nv12_2img(); case NV12_1IMG: return init_tex_nv12_1img(); - case SMOOTH: - case VIDEO: + default: assert(!"unreachable"); return -1; } |