summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2016-01-20 22:11:52 +0100
committerRob Clark <[email protected]>2016-01-21 17:20:11 -0500
commit66672e791c1d9d8d168c661695b4959c122e3da5 (patch)
treeb55fea66d22d2279666eb826ddfc9634457a8879 /src
parentbc1a37378c194400c502939fc00e2e658f3db3b5 (diff)
freedreno: make opc array static const
Signed-off-by: Christian Gmeiner <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/freedreno/ir3/disasm-a3xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c b/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c
index 1d5022b69c7..599872470fc 100644
--- a/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c
+++ b/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c
@@ -650,7 +650,7 @@ static void print_instr_cat6(instr_t *instr)
/* size of largest OPC field of all the instruction categories: */
#define NOPC_BITS 6
-struct opc_info {
+static const struct opc_info {
uint16_t cat;
uint16_t opc;
const char *name;