projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef5935b
)
fix fd.o bug #12217, recalcuate urb when clip plane size change
author
Zou Nan hai
<nanhai.zou@intel.com>
Mon, 24 Sep 2007 08:48:55 +0000
(16:48 +0800)
committer
Zou Nan hai
<nanhai.zou@intel.com>
Mon, 24 Sep 2007 08:48:55 +0000
(16:48 +0800)
src/mesa/drivers/dri/i965/brw_curbe.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_curbe.c
b/src/mesa/drivers/dri/i965/brw_curbe.c
index 3f0aaa1f86dd67268e68fb9d0abb1ff2cc39911a..5bf0ed536ba3a88b1490e6843fec1c5bdf1d5fac 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_curbe.c
+++ b/
src/mesa/drivers/dri/i965/brw_curbe.c
@@
-90,7
+90,7
@@
static void calculate_curbe_offsets( struct brw_context *brw )
*/
if (nr_fp_regs > brw->curbe.wm_size ||
nr_vp_regs > brw->curbe.vs_size ||
- nr_clip_regs
>
brw->curbe.clip_size ||
+ nr_clip_regs
!=
brw->curbe.clip_size ||
(total_regs < brw->curbe.total_size / 4 &&
brw->curbe.total_size > 16)) {