From: Matt Turner Date: Fri, 19 Dec 2014 20:55:13 +0000 (-0800) Subject: i965/fs: Add missing const qualifier. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5481d6fbba9bcaa0c7d49ae0a3580fee21041a6;p=mesa.git i965/fs: Add missing const qualifier. --- 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,