v2: no need for break after an unreachable (Matt Turner) Signed-off-by: Francesco Ansanelli <franci...@gmail.com> --- src/gallium/drivers/freedreno/a2xx/disasm-a2xx.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers/freedreno/a2xx/disasm-a2xx.c b/src/gallium/drivers/freedreno/a2xx/disasm-a2xx.c index f00d5d4..fc309e8 100644 --- a/src/gallium/drivers/freedreno/a2xx/disasm-a2xx.c +++ b/src/gallium/drivers/freedreno/a2xx/disasm-a2xx.c @@ -111,6 +111,8 @@ static void print_export_comment(uint32_t num, enum shader_t type) case 0: name = "gl_FragColor"; break; } break; + case SHADER_COMPUTE: + unreachable("not reached"); } /* if we had a symbol table here, we could look * up the name of the varying.. -- 1.7.9.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev