projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
trace: If either shader is disabled don't draw
[mesa.git]
/
src
/
gallium
/
drivers
/
trace
/
tr_context.h
diff --git
a/src/gallium/drivers/trace/tr_context.h
b/src/gallium/drivers/trace/tr_context.h
index a7da7b9526936f2eabfad9c5a19222c88921d43b..86827f97b26232bf3b484648e9f7507ddb6cba93 100644
(file)
--- 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;