aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_wm_emit.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-06 13:09:12 +0000
committerKeith Whitwell <[email protected]>2009-11-06 13:28:04 +0000
commiteacd13bcc809e1e877a48c2942eb6285aa21f6be (patch)
tree3687e14acbd759be5cc42e11f44d8f77fd3e2c9f /src/gallium/drivers/i965/brw_wm_emit.c
parent3e14a482daf5e69331efac69711534a8b66118e4 (diff)
i965g: plumb through fb_write target and eot data
Diffstat (limited to 'src/gallium/drivers/i965/brw_wm_emit.c')
-rw-r--r--src/gallium/drivers/i965/brw_wm_emit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_emit.c b/src/gallium/drivers/i965/brw_wm_emit.c
index 1c38f80cda7..a14e12f35b8 100644
--- a/src/gallium/drivers/i965/brw_wm_emit.c
+++ b/src/gallium/drivers/i965/brw_wm_emit.c
@@ -803,7 +803,7 @@ static void emit_tex( struct brw_wm_compile *c,
/* How many input regs are there?
*/
- switch (inst->tex_target) {
+ switch (inst->target) {
case TGSI_TEXTURE_1D:
emit = BRW_WRITEMASK_X;
nr = 1;
@@ -885,7 +885,7 @@ static void emit_txb( struct brw_wm_compile *c,
GLuint msg_type;
/* Shadow ignored for txb.
*/
- switch (inst->tex_target) {
+ switch (inst->target) {
case TGSI_TEXTURE_1D:
case TGSI_TEXTURE_SHADOW1D:
brw_MOV(p, brw_message_reg(2), arg[0]);