aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-03-31 16:52:56 -0700
committerEric Anholt <[email protected]>2014-04-08 00:59:48 -0700
commit14b85e3a47b19ffe9c96f67b43f780f8abc86061 (patch)
tree88a714717594af45aedfe8f43b72dd782640db49 /src
parent4303d26f93919914fa58c0418a3935235d5ae359 (diff)
i965/fs: Add a couple more global special regs to special[]
Nothing bad came of this because they weren't used after visitor running, but leaving them in a bad state seems like a recipe for pain later. Suggested-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 91b00b382d5..9e1bfecb04b 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1736,6 +1736,8 @@ fs_visitor::compact_virtual_grfs()
{ outputs, ARRAY_SIZE(outputs) },
{ delta_x, ARRAY_SIZE(delta_x) },
{ delta_y, ARRAY_SIZE(delta_y) },
+ { &sample_mask, 1 },
+ { &shader_start_time, 1 },
};
/* Treat all special values as used, to be conservative */