[Mesa-dev] [PATCH] r600g: Add missing break for callstack_push FC_PUSH_WQM case.

Vinson Lee vlee at freedesktop.org
Fri Sep 27 23:56:52 PDT 2013


Fixes "Missing break in switch" reported by Coverity.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 src/gallium/drivers/r600/r600_shader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index ce15cd7..d6cbfd7 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -5337,6 +5337,7 @@ static inline void callstack_push(struct r600_shader_ctx *ctx, unsigned reason)
 		break;
 	case FC_PUSH_WQM:
 		++ctx->bc->stack.push_wqm;
+		break;
 	case FC_LOOP:
 		++ctx->bc->stack.loop;
 		break;
-- 
1.8.3.2



More information about the mesa-dev mailing list