summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace/tr_context.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-06-09 15:59:29 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-06-09 16:00:40 +0100
commitb71a254f057269f8eca162a729830dde5981e138 (patch)
treedfb9781e41d9aa1f14bd2c9c983ff0ba46728a97 /src/gallium/drivers/trace/tr_context.h
parentf0c21c02945f8379decfa3b2f294651d6b5af8ef (diff)
trace/rbug: Return textures currently bound to context
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.h')
-rw-r--r--src/gallium/drivers/trace/tr_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_context.h b/src/gallium/drivers/trace/tr_context.h
index 0c2bf27689..ff86b6d105 100644
--- a/src/gallium/drivers/trace/tr_context.h
+++ b/src/gallium/drivers/trace/tr_context.h
@@ -51,6 +51,9 @@ struct trace_context
struct trace_shader *fs;
struct trace_shader *vs;
+ struct trace_texture *tex[PIPE_MAX_SAMPLERS];
+ unsigned num_texs;
+
unsigned nr_cbufs;
struct trace_texture *cbufs[PIPE_MAX_COLOR_BUFS];
struct trace_texture *zsbuf;