summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-08-26 12:07:03 -0600
committerBrian Paul <brianp@vmware.com>2009-08-26 12:07:03 -0600
commit34da6024e3097684110cd1fd4da0f25adc415cd6 (patch)
tree9863d90d3fe54335426d342b7d52f3a254654faf /src/mesa/drivers/dri/i965/brw_context.h
parentf8b344114f4475ba267cbba320ab1c1d755d30a6 (diff)
i965: keep track of which texture units the fragment shader accesses
We'll use this for debug/sanity checking.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 847c44ed83..26a64d6528 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -174,6 +174,9 @@ struct brw_fragment_program {
dri_bo *const_buffer; /** Program constant buffer/surface */
GLboolean use_const_buffer;
+
+ /** for debugging, which texture units are referenced */
+ GLbitfield tex_units_used;
};