Module: Mesa
Branch: master
Commit: 66672e791c1d9d8d168c661695b4959c122e3da5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=66672e791c1d9d8d168c661695b4959c122e3da5

Author: Christian Gmeiner <christian.gmei...@gmail.com>
Date:   Wed Jan 20 22:11:52 2016 +0100

freedreno: make opc array static const

Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
Signed-off-by: Rob Clark <robcl...@freedesktop.org>

---

 src/gallium/drivers/freedreno/ir3/disasm-a3xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c 
b/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c
index 1d5022b..5998724 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;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to