diff options
author | Keith Whitwell <[email protected]> | 2009-11-06 13:09:12 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-06 13:28:04 +0000 |
commit | eacd13bcc809e1e877a48c2942eb6285aa21f6be (patch) | |
tree | 3687e14acbd759be5cc42e11f44d8f77fd3e2c9f /src/gallium/drivers/i965/brw_wm.h | |
parent | 3e14a482daf5e69331efac69711534a8b66118e4 (diff) |
i965g: plumb through fb_write target and eot data
Diffstat (limited to 'src/gallium/drivers/i965/brw_wm.h')
-rw-r--r-- | src/gallium/drivers/i965/brw_wm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/i965/brw_wm.h b/src/gallium/drivers/i965/brw_wm.h index 7d044ff6ec8..f85a8af878d 100644 --- a/src/gallium/drivers/i965/brw_wm.h +++ b/src/gallium/drivers/i965/brw_wm.h @@ -142,9 +142,10 @@ struct brw_wm_instruction { GLuint saturate:1; GLuint writemask:4; GLuint tex_unit:4; /* texture/sampler unit for texture instructions */ - GLuint tex_target:4; /* TGSI_TEXTURE_x for texture instructions*/ + GLuint target:4; /* TGSI_TEXTURE_x for texture instructions, + * target binding table index for FB_WRITE + */ GLuint eot:1; /* End of thread indicator for FB_WRITE*/ - GLuint target:10; /* target binding table index for FB_WRITE*/ }; @@ -204,10 +205,9 @@ struct brw_fp_instruction { struct brw_fp_dst dst; struct brw_fp_src src[3]; unsigned opcode:8; + unsigned target:8; /* XXX: special usage for FB_WRITE */ unsigned tex_unit:4; - unsigned tex_target:4; - unsigned target:10; /* destination surface for FB_WRITE */ - unsigned eot:1; /* mark last instruction (usually FB_WRITE) */ + unsigned pad:12; }; |