From a5481d6fbba9bcaa0c7d49ae0a3580fee21041a6 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 19 Dec 2014 12:55:13 -0800 Subject: [PATCH] i965/fs: Add missing const qualifier. --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 578d8c1264a..3639ed28de1 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3567,7 +3567,7 @@ fs_visitor::allocate_registers() { bool allocated_without_spills; - static enum instruction_scheduler_mode pre_modes[] = { + static const enum instruction_scheduler_mode pre_modes[] = { SCHEDULE_PRE, SCHEDULE_PRE_NON_LIFO, SCHEDULE_PRE_LIFO, -- 2.30.2