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:
e1aa3c2
)
i965: Align the number of payload regs to 2 again in 16-wide mode.
author
Eric Anholt
<eric@anholt.net>
Mon, 30 Aug 2010 17:47:05 +0000
(10:47 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 30 Aug 2010 17:47:05 +0000
(10:47 -0700)
Fixes a regression in point-line-no-cull and glean/paths tests since
501c9dc62774a73c080d500a1eab773b0da9577e
.
src/mesa/drivers/dri/i965/brw_wm_pass2.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_pass2.c
b/src/mesa/drivers/dri/i965/brw_wm_pass2.c
index
0499506
..
54acb30
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_pass2.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_pass2.c
@@
-101,7
+101,7
@@
static void init_registers( struct brw_wm_compile *c )
assert(nr_interp_regs >= 1);
- c->prog_data.first_curbe_grf =
c->key.nr_payload_regs
;
+ c->prog_data.first_curbe_grf =
ALIGN(c->key.nr_payload_regs, 2)
;
c->prog_data.urb_read_length = nr_interp_regs * 2;
c->prog_data.curb_read_length = c->nr_creg * 2;