summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-12-19 12:55:13 -0800
committerMatt Turner <[email protected]>2014-12-19 12:55:13 -0800
commita5481d6fbba9bcaa0c7d49ae0a3580fee21041a6 (patch)
treeb6e0707f9cb4b977d09287a090479cfb4fdb6218 /src/mesa/drivers
parente06b0778f59980429fececb1aa0de0f0a3f23427 (diff)
i965/fs: Add missing const qualifier.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
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,