trace: If either shader is disabled don't draw
[mesa.git] / src / gallium / drivers / trace / tr_context.h
index a7da7b9526936f2eabfad9c5a19222c88921d43b..86827f97b26232bf3b484648e9f7507ddb6cba93 100644 (file)
@@ -46,6 +46,12 @@ struct trace_context
 
    struct pipe_context *pipe;
 
+   /* current state */
+   struct {
+      struct trace_shader *fs;
+      struct trace_shader *vs;
+   } curr;
+
    /* for list on screen */
    struct tr_list list;