projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e8019b
)
i965: update TexSrcUnit for OPCODE_TXB
author
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 6 Aug 2008 06:15:31 +0000
(14:15 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 6 Aug 2008 06:17:08 +0000
(14:17 +0800)
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 61805ec0809146ff25e39e3ed7d4751c74a69a28..bc933fe7e4d060451d49b01f46f1592e05082cbe 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_fp.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_fp.c
@@
-1030,6
+1030,11
@@
void brw_wm_pass_fp( struct brw_wm_compile *c )
precalc_txp(c, inst);
break;
+ case OPCODE_TXB:
+ out = emit_insn(c, inst);
+ out->TexSrcUnit = fp->program.Base.SamplerUnits[inst->TexSrcUnit];
+ break;
+
case OPCODE_XPD:
out = emit_insn(c, inst);
/* This should probably be done in the parser.