diff options
author | Jakob Bornecrantz <[email protected]> | 2009-05-15 05:59:24 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-05-16 01:50:53 +0100 |
commit | ab95f389a59acd8f70fc6ce00d945511f0a45d8b (patch) | |
tree | a29137bf68d72a87a5ba7654524bf3762fec3767 /src/gallium/drivers/trace/tr_context.h | |
parent | 3b4da4e9dac00f181380a9896ef3329964432c43 (diff) |
trace: If either shader is disabled don't draw
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.h')
-rw-r--r-- | src/gallium/drivers/trace/tr_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_context.h b/src/gallium/drivers/trace/tr_context.h index a7da7b95269..86827f97b26 100644 --- a/src/gallium/drivers/trace/tr_context.h +++ b/src/gallium/drivers/trace/tr_context.h @@ -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; |