projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9a6399
)
i965: init the tex_units_used field
author
Brian Paul
<brianp@vmware.com>
Wed, 26 Aug 2009 20:47:50 +0000
(14:47 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 26 Aug 2009 20:47:50 +0000
(14:47 -0600)
src/mesa/drivers/dri/i965/brw_wm_fp.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_fp.c
b/src/mesa/drivers/dri/i965/brw_wm_fp.c
index c5121266f988c5794770796291cb18bce459debf..123fe841c3f6ffc42da0a1a3620967948b2b9546 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_fp.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_fp.c
@@
-1102,6
+1102,7
@@
void brw_wm_pass_fp( struct brw_wm_compile *c )
c->delta_xy = src_undef();
c->pixel_w = src_undef();
c->nr_fp_insns = 0;
+ c->fp->tex_units_used = 0x0;
/* Emit preamble instructions. This is where special instructions such as
* WM_CINTERP, WM_LINTERP, WM_PINTERP and WM_WPOSXY are emitted to