OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0bd76f
)
i965: Set class_sizes[] for the aligned reg pair class.
author
Eric Anholt
<eric@anholt.net>
Thu, 14 Oct 2010 02:21:32 +0000
(19:21 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 14 Oct 2010 17:42:55 +0000
(10:42 -0700)
So far, I've only seen this be a valgrind warning and not a real failure.
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
7119f97
..
c0fee11
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-2237,6
+2237,7
@@
fs_visitor::assign_regs()
aligned_pair_class = class_count;
classes[aligned_pair_class] = ra_alloc_reg_class(regs);
+ class_sizes[aligned_pair_class] = 2;
class_base_reg[aligned_pair_class] = 0;
class_reg_count[aligned_pair_class] = 0;
int start = (this->first_non_payload_grf & 1) ? 1 : 0;