i965/fs: Add missing const qualifier.
authorMatt Turner <mattst88@gmail.com>
Fri, 19 Dec 2014 20:55:13 +0000 (12:55 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 19 Dec 2014 20:55:13 +0000 (12:55 -0800)
src/mesa/drivers/dri/i965/brw_fs.cpp

index 578d8c1264af898f2d5e8a7559ed06dfe91f356b..3639ed28de1f0141cb358b19bc73c502c28bfa4d 100644 (file)
@@ -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,