trace/rbug: Return textures currently bound to context
[mesa.git] / src / gallium / drivers / trace / tr_context.h
index 0c2bf276895efc2fa3ccb059ace49aafd09a3ee5..ff86b6d1055fba8ce8bd10e49b2c70135098003f 100644 (file)
@@ -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;