summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/shader_cache.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-01-29 13:28:08 +0100
committerDudemanguy <random342@airmail.cc>2023-02-02 14:23:02 +0000
commit0a4b139ddf2d24d18cc70f779fa7022ca6b601b6 (patch)
tree8e3bb643841dc570e4415f856cd704d97cb6e3ee /video/out/gpu/shader_cache.c
parent08cd7c1e290083caf2707cae3b13f733c4e6b290 (diff)
downloadmpv-0a4b139ddf2d24d18cc70f779fa7022ca6b601b6.tar.bz2
mpv-0a4b139ddf2d24d18cc70f779fa7022ca6b601b6.tar.xz
osdep: add MP_FALLTHROUGH
Diffstat (limited to 'video/out/gpu/shader_cache.c')
-rw-r--r--video/out/gpu/shader_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/shader_cache.c b/video/out/gpu/shader_cache.c
index 302508b543..9eedb1cd07 100644
--- a/video/out/gpu/shader_cache.c
+++ b/video/out/gpu/shader_cache.c
@@ -699,7 +699,7 @@ static void add_uniforms(struct gl_shader_cache *sc, bstr *dst)
case RA_VARTYPE_INT:
case RA_VARTYPE_FLOAT:
assert(sc->ra->caps & RA_CAP_GLOBAL_UNIFORM);
- // fall through
+ MP_FALLTHROUGH;
case RA_VARTYPE_TEX:
// Vulkan requires explicitly assigning the bindings in the shader
// source. For OpenGL it's optional, but requires higher GL version