projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4303d26
)
i965/fs: Add a couple more global special regs to special[]
author
Eric Anholt
<eric@anholt.net>
Mon, 31 Mar 2014 23:52:56 +0000
(16:52 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 8 Apr 2014 07:59:48 +0000
(
00:59
-0700)
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 <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 91b00b382d5cb4555d7bc52db21b1a4d3d90b96e..9e1bfecb04b4ebe4efcd829fc2febca24cac853d 100644
(file)
--- 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 */