[Mesa-dev] [PATCH 12/13] i965/disasm: Mark three_source_reg_encoding[] static.

Matt Turner mattst88 at gmail.com
Sun Jun 15 10:19:36 PDT 2014


---
 src/mesa/drivers/dri/i965/brw_disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 99052f8..c10a12f 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -259,7 +259,7 @@ static const char * const reg_encoding[8] = {
     [7] = "F"
 };
 
-const char * const three_source_reg_encoding[] = {
+static const char * const three_source_reg_encoding[] = {
    [BRW_3SRC_TYPE_F]  = "F",
    [BRW_3SRC_TYPE_D]  = "D",
    [BRW_3SRC_TYPE_UD] = "UD",
-- 
1.8.3.2



More information about the mesa-dev mailing list