diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-26 12:07:03 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-26 12:07:03 -0600 |
commit | 34da6024e3097684110cd1fd4da0f25adc415cd6 (patch) | |
tree | 9863d90d3fe54335426d342b7d52f3a254654faf /src/mesa/drivers/dri/i965/brw_context.h | |
parent | f8b344114f4475ba267cbba320ab1c1d755d30a6 (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.h | 3 |
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; }; |