aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a2xx
diff options
context:
space:
mode:
author[email protected] <[email protected]>2016-07-22 08:28:46 +0200
committerRob Clark <[email protected]>2016-07-23 09:14:18 -0400
commitc99cdd21756161eb26b703af983370b905df2c6a (patch)
tree21cb1ac1f0780015b8865fc7a31046137bc25689 /src/gallium/drivers/freedreno/a2xx
parent700de07771a1b6ce2a63b063fcc196c5b26cffe3 (diff)
freedreno/a2xx: silence missing case 'SHADER_COMPUTE' warning (v2)
v2: no need for break after an unreachable (Matt Turner) Signed-off-by: Francesco Ansanelli <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx')
-rw-r--r--src/gallium/drivers/freedreno/a2xx/disasm-a2xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/disasm-a2xx.c b/src/gallium/drivers/freedreno/a2xx/disasm-a2xx.c
index f00d5d4dcf5..fc309e8b495 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..