diff options
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c')
-rw-r--r-- | lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c b/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c index 875271883..ea2ec780f 100644 --- a/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c +++ b/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c @@ -408,7 +408,9 @@ lp_build_swizzle_aos(struct lp_build_context *bld, switch (swizzles[i]) { default: assert(0); +#if defined(NDEBUG) || defined(DEBUG) FALLTHROUGH; +#endif case PIPE_SWIZZLE_X: case PIPE_SWIZZLE_Y: case PIPE_SWIZZLE_Z: |