[Mesa-dev] [PATCH 6/6] i965: Mark fallthrough in switch statement.

Matt Turner mattst88 at gmail.com
Tue May 24 20:23:10 UTC 2016


---
 src/mesa/drivers/dri/i965/brw_eu_emit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index d31943d..20fdfc1 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -2695,6 +2695,7 @@ brw_find_next_block_end(struct brw_codegen *p, int start_offset)
           */
          if (!while_jumps_before_offset(devinfo, insn, offset, start_offset))
             continue;
+         /* fallthrough */
       case BRW_OPCODE_ELSE:
       case BRW_OPCODE_HALT:
          if (depth == 0)
-- 
2.7.3



More information about the mesa-dev mailing list